You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Open a detail view of a task from its row in the Tasks tab (#1770)
* feat(panel): open a detail view of a task from its row in the Tasks tab
Add the GetTask endpoint to get the issue body and pull request of a
task. In the Tasks tab, open a detail view when the Owner selects the row
text of a task. Render the back button, the reference and title, the
state badge and blockers, the pull request link, the Open on GitHub link,
the Chat button, and the issue body. Restore the previous scroll position
when the Owner returns to the task list.
* fix(panel): ignore task detail responses for other tasks and match Send button exactly
Include the repository and number of the task in FetchTaskDetail,
TaskDetailLoaded, and TaskDetailFailed so update ignores responses
that do not match the opened task. Use exact match for the composer
Send button in e2e tests so the locator does not match task row buttons
whose title contains Send.
* fix(panel): show attach task error in detail view
Render the row error with a destructive badge in the detail view below
the action buttons when Chat fails to attach the task. Add a Story test
verifying that an attach error appears in the rendered detail view.
* test(panel): check the attach error in the detail view with a Scene test
The Story test passed the inert HTML builder to the view, which tsc
refuses. Use the Scene test of Foldkit, which gives the view its own
builder.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
---------
Co-authored-by: mobius-toolkit[bot] <335179271+mobius-toolkit[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>