Skip to content

feat: open a project where the work happens - #2759

Draft
camielvs wants to merge 2 commits into
09-18-feat_run_a_pipeline_in_a_projectfrom
09-18-feat_open_a_project_in_tangent
Draft

camielvs wants to merge 2 commits into
09-18-feat_run_a_pipeline_in_a_projectfrom
09-18-feat_open_a_project_in_tangent

Conversation

@camielvs

@camielvs camielvs commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Two changes out of review on the projects stack, both about landing in the place you actually work on a project.

1. A project tile opens its Tangent session

Clicking a tile in My Projects opened the project's own page, which lists what the project holds. The place you go to work on a project is its Tangent session, so the tile goes there instead.

The page we built keeps its route and is reached from the tile's three-dots menu as Details.

The Tangent page takes the project from its path param (/tangent/$projectId), which TangentProjectPage already reads — so linking with params is all the context it needs.

2. Creating a project opens it

Creating a project left you on the dashboard to spot the new tile yourself. It now navigates to the new project's Tangent session on success.

The route now 404s instead of redirecting

The Tangent route is gated on tangent-shell, and its beforeLoad used to redirect to the dashboard when the flag was off. Now that both paths above lead to Tangent, that redirect would read as a tile — or a freshly created project — silently dumping you on the dashboard.

It throws notFound() instead, rendering the root route's existing NotFoundPage, so the reason the page didn't open is visible.

Worth a reviewer's eye: this changes flag-off behaviour for any navigation to /tangent/$projectId, not just these two. Every other flag-gated route in router.ts redirects, so this is deliberately the odd one out.

Left alone deliberately

Share still copies the /projects/<id> URL rather than the Tangent one, so a shared link lands on a page that resolves regardless of the recipient's flags.

Testing

pnpm run validate clean; 2978 tests pass, including new coverage for the tile's destination, the Details menu route, and the redirect after create. The notFound() gate itself is not unit-tested — nothing in the repo tests router.ts gating, since importing it pulls in the whole app tree.

Not exercised in a browser: Tangent setup isn't configured locally yet, so the Tangent destination is unverified beyond the route wiring.

🤖 Generated with Claude Code

@camielvs
camielvs requested a review from a team as a code owner September 18, 2026 22:27
@github-actions

github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: 09-18-feat_open_a_project_in_tangent/46de677

camielvs commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@camielvs
camielvs force-pushed the 09-18-feat_open_a_project_in_tangent branch from abacab5 to b4fc1c9 Compare September 18, 2026 22:36
@camielvs
camielvs marked this pull request as draft September 18, 2026 22:42
camielvs and others added 2 commits September 23, 2026 13:53
Clicking a project tile went to the project's own page, which lists what
is in the project. The place you go to work on a project is its Tangent
session, so the tile goes there instead and the page we had keeps its
route, reached from the tile's menu as Details.

A project route with no Tangent behind it now 404s rather than bouncing
to the dashboard, so the reason the page did not open is visible instead
of looking like a stray navigation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Creating a project left you on the dashboard to find the new tile
yourself. You made it in order to work in it, so it opens.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant