Skip to content

feat(theme): choose how long the progress ring stays - #1985

Merged
KnifeLemon merged 5 commits into
KnifeLemon:mainfrom
adnan-bhaldar:ui/progress-ring-time
Dec 2, 2026
Merged

KnifeLemon merged 5 commits into
KnifeLemon:mainfrom
adnan-bhaldar:ui/progress-ring-time

Conversation

@adnan-bhaldar

Copy link
Copy Markdown
Collaborator

Tip

Start the title with a prefix so the PR is labeled automatically: feat: fix: docs: ci: build: i18n:
Example: fix(hwp): keep tables when converting to DOCX

What does this change?

Adds Show the ring for to the Progress ring card in Settings → Theme: four buttons, 5 seconds | 10 seconds | 15 seconds | Always, in the same style as the Light / Dark / System buttons (mode-btn). Until now the ring at the cursor gave way to the bottom-right progress card after a fixed 5 seconds. 5 seconds stays the default, so nothing changes for anyone who doesn't touch it.

With Always the ring stays until the conversion ends and the progress card does not open for that job. A failed conversion, Esc, a click elsewhere or a new drag still hand the job to the progress card.

Fixes #1884

Type of change

  • Bug fix
  • New feature or improvement
  • New format or engine
  • Translation
  • Documentation
  • Build, CI or dependencies

How was it tested?

  • dotnet format --verify-no-changes
  • dotnet test
  • Tried it in the app (what you converted or clicked, and on which OS): Windows 11. Clicked each of the four ring-time buttons in Settings → Theme and restarted to check the choice is kept. Dropped a large PDF with 5 seconds (ring hands over to the card after about 5 s) and with Always (ring stays until it finishes, no card opens), and pressed Esc during Always to confirm the card opens.

Tests added:

  • ProgressRingSettingsTests: default 5 seconds, settings from before it, save and reload of 10 / 15 / Always, unknown values read as 5.
  • RadialControllerTests: 5 / 10 / 15 give that delay, Always gives none (no hand-off timer starts).
  • ProgressRingTimeTests: each button saves its choice and is the only one marked on; an unknown stored value opens as 5 seconds.

Screenshots (UI changes)

image

