Title: [Frontend] Duplicate requests while active workspace is being determined · Issue #385 · stacklok/codegate-ui · GitHub
Open Graph Title: [Frontend] Duplicate requests while active workspace is being determined · Issue #385 · stacklok/codegate-ui
X Title: [Frontend] Duplicate requests while active workspace is being determined · Issue #385 · stacklok/codegate-ui
Description: Describe the issue This is a minor issue, but has been reported as a nuisance by a few internal folks: when you first launch the dashboard, we fetch all workspace-scoped data from the "default" workspace we also fetch the active workspac...
Open Graph Description: Describe the issue This is a minor issue, but has been reported as a nuisance by a few internal folks: when you first launch the dashboard, we fetch all workspace-scoped data from the "default" wor...
X Description: Describe the issue This is a minor issue, but has been reported as a nuisance by a few internal folks: when you first launch the dashboard, we fetch all workspace-scoped data from the "default...
Opengraph URL: https://github.com/stacklok/codegate-ui/issues/385
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Frontend] Duplicate requests while active workspace is being determined","articleBody":"### Describe the issue\n\nThis is a minor issue, but has been reported as a nuisance by a few internal folks:\n- when you first launch the dashboard, we fetch all workspace-scoped data from the \"default\" workspace\n- we also fetch the active workspace name\n- once we have the active workspace name, we then refetch all workspace-scoped data again\n\nAll of the above happens very quickly, and it causes some duplicate requests to be fired. This is not game-breaking, but is not ideal either.\n\n### Steps to Reproduce\n\nOpen the Codegate UI when your active workspace is not set to default.\n\n### Operating System\n\nMacOS (Arm)\n\n### IDE and Version\n\nNot relevant\n\n### Extension and Version\n\nNot relevant\n\n### Provider\n\nOther\n\n### Model\n\nNot relevant\n\n### Codegate version\n\nNot relevant\n\n### Logs\n\n_No response_\n\n### Additional Context\n\n_No response_","author":{"url":"https://github.com/alex-mcgovern","@type":"Person","name":"alex-mcgovern"},"datePublished":"2025-03-10T14:21:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/385/codegate-ui/issues/385"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b56c674e-19d5-0e7e-ba72-91916c6fbabf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBD4:76DD4:48AE3:62DC2:698ED9B3 |
| html-safe-nonce | b2c8a942b847b8fd8bdae8b2805be2336f599ca58f2ca4dad56716b2c7dbb9cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkQ0Ojc2REQ0OjQ4QUUzOjYyREMyOjY5OEVEOUIzIiwidmlzaXRvcl9pZCI6IjM4NjYyNzA2NjA0NDg2NzIxNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c57d88a1c7d39556ced0e185be9e163f7283119669124775c73be1ebe455533e |
| hovercard-subject-tag | issue:2907439386 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stacklok/codegate-ui/385/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96a9c95d879a957ea46f2a535c4ec36af31e2becdc6cb1a963bb630bd248ba73/stacklok/codegate-ui/issues/385 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96a9c95d879a957ea46f2a535c4ec36af31e2becdc6cb1a963bb630bd248ba73/stacklok/codegate-ui/issues/385 |
| og:image:alt | Describe the issue This is a minor issue, but has been reported as a nuisance by a few internal folks: when you first launch the dashboard, we fetch all workspace-scoped data from the "default" wor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alex-mcgovern |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/stacklok/codegate-ui git https://github.com/stacklok/codegate-ui.git |
| octolytics-dimension-user_id | 110237746 |
| octolytics-dimension-user_login | stacklok |
| octolytics-dimension-repository_id | 896009278 |
| octolytics-dimension-repository_nwo | stacklok/codegate-ui |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 896009278 |
| octolytics-dimension-repository_network_root_nwo | stacklok/codegate-ui |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width