Repository navigation
feat(workspaces): an address that names no workspace opens in the one used last - #1692
Conversation
…ount that signed in, and opening an item by the address's query counts as using its workspace
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9e4efd1a77
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… workspace used last, and every page says which workspace its tab is in, not only the rail, which a phone mounts only while its sheet is open
Members of an organisation kept ending up in their own workspace: signing in lands on
/, and a paper's page names no workspace, so the rail on it was the person's own. Walkers published reports in their own workspace that were meant for their organisation. Part of the workspace publishing milestone (OS-37).What changes
The order is now: an address under
/o/<slug>is that organisation's, an item opens where it is, and anything else follows the workspace used last in this browser./results?q=…) or a new report (/publish) opens it in that organisation. So does signing in. A link followed inside the app is never moved, so a tab in your own workspace stays there whatever another tab did./library,/settings/billingand the rest are how the site's own emails and payment pages name a person's own workspace./publish?report=R…opens in the workspace the report belongs to, like a search or a collection.Checks
npx tsc --noEmit,npx vitest run lib/workspaces convex/workspacesand the sharing and gate tests,check:ui-rules,check:user-actions,check:convex-rules/,/publish,/publish?code=Xand/results?q=…open in the organisation once it was used;/library,/settings/billingand/pricingstay the person's own//npm run verify -- shifton/papers/W2741809807and/: no new shifts in Chromium and Firefox, and none on the paper and policy pages loaded after the organisationNot checked here
/publish?report=R…opening in its workspace needs the newhomeOfon the backend, so it is checked on dev after the Convex push.Deploy order
Convex before the app: an app that asks
homeOfabout a report fails against a backend that doesn't know the kind.