Fix the sidebar's link-card hover, doubled key title and people count - #858
Conversation
…#857) Fluent paints a button's hover fill on its presenter at the button's own radius, so the card wrapper paints nothing in any state and the card's border carries the hover cue. The server serves the key as the title for an item with no tracker or generated title. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
PR Summary by QodoFix sidebar card hover, duplicate titles, and people count
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1.
|
A failed assertion otherwise leaves the shown window and its view model alive in the shared headless session for the tests that follow. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Closes #857 — AI-2683
What & why
Three sidebar defects on a key-only work item. The link card's wrapper button left Fluent's hover chrome in place, so hovering painted a square-cornered fill behind the rounded card; the wrapper now paints nothing and the card's border carries the hover cue. The server serves the key as the title for an item with no tracker or generated title, so the card printed the key twice; a title equal to the key is dropped, and an untitled issue or pull-request link shows its key alone under its eyebrow. The "Who's on it" header counted sessions while the section lists people; it now reads people first, then sessions.
Where to look
WhoCountTextreplacesSessionCountText. With nobody listed the requester row stands in and the session count alone is shown, as before.Verification
dotnet run --project test/Capacitor.App.Tests.Unit/Capacitor.App.Tests.Unit.csproj: 1641 passed, 0 failed.WorkContextViewSmokeTestshosts the pane headlessly, hovers the issue card, checks the hover registered, and asserts the presenter paints nothing and the card border carries the cue. Every new assertion was watched failing before its fix.dotnet build src/Capacitor.App/Capacitor.App.csproj --no-incremental: 0 warnings.