VOK-144 Attention deep links bypass the inbox route#156
Merged
Conversation
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.
Request
Prompt context:
<title>Attention deep links bypass the inbox route</title> ## SummaryCommit
8452116aef857a760540878779ba8071af9fec37split notifications into a dedicated/workspace/inboxpage, but attention deep links still send users to/workspace.Concrete repo evidence
Commit:
8452116aef857a760540878779ba8071af9fec37added vertical left nav and fix structure of pages to matchNew inbox route introduced in that commit:
foreman-desktop/src/app/workspace/inbox/page.tsx:7-15/workspaceis tasks only.Attention deep links still route to the tasks page instead of the inbox page:
foreman-desktop/src/features/deep-link/DeepLinkNavigator.tsx:29-30foreman-desktop/src/features/workspace/components/WorkspaceShell.tsx:148-158Those two call sites both push
'/workspace'forattentionpayloads even after the dedicated inbox route exists.Why this is likely a bug
The same changeset introduces a dedicated notifications surface but leaves both attention deep-link paths hardcoded to the tasks route. That means attention links opened from desktop/proxy flows cannot land on the page that now owns the notifications list.
User-visible impact
Minimal safe fix
attentiondeep links to/workspace/inboxinDeepLinkNavigator.payload.kind === 'attention'to/workspace/inboxinWorkspaceShellafter selecting the project/task.taskdeep links on/workspace.Suggested regression coverage
Add desktop tests that distinguish task deep links from attention deep links so the two route targets cannot drift again.
Validation performed
cd foreman-desktop && bun run typecheckcargo test -p foreman-proxy linear_connection_start_can_force_user_link_without_existing_workspace_install -- --nocapturecargo test -p foreman-proxy linear_connection_callback_requires_connection_session_state -- --nocapturecargo test -p foreman-server post_message_steers_active_engineer_turn_without_queueing_conversation -- --nocapturecargo test -p foreman-server steer_active_turn_sends_input_to_registered_engineer_session -- --nocaptureI did not find an existing Linear duplicate for inbox/attention deep-link routing after searching:
Bug"workspace/inbox" attention deep link notifications route"workspace inbox" "deep link" notifications"attention deep link" inbox notifications workspaceLinear issue VOK-144: Attention deep links bypass the inbox route
Issue URL: https://linear.app/vokality/issue/VOK-144/attention-deep-links-bypass-the-inbox-route
Team: Vokality
State: Todo
Labels: Bug
Summary
Commit
8452116aef857a760540878779ba8071af9fec37split notifications into a dedicated/workspace/inboxpage, but attention deep links still send users to/workspace.Concrete repo evidence
Commit:
8452116aef857a760540878779ba8071af9fec37added vertical left nav and fix structure of pages to matchNew inbox route introduced in that commit:
foreman-desktop/src/app/workspace/inbox/page.tsx:7-15/workspaceis tasks only.Attention deep links still route to the tasks page instead of the inbox page:
foreman-desktop/src/features/deep-link/DeepLinkNavigator.tsx:29-30foreman-desktop/src/features/workspace/components/WorkspaceShell.tsx:148-158Those two call sites both push
'/workspace'forattentionpayloads even after the dedicated inbox route exists.Why this is likely a bug
The same changeset introduces a dedicated notifications surface but leaves both attention deep-link paths hardcoded to the tasks route. That means attention links opened from desktop/proxy flows cannot land on the page that now owns the notifications list.
User-visible impact
Minimal safe fix
attentiondeep links to/workspace/inboxinDeepLinkNavigator.payload.kind === 'attention'to/workspace/inboxinWorkspaceShellafter selecting the project/task.taskdeep links on/workspace.Suggested regression coverage
Add desktop tests that distinguish task deep links from attention deep links so the two route targets cannot drift again.
Validation performed
cd foreman-desktop && bun run typecheckcargo test -p foreman-proxy linear_connection_start_can_force_user_link_without_existing_workspace_install -- --nocapturecargo test -p foreman-proxy linear_connection_callback_requires_connection_session_state -- --nocapturecargo test -p foreman-server post_message_steers_active_engineer_turn_without_queueing_conversation -- --nocapturecargo test -p foreman-server steer_active_turn_sends_input_to_registered_engineer_session -- --nocaptureI did not find an existing Linear duplicate for inbox/attention deep-link routing after searching:
"workspace/inbox" attention deep link notifications route"workspace inbox" "deep link" notifications"attention deep link" inbox notifications workspaceSession comment:
This thread is for an agent session with foreman.
Summary
Routed attention deep links to
/workspace/inboxand added startup/workspace regression testsChecks
foreman-server-format: passed (exit status 0)foreman-server-checks: passed (exit status 0)foreman-server-tests: passed (exit status 0)Foreman Metadata
019dcc18-4d4a-7603-9fba-7edb622d6208019dcc1a-0377-7b00-9554-9044d60d87f6019dcc1a-0202-7961-8c18-dc81ad50a2bf1lb/foreman/019dcc18-4d4a-7603-9fba-7edb622d6208