Skip to content

Redesign peers list - #889

Open
pseudoramdom wants to merge 5 commits into
bitcoin-core:qt6from
pseudoramdom:peers-redesign
Open

Redesign peers list#889
pseudoramdom wants to merge 5 commits into
bitcoin-core:qt6from
pseudoramdom:peers-redesign

Conversation

@pseudoramdom

@pseudoramdom pseudoramdom commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

The existing Peers interface was designed around a narrow layout and separate list, detail, and banned-peer pages. This redesign presents peer information more consistently, makes better use of wider windows, and adapts the same interaction model to compact layouts. Additionally, add support to search, filter, sort peers.

Implementation details

  • Introduce SizeClass to centralize compact and regular layout breakpoints. Originally proposed in qml: Introduce adaptive sidebar/tab-bar shell driven by size class #690 but felt worthwhile to port it in to this redesign.
  • Introduce NavigationSplitView a reusable primary-detail container. At regular widths, th list and detail view are displayed side by side with the first peer selected automatically. At compact widths, they are stacked in a navigation view.
  • Peers list and detail adopts the NavigationSplitView

Screenshots

Peers.redesign.mp4

Introduce a SizeClass singleton that centralizes compact and regular
width and height breakpoints. Views can use the shared helpers to adapt
their layouts without duplicating breakpoint logic.
Add a reusable primary-detail container that displays both columns at
regular widths and navigates between them at compact widths. Support
configurable column sizing, separators, and animated transitions.

Test regular sizing, compact navigation, full-height separators, and
transitions between size classes.
Expose transport, session, relay, bandwidth, and address-processing
details required by the redesigned peer views.

Add peer search, filtering, sort direction, result counts, and stable
detail-model lookup to the peer list proxy. Cover the additional roles,
formatting, filters, ordering, and peer lookup behavior with unit tests.
Redesign the peer list with search, filters, sorting, traffic details,
and contextual peer actions.
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