Redesign settings with reusable form design system #872

Manually merged
pseudoramdom merged 14 commits from settings-redesign-v2 into qt6 2026-09-09 21:39:26 +00:00 AGit
pseudoramdom commented 2026-08-19 18:30:17 +00:00 (Migrated from github.com)

Summary

The legacy settings pages evolved through several different layout systems, producing inconsistent widths, typography, spacing, navigation patterns, and information hierarchy. This redesign intends to consolidate them in to one coherent, reusable system.

  • Add shared settings page, heading, form section, row, text-field, link, value, and picker controls
  • Group related destinations under Wallet, General, Network, and Advanced
  • Redesign the wallet, external signer, display, window behavior, storage, connection, proxy, network traffic, mempool, debug log, and about pages
  • Delete the replaced legacy settings pages
  • Update QML and functional tests for the new settings hierarchy
  • Move the RPC console into the settings

Implementation details

  • Introduce generic controls such as FormSection, FormRow, ValueRow, LinkRow, TextFieldRow, and PopupPicker provide consistent layout and interaction behavior.
  • SettingsView owns the fixed sidebar, destination definitions, visibility rules, and selected section.
  • SettingsPageContainer lazily creates a navigation stack for each visited section and preserves nested navigation when switching sections.
  • SettingsPage standardizes page headings, scrolling, horizontal padding, and readable content widths.
  • Simple choices use inline segmented controls or popup pickers instead of dedicated selection pages.
  • Standard form pages use a bounded readable width, while Network Traffic and Debug Log can use the available width with responsive side padding.
  • Network Traffic, Debug Log, and RPC Console activity follows page visibility to avoid unnecessary background work.
  • Wallet availability, desktop-only destinations, and mempool availability continue to control which sidebar items are shown.
  • Existing settings entry points now open the redesigned view, while the superseded legacy pages and top-bar RPC Console entry are removed.
  • Onboarding retains its existing connection and storage flows.

Preview

https://github.com/user-attachments/assets/eebcdd5b-d656-46f1-aa6f-ba06dba75929

## Summary The legacy settings pages evolved through several different layout systems, producing inconsistent widths, typography, spacing, navigation patterns, and information hierarchy. This redesign intends to consolidate them in to one coherent, reusable system. - Add shared settings page, heading, form section, row, text-field, link, value, and picker controls - Group related destinations under Wallet, General, Network, and Advanced - Redesign the wallet, external signer, display, window behavior, storage, connection, proxy, network traffic, mempool, debug log, and about pages - Delete the replaced legacy settings pages - Update QML and functional tests for the new settings hierarchy - Move the RPC console into the settings ## Implementation details - Introduce generic controls such as `FormSection`, `FormRow`, `ValueRow`, `LinkRow`, `TextFieldRow`, and `PopupPicker` provide consistent layout and interaction behavior. - `SettingsView` owns the fixed sidebar, destination definitions, visibility rules, and selected section. - `SettingsPageContainer` lazily creates a navigation stack for each visited section and preserves nested navigation when switching sections. - `SettingsPage` standardizes page headings, scrolling, horizontal padding, and readable content widths. - Simple choices use inline segmented controls or popup pickers instead of dedicated selection pages. - Standard form pages use a bounded readable width, while Network Traffic and Debug Log can use the available width with responsive side padding. - Network Traffic, Debug Log, and RPC Console activity follows page visibility to avoid unnecessary background work. - Wallet availability, desktop-only destinations, and mempool availability continue to control which sidebar items are shown. - Existing settings entry points now open the redesigned view, while the superseded legacy pages and top-bar RPC Console entry are removed. - Onboarding retains its existing connection and storage flows. ## Preview https://github.com/user-attachments/assets/eebcdd5b-d656-46f1-aa6f-ba06dba75929
johnny9 (Migrated from github.com) reviewed 2026-08-21 02:41:06 +00:00
johnny9 (Migrated from github.com) left a comment

GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/LinkRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/LinkRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:54Z GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:54Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:54Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context from

Getting these errors in the new settings pages. I think its related to the Loaders in the FormRow. My suggestion is to remove the Loaders and use a different container and I think it should force constructing the pages in a way where this wont happen. This might be 6.4 specific too (ubuntu 24.04).

GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/controls/LinkRow.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/controls/LinkRow.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:54Z GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:54Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context 2026-08-20T22:43:54Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context from Getting these errors in the new settings pages. I think its related to the Loaders in the FormRow. My suggestion is to remove the Loaders and use a different container and I think it should force constructing the pages in a way where this wont happen. This might be 6.4 specific too (ubuntu 24.04).
pseudoramdom commented 2026-08-25 04:03:41 +00:00 (Migrated from github.com)

CI is happy now

CI is happy now
johnny9 (Migrated from github.com) requested changes 2026-09-09 16:21:35 +00:00
johnny9 (Migrated from github.com) left a comment

Pop wallet subpages whenever the selected wallet changes or becomes unavailable.

Pop wallet subpages whenever the selected wallet changes or becomes unavailable.
johnny9 (Migrated from github.com) commented 2026-09-09 16:21:35 +00:00

Open “Set password” for an unencrypted wallet, switch to Display, select an encrypted wallet, then return to Wallet. The cached password page retains updating: false while its wallet binding changes, so it attempts encryption instead of a password change. Unloading the wallet while another section is selected also leaves the subpage open. Reset the cached wallet stack independently of the selected section, and add regression coverage for switching and unloading wallets while that stack is hidden.

Open “Set password” for an unencrypted wallet, switch to Display, select an encrypted wallet, then return to Wallet. The cached password page retains `updating: false` while its wallet binding changes, so it attempts encryption instead of a password change. Unloading the wallet while another section is selected also leaves the subpage open. Reset the cached wallet stack independently of the selected section, and add regression coverage for switching and unloading wallets while that stack is hidden.
pseudoramdom (Migrated from github.com) reviewed 2026-09-09 19:55:22 +00:00
pseudoramdom (Migrated from github.com) commented 2026-09-09 19:55:22 +00:00

Good catch. Should be fixed now.

Good catch. Should be fixed now.
johnny9 (Migrated from github.com) approved these changes 2026-09-09 21:15:10 +00:00
johnny9 (Migrated from github.com) left a comment

ACK bd137af855

The reported regression is fixed: switching or unloading wallets pops cached wallet subpages without changing the selected settings section. Both added regression tests and the original reproduction checks pass.

ACK bd137af8555022c6ffdda49c49e50103e00f817e The reported regression is fixed: switching or unloading wallets pops cached wallet subpages without changing the selected settings section. Both added regression tests and the original reproduction checks pass.
Sign in to join this conversation.
No description provided.