You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(Coder plugin): update workspace queries to use updated API endpoint definitions (#126)
* wip: commit progress on UrlSync class/hook
* refactor: consolidate emoji-testing logic
* docs: update comments for clarity
* refactor: rename helpers to renderHelpers
* wip: finish initial implementation of UrlSync
* chore: finish tests for UrlSync class
* chore: add mock DiscoveryApi helper
* chore: finish tests for useUrlSync
* refactor: consolidate mock URL logic for useUrlSync
* fix: update test helper to use API list
* fix: remove unneeded imports
* fix: get tests for all current code passing
* fix: remove typo
* fix: update useUrlSync to expose underlying api
* refactor: increase data hiding for hook
* fix: make useUrlSync tests less dependent on implementation details
* refactor: remove reliance on baseUrl argument for fetch calls
* refactor: split Backstage error type into separate file
* refactor: clean up imports for api file
* refactor: split main query options into separate file
* consolidate how mock endpoints are defined
* fix: remove base URL from auth calls
* refactor: consolidate almost all auth logic into CoderAuthProvider
* move api file into api directory
* fix: revert prop that was changed for debugging
* fix: revert prop definition
* refactor: extract token-checking logic into middleware for server
* refactor: move shared auth key to queryOptions file
* docs: add reminder about arrow functions
* wip: add initial versions of CoderClient code
* wip: delete entire api.ts file
* fix: remove temp api escape hatch for useUrlSync
* chore: update syncToken logic to use temporary interceptors
* refactor: update variable name for clarity
* fix: prevent double-cancellation of timeout signals
* fix: cleanup timeout logic
* refactor: split pseudo-SDK into separate file
* fix: resolve issue with conflicting interceptors
* chore: improve cleanup logic
* fix: update majority of breaking tests
* fix: resolve all breaking tests
* fix: beef up CoderClient validation logic
* chore: commit first passing test for CoderClient
* fix: update error-detection logic in test
* wip: add all test stubs for CoderClient
* chore: add test cases for syncToken's main return type
* chore: add more test cases
* fix: remove Object.freeze logic
* refactor: consolidate mock API endpoints in one spot
* wip: commit current test progress
* refactor: rename mock API endpoint variable for clarity
* chore: finish test for aborting queued requests
* chore: finish initial versions of all CoderClient tests
* fix: delete helper that was never used
* fix: update getWorkspacesByRepo function signature to be more consistent with base function
* docs: add comment reminder about arrow functions for CoderClient
* docs: add comment explaining use of interceptor logic
* fix: update return type of getWorkspacesByRepo function
* fix: finish initial implementation of new API logic
* wip: commit progress for updating test setup
* fix: update test for CoderClient
* fix: update more tests
* fix: get all tests passing
* chore: remove all build parameter logic
* fix: add check for missing key/value for workspaces query
0 commit comments