Skip to content

feat(app): show connection details on hover and remember the Connections sort - #578

Merged
linroid merged 2 commits into
mainfrom
feat/connections-hover-details
Oct 17, 2026
Merged

linroid merged 2 commits into
mainfrom
feat/connections-hover-details

Conversation

@linroid

@linroid linroid commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Summary

On the Connections page, clicking anywhere on a row used to open its task. Now:

  • Only the task cell opens the task. On hover or keyboard focus it reads as a link (accent, underlined, hand cursor) with a "Show task" tooltip.
  • The rest of the row shows a hover card with everything known about the connection: endpoint and flag, protocol, encryption and route, task, device (under All devices), peer client, peer state (wire, choking, interested, upload slot), speed and bytes each way, and how long it has been open. It opens at the pointer, under the row, follows the live samples, and makes way for the task link's tooltip. On touch, a long press shows it. The per-cell tooltips it replaces (traffic arrow, shield, peer state) are gone; their content descriptions stay.
  • List rows (narrow windows, phones), which have no hover, open their details inline when tapped, with a Show task button.
  • The table sort is remembered in [ui] sort (connections = "down:desc"), so it survives restarts.

KetchHoverCard is a new component next to KetchTooltip, sharing its hover and long-press handling.

Snapshots

Before After
Hovering a row
Hovering the task
Clicking the endpoint

Clicking the task still opens it in Downloads (after).

Details card:

Testing

  • ./gradlew :app:shared:jvmTest --tests '*Connection*' --tests '*DesignTokenUsageTest*' --tests '*HardcodedTextTest*' --tests '*LocalizationResourcesTest*'
  • New ConnectionRowsTest.arrangement_roundTrips_andFallsBackToTheDefault
  • New snapshot scenarios page_hoverClickAndSort_onlyTheTaskShowsTheTask (drives hover and clicks on the real page and checks the saved sort) and detailsCard_peerAndHttp_listEveryDetail
  • Not tried by hand in a running desktop app

…ons sort

Only the task cell of a Connections table row shows the task now; the rest of the row opens
a hover card (KetchHoverCard) with every detail of the connection. List rows open their details
when tapped, with a Show task button. The table's sort is kept in [ui] sort.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T15:43:41.494118Z 2a95fd0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@claude

claude Bot commented Oct 17, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a95fd054f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…on and open it from the keyboard

The card names the device under All devices even where the Device column no longer fits, a
list row's expansion uses the motion tokens, and the card opens while the row's task link has
keyboard focus.
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

 2 048 files  ±0   2 076 suites  ±0   31m 52s ⏱️ -21s
13 710 tests +4  13 446 ✅ +3  264 💤 +2  0 ❌  - 1 
16 697 runs  +4  16 433 ✅ +3  264 💤 +2  0 ❌  - 1 

Results for commit 548d55f. ± Comparison against base commit 1ad0e33.

@linroid
linroid merged commit 436c10f into main Oct 17, 2026
14 checks passed
@linroid
linroid deleted the feat/connections-hover-details branch October 17, 2026 16:01
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