Repository navigation
Commit 429be9b
Apply bkudiess tray UX PR stack (#780)
* feat(tray): consistent back-links across cross-page navigations
Extended the existing 'Back to Connection' affordance (Sessions/Instances/
Permissions) to every cross-page link in the Hub so users always have a
one-click return path.
- Added Helpers/NavOriginLabels for nav-tag -> display-label mapping so
destination pages can render 'Back to {origin}' dynamically.
- Threaded originTag through 9 cross-page Navigate calls: About->Debug,
Channels->Config (x2), Permissions->Voice, and Bindings/Cron/Usage/
Debug/Instances->Connection.
- Added the inline back HyperlinkButton + Initialize-time wiring to
ConfigPage, VoiceSettingsPage, DebugPage, and ConnectionPage matching
the existing Sessions/Instances/Permissions pattern.
- Updated AsyncListLoadingPageWiringTests to accept the originTag-bearing
Navigate('connection', ...) signature.
Co-authored-by: Copilot <[email protected]>
* chore(tray): use catalog back icon
Co-authored-by: Copilot <[email protected]>
* fix(tray): resolve property resource labels
Co-authored-by: Copilot <[email protected]>
* refactor(tray): use native Frame back navigation instead of custom back links
Replace the custom cross-page back affordances with a single native
title-bar back button driven by the NavigationView ContentFrame's back
stack.
- Add a native back button in the Hub title bar wired to ContentFrame.GoBack(),
enabled/disabled by CanGoBack (mirrors NavigationView's root behavior),
plus an Alt+Left accelerator. The rail re-syncs its selection on
Back/Forward.
- Remove all custom origin-tracking infrastructure: NavOriginLabels helper,
the 2-arg IAppCommands.Navigate/NavigateTo overloads, LastNavigationOrigin
and pending-origin state on HubWindow, and the LocalizationHelper origin
additions.
- Remove the per-page "Back to {origin}" links (Config/Connection/Debug/Voice)
and the "Back to Connection" links (Sessions/Instances/Permissions), along
with their code-behind handlers and visibility logic.
- Revert all 2-arg navigation call sites back to single-arg Navigate across
11 pages.
- Clean up obsolete resw keys and add NavBackButton strings across all five
locales (en, fr, nl, zh-cn, zh-tw).
In-page form/detail close buttons (ConnectionPage "Add a gateway",
DebugPage log detail) are intentionally kept — they are view-state toggles
within a page, not Frame navigations.
Addresses PR #521 review feedback to rely on native back navigation.
Co-authored-by: Copilot <[email protected]>
* Add OpenClaw Onboard settings card
Add a dedicated "OpenClaw Onboard" card to the Local Gateway section of
Companion Settings. Its "Open onboarding" button opens the hosted setup
window and navigates straight to the gateway onboarding step, skipping
WSL installation.
- New ShowGatewayWizard app command hosts SetupWindow and calls
NavigateToWizard() after initial content is ready.
- Local Gateway setup card keeps its single "Open setup" button.
- Localized header, description, and button across all 5 locales.
- Extend AppRefactorContractTests to cover the direct onboarding entrypoint.
Co-authored-by: Copilot <[email protected]>
* Address review: guard active setup and fix onboarding header localization
- Guard direct onboarding so it cannot interrupt an in-progress setup.
ShowGatewayWizardAsync now goes through EnsureSetupWindowAsync, which
reports whether a setup window was newly created. It only calls
NavigateToWizard() for a freshly created window; an already-open setup
window (which may be mid-install on ProgressPage, whose Unloaded handler
cancels the running pipeline) is just brought to the front instead.
- Register SettingsPage_OnboardWizard_Header.Text as an invariant resource
key. "OpenClaw Onboard" is a product/feature name kept identical across
locales (the card's description and button are translated), fixing the
LocalizationValidationTests all-or-none failure.
- Extend AppRefactorContractTests to assert the active-setup guard
(EnsureSetupWindowAsync + the createdNew check) stays in place.
Co-authored-by: Copilot <[email protected]>
* Add Run gateway doctor action to Diagnostics page
Add a "Run gateway doctor" action to the Diagnostics page (DebugPage). The
card opens a terminal in the app-managed WSL gateway, runs `openclaw doctor`,
and leaves an interactive shell open so the operator can read the report.
- Shown only when the active gateway is an app-managed WSL distro
(GatewayHostAccessPlan.CanControlWslGateway); hidden for SSH/remote/none.
- Reuses the same launcher path as the Connection page's Open terminal
(GatewayTerminalLauncher / GatewayHostAccessClassifier), opening a themed
Windows Terminal tab with a direct wsl.exe fallback.
- Keep-open uses `&& openclaw doctor || true && exec bash` (no `;`):
Windows Terminal splits its command line on `;` even inside quotes, which
caused 0x80070002. `|| true` absorbs doctor's frequent advisory non-zero
exit so the shell always stays open.
- Start() now uses UseShellExecute = !UsesWindowsTerminal so direct wsl/ssh
launches get a visible console window.
- Adds a Doctor glyph to FluentIconCatalog and resw keys across all 5 locales.
Co-authored-by: Copilot <[email protected]>
* Fix diagnostics page contract merge
Co-authored-by: Copilot <[email protected]>
* Address onboarding and navigation review findings
Co-authored-by: Copilot <[email protected]>
* Hide onboard card after gateway removal
Co-authored-by: Copilot <[email protected]>
* Translate gateway doctor diagnostics strings
Co-authored-by: Copilot <[email protected]>
* Allow invariant gateway section label
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: ranjeshj <ranjeshj@DESKTOP-D683G7P>1 parent c791416 commit 429be9b
32 files changed
Lines changed: 840 additions & 218 deletions
File tree
- src
- OpenClaw.SetupEngine.UI
- OpenClaw.Tray.WinUI
- Helpers
- Pages
- Services
- Strings
- en-us
- fr-fr
- nl-nl
- zh-cn
- zh-tw
- Windows
- tests/OpenClaw.Tray.Tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
96 | 110 | | |
97 | 111 | | |
98 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2678 | 2678 | | |
2679 | 2679 | | |
2680 | 2680 | | |
2681 | | - | |
| 2681 | + | |
2682 | 2682 | | |
2683 | 2683 | | |
2684 | 2684 | | |
| |||
2729 | 2729 | | |
2730 | 2730 | | |
2731 | 2731 | | |
2732 | | - | |
| 2732 | + | |
2733 | 2733 | | |
2734 | 2734 | | |
2735 | 2735 | | |
| |||
3017 | 3017 | | |
3018 | 3018 | | |
3019 | 3019 | | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
3020 | 3025 | | |
3021 | 3026 | | |
3022 | | - | |
| 3027 | + | |
3023 | 3028 | | |
3024 | 3029 | | |
3025 | 3030 | | |
3026 | 3031 | | |
3027 | 3032 | | |
3028 | 3033 | | |
3029 | 3034 | | |
3030 | | - | |
| 3035 | + | |
3031 | 3036 | | |
3032 | 3037 | | |
3033 | 3038 | | |
| |||
3047 | 3052 | | |
3048 | 3053 | | |
3049 | 3054 | | |
| 3055 | + | |
3050 | 3056 | | |
3051 | 3057 | | |
3052 | 3058 | | |
3053 | 3059 | | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
3054 | 3086 | | |
3055 | 3087 | | |
3056 | 3088 | | |
| |||
3242 | 3274 | | |
3243 | 3275 | | |
3244 | 3276 | | |
3245 | | - | |
3246 | 3277 | | |
3247 | 3278 | | |
3248 | 3279 | | |
| |||
3253 | 3284 | | |
3254 | 3285 | | |
3255 | 3286 | | |
| 3287 | + | |
3256 | 3288 | | |
3257 | 3289 | | |
3258 | 3290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1848 | 1848 | | |
1849 | 1849 | | |
1850 | 1850 | | |
1851 | | - | |
1852 | | - | |
| 1851 | + | |
| 1852 | + | |
1853 | 1853 | | |
1854 | 1854 | | |
1855 | 1855 | | |
1856 | | - | |
| 1856 | + | |
1857 | 1857 | | |
1858 | 1858 | | |
1859 | 1859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
88 | 114 | | |
89 | 115 | | |
90 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
107 | 113 | | |
108 | 114 | | |
109 | 115 | | |
| 116 | + | |
110 | 117 | | |
111 | 118 | | |
112 | 119 | | |
| |||
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
125 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
126 | 138 | | |
127 | 139 | | |
128 | 140 | | |
| |||
179 | 191 | | |
180 | 192 | | |
181 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
182 | 228 | | |
183 | 229 | | |
184 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 9 | | |
24 | 10 | | |
25 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 44 | | |
53 | 45 | | |
54 | 46 | | |
| |||
71 | 63 | | |
72 | 64 | | |
73 | 65 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 66 | | |
78 | 67 | | |
79 | 68 | | |
| |||
0 commit comments