Fix Portal Drive connect gate, web OAuth callback, and workspace chrome - #41
Merged
Merged
Conversation
- Gate TaskWorkspace on GET /api/v1/me/drive/status (account-level), not workspace.drive_connected - Show Connect-only UI when disconnected; Enable/Link and file actions only when connected - Start OAuth with platform web, same-window navigate, restore portal path after callback - Handle ?drive=connected|error in router afterEach: toast, refresh event, clean query - Polish file row contrast (secondary input chrome) and compact Enable/Link/Destroy sizing Co-authored-by: Sander Vonk <sandervonk@users.noreply.github.com>
Co-authored-by: Sander Vonk <sandervonk@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/drive-connect-gate-oauth-ecba
branch
from
September 8, 2026 23:06
d6f5abf to
0e2c1b7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns Vue Portal Task Workspace Drive UX with Brief's connect gate and fixes the web OAuth return path for cmutt.app.
Drive connect gate
GET /api/v1/me/drive/statusdrivesdriveConnected(account-level), notworkspace.drive_connectedWeb OAuth callback
POST /api/v1/me/drive/oauth/startwith{ platform: "web" }sessionStorage/?drive=connected|error&drive_error=…: toast,drive-status-changedevent, strip query, restore saved pathWorkspace chrome polish
--color-overlay-secondary-input/--color-overlay-secondary-action)workspace_compact_btnsizing (30px height, proper line-height) — Destroy no longer reads as a large CTAServer notes
No server changes required; web redirect to
https://{app.domain}/?drive=…is assumed correct on mvtt-server.Testing
npm run test:drive-status— parse helper coveragecp .env.test .env && npm run lint && npm run build