Skip to content

feat(ui): show an animated save indicator - #380

Merged
ReenigneArcher merged 3 commits into
masterfrom
codex/save-indicator
Nov 24, 2026
Merged

ReenigneArcher merged 3 commits into
masterfrom
codex/save-indicator

Conversation

@ReenigneArcher

Copy link
Copy Markdown
Member

Description

The client now shows the animated Moonlight logo during file saves, including quick settings saves and in-stream screenshot saves. The transparent logo stays visible for at least 500 ms. Routine log writes and log resets leave it hidden.

The shared menu footer centers the unboxed button hints and save logo between the divider and the bottom of the screen. The save logo has a reserved spot on the right, and the controller glyphs use the same sizing as the streaming overlay and on-screen keyboard.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Testing

  • Added regression coverage for save activity and timing, log exclusion, video overlay composition, and centered footer layout at supported resolutions.
  • Built the Xbox ISO with MSYS2 MinGW64. All 544 native tests passed with ctest --test-dir cmake-build-release --output-on-failure. The strict documentation build passed.
  • In xemu at 720p and 480-line composite, the visible gaps above and below the button hints and save logo matched within one pixel. The animation appeared on save and cleared after about half a second. Physical Xbox testing is outstanding.

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Tests have been added or updated for new or modified functionality, including regression tests for bug fixes

AI Usage

See our AI usage policy.

  • AI tools were used while preparing this PR

Codex helped implement and test the changes and prepare this description.

@codecov

codecov Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.59155% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 75.11%. Comparing base (87fa788) to head (c41963c).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/app/file_save_activity.cpp 92.85% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #380      +/-   ##
==========================================
+ Coverage   74.94%   75.11%   +0.17%     
==========================================
  Files          76       79       +3     
  Lines        8440     8495      +55     
  Branches     3598     3620      +22     
==========================================
+ Hits         6325     6381      +56     
- Misses        907     1098     +191     
+ Partials     1208     1016     -192     
Flag Coverage Δ
Linux 74.41% <98.57%> (+0.18%) ⬆️
macOS 64.02% <95.77%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/app/screenshot_library.cpp 85.71% <100.00%> (+0.14%) ⬆️
src/app/settings_storage.cpp 77.80% <100.00%> (+0.06%) ⬆️
src/logging/log_file.cpp 54.54% <ø> (ø)
src/splash/splash_animation.cpp 100.00% <100.00%> (ø)
src/splash/splash_animation.h 100.00% <ø> (ø)
src/startup/client_identity_storage.cpp 59.77% <100.00%> (+0.46%) ⬆️
src/startup/cover_art_cache.cpp 69.44% <100.00%> (+0.43%) ⬆️
src/startup/host_storage.cpp 58.13% <100.00%> (+0.99%) ⬆️
src/streaming/pvideo_presenter.cpp 82.03% <100.00%> (+0.08%) ⬆️
src/streaming/pvideo_presenter.h 100.00% <ø> (ø)
... and 6 more

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87fa788...c41963c. Read the comment docs.

Comment thread src/ui/shell_screen.cpp Fixed
@sonarqubecloud

Copy link
Copy Markdown

@ReenigneArcher
ReenigneArcher merged commit af34ad6 into master Nov 24, 2026
17 checks passed
@ReenigneArcher
ReenigneArcher deleted the codex/save-indicator branch November 24, 2026 02:08
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.

2 participants