feat(jira): Browse Jira — manual project-first discovery surface (Slice 5)#79
Merged
Conversation
…ce 5) The last slice of the Jira build: a "Browse Jira" entry point next to "+ New task" opens a full-page surface where you pick a Jira project first (searchable dropdown of the real project list, remembers your last pick), search/pick a Story within it, and "Create session" hands off to the New-task modal pre-filled with the issue — creating a worker bound to its key. Manual + read-only by design; nothing auto-imports onto the board. Reuses the Slice-4 REST endpoints (GET /jira/search, GET /jira/projects) — no new backend. Frontend only. - useJiraProjects hook + mockJiraProjects; generalize useJiraSearch to fire when a project is scoped (lists a project's issues with no text typed), leaving the New-task/link pickers (project="") on the 2-char gate. - JiraProjectPicker: searchable dropdown, "Last used" chip, remembers the pick via localStorage (ao.jira.lastProject). - BrowseJiraPage + un-nested route _shell.projects.$projectId_/jira; client-side type filter chips; issue rows with Create session. - NewTaskDialog gains an optional initialIssue (Browse handoff, mockup 03). - ShellTopbar "Browse Jira" button (active on the surface). Fixtures fully synthetic (DEMO-/ACME-, example.atlassian.net). Match mockup 02. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Slice 5 — Browse Jira (the last slice of the approved Jira build)
An entry point ◈ Browse Jira sits next to + New task. It opens a full-page surface (mockup 02) where you:
GET /jira/projects), with a "Last used" chip; the pick is remembered across visits (localStorageao.jira.lastProject).GET /jira/search, project-scoped; lists recent issues with no text typed, narrows as you type). Client-side type filter chips (All / Story / Bug / Sub-task / Support).jira:<KEY>.Manual + read-only by design — nothing auto-imports onto the board; the one write is the create.
Reuse, not rebuild
Reuses the Slice-4 REST endpoints (
GET /jira/search,GET /jira/projects) — no new backend, frontend only.api-driftis untouched.Changes
useJiraProjectshook +mockJiraProjects; generalizeduseJiraSearchto fire when a project is scoped (empty text lists a project's issues) — the New-task/link pickers passproject=""so their 2-char gate is unchanged.JiraProjectPicker— searchable dropdown, Last-used chip, remembers the pick.BrowseJiraPage+ un-nested route_shell.projects.$projectId_.jira(same trailing-_pattern as project settings; regeneratedrouteTree.gen.ts).NewTaskDialoggains an optionalinitialIssue(the Browse handoff).ShellTopbar"Browse Jira" button (active state on the surface).Deliberate scope trims (would need new backend / current-user)
Verification
Live behavior (project list, in-project search, create-from-Jira) needs a Jira API token and is covered by the attached smoke checklist.
🤖 Generated with Claude Code