Skip to content

Fix: widget text sizes, legend tap areas and Weather update time - #467

Merged
SandObserver merged 3 commits into
mainfrom
fix/hig-widget-text-and-targets
Oct 17, 2026
Merged

SandObserver merged 3 commits into
mainfrom
fix/hig-widget-text-and-targets

Conversation

@SandObserver

@SandObserver SandObserver commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Backup: drop word-break: break-word from job names. fitName steps a long word down from the layout size to 11px, then cuts it with an ellipsis and dir="auto", so a Latin name keeps its start in right-to-left layout.
  • Backup: run error lines through fitName, so an error never inherits a previous name's cut or font size.
  • Analog clock: floor the date at 11px rendered size (DATE_MIN_PX) and raise DATE_MAX_WIDTH from 0.46 to 0.48 so the weekday stays on one line in French and Chinese. The shrink step stays as a last resort.
  • Analog clock: add a withYear option to clockDateParts and leave the Persian year off the dial. The digital clock and the accessible label keep it.
  • Connections map: give legend buttons a ::before hit area that reaches the card edges and meets the neighbouring row. The layout does not change.
  • Weather: append the update time (sinceLabel) to the title, aria-label and screen-reader text, refreshed every minute. Add ui.updated to all six locales.

Testing
All green, including the Docker build and e2e. Added tests for Backup name and error fitting, the clock date floor and Persian dial date, the map legend tap areas, and the Weather ui.updated strings.

Changelog

Fixed

  • Backup job names and error lines no longer break inside a word.
  • The analog clock date is no longer drawn below 11px.
  • Connections map legend entries have larger tap areas.

Changed

  • Weather hover and screen-reader text include when the data was last updated.
  • The Persian analog clock no longer shows the year on the dial.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

- Backup: keep the desktop layout in 170px frames, shrink a long word to fit
  before cutting it, and never break a name inside a word.
- Analog clock: draw the date at 11px or more and allow a wider date line.
- Connections map: enlarge the legend tap areas without moving the legend.
- Weather: add the update time to the hover and screen-reader text.
@SandObserver SandObserver added the ui/ux UI, UX, and accessibility only fix label Oct 16, 2026
…ian dial

- Backup: restore the frame-height layout switch, so card sizes match main.
- Backup: fit error lines like job names, and give a cut name its own
  direction so a Latin name keeps its start in right-to-left layout.
- Analog clock: leave the Persian year off the dial, so the date stays at
  11px. The digital clock and the spoken date keep the year.
- Test the map legend tap areas against the legend position and gap.
@SandObserver
SandObserver merged commit a9694ac into main Oct 17, 2026
6 checks passed
@SandObserver
SandObserver deleted the fix/hig-widget-text-and-targets branch October 17, 2026 01:07
stackyard-release Bot pushed a commit that referenced this pull request Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui/ux UI, UX, and accessibility only fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants