Skip to content

Display loading and save progress bars - #2973

Merged
ert78gb merged 5 commits into
masterfrom
feat/loading-save-progress-bars
Jul 8, 2026
Merged

Display loading and save progress bars#2973
ert78gb merged 5 commits into
masterfrom
feat/loading-save-progress-bars

Conversation

@mondalaci

Copy link
Copy Markdown
Member

Summary

  • Add a grayscale progress bar below the spinning agent icon on the startup loading screen, driven by real config read progress over IPC.
  • Add a left-to-right progress fill on the Save to keyboard button during saves, with monotonic progress that stays full through the Saved! state.
  • Report byte-based transfer progress from the main process and rebalance phase allocation so the bars track actual work instead of jumping at the end.

Closes #2355

Test plan

  • Start Agent with a connected keyboard and confirm the loading screen bar advances smoothly to 100% before the app opens.
  • Change a setting and click Save to keyboard; confirm the button fill tracks the save and stays full until Saved! disappears.
  • Verify progress in both light and dark themes.

Made with Cursor

Report byte-accurate progress over IPC during keyboard config transfer, show a grayscale bar on the startup loading screen, and fill the Save to keyboard button while saving.

Closes #2355

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread packages/uhk-agent/src/services/device.service.ts Outdated
Comment thread packages/uhk-web/src/app/components/uhk-message/uhk-message.component.html Outdated
Use native progress element with WebKit styling fixes, restore smooth fill animation, and remove redundant loadConfigurationsInProgress guard.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread packages/uhk-agent/src/services/device.service.ts Outdated
Comment thread packages/uhk-agent/src/services/device.service.ts Outdated
Comment thread packages/uhk-usb/src/uhk-operations.ts Outdated
Comment thread packages/uhk-usb/src/uhk-operations.ts Outdated
Comment thread packages/uhk-web/src/app/components/uhk-message/uhk-message.component.scss Outdated
Comment thread packages/uhk-web/src/app/pages/loading-page/loading-device.page.ts Outdated
Comment thread packages/uhk-web/src/app/store/reducers/app.reducer.ts Outdated
Comment thread packages/uhk-web/src/app/store/reducers/app.reducer.ts Outdated
Comment thread packages/uhk-web/src/app/store/reducers/device.ts Outdated
mondalaci and others added 3 commits July 7, 2026 21:04
Set progress default values in ngrx state instead of using nullish coalescing, simplify progress reducers, encapsulate progress tracking variables inside their reporting closures, report fragment-based transfer percent, and drop the redundant progress-bar logo styling.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ert78gb
ert78gb merged commit 4ce09f5 into master Jul 8, 2026
6 checks passed
@ert78gb
ert78gb deleted the feat/loading-save-progress-bars branch July 8, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display loading bar

2 participants