Checklist

  • New UI strings are in all src/Filee.App/Assets/i18n/*.json files
  • New third-party code or binaries are listed in THIRD-PARTY-NOTICES.md (none added)
  • The PR does one thing (unrelated changes go in a separate PR)

The 22 non-English strings are drafts, so native speakers are welcome to correct them.

Add Settings -> Theme -> Progress ring -> "Show the ring for", four
buttons in the style of the Light / Dark / System buttons: 5 seconds
(default), 10 seconds, 15 seconds and Always.

Always keeps the ring until the conversion ends, so the progress card
does not open for that job. A failed conversion, Esc, a click elsewhere
or a new drag still hand the job to the progress card.

A missing or unknown value reads as 5 seconds, so settings from before
need no schema step.

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the feature New features label Dec 2, 2026
@adnan-bhaldar adnan-bhaldar added the documentation Improvements or additions to documentation label Dec 2, 2026
The progress ring's time buttons use the same mode-btn style as the
System / Light / Dark buttons, so the test counted 7 instead of 3.
Count only the buttons that hold a theme mode.

Co-authored-by: Claude <noreply@anthropic.com>

@KnifeLemon KnifeLemon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adnan-bhaldar, the behaviour is what we discussed in #1884:

  • 5 seconds stays the default.
  • Always skips the hand-off timer.
  • Esc, a click elsewhere, a new drag and a failure still go to the progress card.
  • The setting round-trips, and an unknown value reads as 5.

The control: the buttons are fine. My worry in the issue was a new control style, and these reuse the Theme page's own mode-btn style. Your screenshots also show the ComboBox looking too wide there.

A few small things before merge:

  1. CHANGELOG: please add the issue to the credit, (by @adnan-bhaldar, #1884), and restore the newline at the end of CHANGELOG.md (the diff drops it).
  2. Icons: Icon.RingTime and Icon.RingAlways look like Material Symbols paths (the q/T commands), not Material Design Icons. Icons.axaml and THIRD-PARTY-NOTICES name Material Design Icons as the source. Could you use MDI's clock-outline and infinity instead?
  3. zh-TW: 一律 for "Always" reads a little odd on its own. 始終 (like zh-CN's 始终) may be more natural. A native speaker is welcome to correct this.

@adnan-bhaldar

adnan-bhaldar commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Thanks for the feedback @KnifeLemon!

Regarding the infinity icon, I find the Material Design Icons (MDI) version a little too plain compared to the Material Symbols version.

More generally, I've noticed that MDI icons tend to have sharper edges and less rounded shapes, whereas Material Symbols have a softer, more rounded appearance.

I'd like to propose adding Material Symbols to THIRD-PARTY-NOTICES and opening a follow-up PR to gradually replace the existing MDI icons with Material Symbols for a more consistent visual style.

Would you be open to that approach?

For comparison:

Material Design Icons (MDI) Material Symbols (MS)
image image
MDI – infinity Material Symbols – infinity

I'll also take care of the CHANGELOG attribution, restore its trailing newline, and update the zh-TW translation to 始終.

@adnan-bhaldar

Copy link
Copy Markdown
Collaborator Author

Hello @KnifeLemon can you reply?

@KnifeLemon

Copy link
Copy Markdown
Owner

@adnan-bhaldar Yes, sorry if it got lost: I left a review above ("Changes requested"). In short, the buttons are fine. Three small things are left:

  1. Add #1884 to the CHANGELOG credit, and restore the newline at the end of CHANGELOG.md.
  2. Use MDI's clock-outline and infinity for the two new icons. The current paths look like Material Symbols, which aren't the icon set we credit.
  3. Optionally, use 始終 instead of 一律 in zh-TW.

Push those and I'll merge once CI is green.

@adnan-bhaldar

Copy link
Copy Markdown
Collaborator Author

@adnan-bhaldar Yes, sorry if it got lost: I left a review above ("Changes requested"). In short, the buttons are fine. Three small things are left:

  1. Add #1884 to the CHANGELOG credit, and restore the newline at the end of CHANGELOG.md.
  2. Use MDI's clock-outline and infinity for the two new icons. The current paths look like Material Symbols, which aren't the icon set we credit.
  3. Optionally, use 始終 instead of 一律 in zh-TW.

Push those and I'll merge once CI is green.

Thanks for the feedback @KnifeLemon!

Regarding the infinity icon, I find the Material Design Icons (MDI) version a little too plain compared to the Material Symbols version.

More generally, I've noticed that MDI icons tend to have sharper edges and less rounded shapes, whereas Material Symbols have a softer, more rounded appearance.

I'd like to propose adding Material Symbols to THIRD-PARTY-NOTICES and opening a follow-up PR to gradually replace the existing MDI icons with Material Symbols for a more consistent visual style.

Would you be open to that approach?

For comparison:

Material Design Icons (MDI) Material Symbols (MS)
image image
MDI – infinity Material Symbols – infinity

I'll also take care of the CHANGELOG attribution, restore its trailing newline, and update the zh-TW translation to 始終.

@KnifeLemon

Copy link
Copy Markdown
Owner

@adnan-bhaldar Thanks for the comparison, the rounded shapes do look softer. Two parts to the answer:

  • For this PR: please keep to MDI (clock-outline and infinity). The rest of the app uses MDI, and two icons from another set would stand out next to them.
  • Switching the whole set: that's a bigger visual change, so let's discuss it in its own issue first. Before/after screenshots of a few busy screens would help a lot, such as the donut back face, Settings → General and the preset editor. If we decide to switch, it should happen in one go (plus the THIRD-PARTY-NOTICES entry), not icon by icon.

adnan-bhaldar and others added 3 commits December 2, 2026 23:19
- Update UI icons to the latest Material Design Icons (MDI).
- Replace Icon.RingTime with the MDI clock-outline icon.
- Replace Icon.RingAlways with the MDI all-inclusive icon.
- Apply the other two UI improvements for a more consistent experience.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@KnifeLemon KnifeLemon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adnan-bhaldar, all done: the MDI icons, the CHANGELOG credit with the final newline, and 始終. I pushed one tiny commit that drops a trailing space after 始終. We'll merge once CI is green.

@KnifeLemon
KnifeLemon merged commit 2b38000 into KnifeLemon:main Dec 2, 2026
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation feature New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Opt-in setting for how long the progress ring stays before the progress card takes over

2 participants