widget for iphone wastes lots of space #57

Closed
opened 2026-08-03 20:10:55 +00:00 by hugo · 1 comment
Owner

there is a lot empty space at the top and bottom of the widget, so a more compact size would do, too - there is no point in empty space of a widget.

there is a lot empty space at the top and bottom of the widget, so a more compact size would do, too - there is no point in empty space of a widget.
hugo added this to the first feature complete release milestone 2026-08-03 20:10:55 +00:00
hugo added the bug label 2026-08-03 20:10:55 +00:00
Author
Owner

Implemented in 9d7ce83.

The iPhone widgets now adapt their content to the selected WidgetKit family instead of leaving the large family under-filled:

  • Recent Activity supports medium and large sizes, showing up to 3 and 10 rows respectively.
  • Open Pull Requests supports medium and large sizes, showing up to 2 and 5 rows respectively.
  • Gallery snapshots and live timelines use the same family-specific limits, so previews accurately represent the installed widget.
  • TESTING.md now covers both sizes, their row counts, gallery previews, live timelines, accessibility text sizing, and error/empty states.

Verification:

  • cargo fmt --all -- --check
  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace (44 tests; rerun outside the workspace sandbox because the compatible-contents test binds a local mock server)
  • Debug arm64 iPhone 17 Pro Simulator build, install, and launch
  • Widget gallery previews checked for medium/large Recent Activity and Open Pull Requests
  • Live Home Screen checked with 3-row medium and 10-row large Recent Activity widgets; all rows fit without clipping and the large widget no longer has the reported unused area
  • Signed Debug device build installed and launched successfully on the paired iPhone 17
Implemented in `9d7ce83`. The iPhone widgets now adapt their content to the selected WidgetKit family instead of leaving the large family under-filled: - Recent Activity supports medium and large sizes, showing up to 3 and 10 rows respectively. - Open Pull Requests supports medium and large sizes, showing up to 2 and 5 rows respectively. - Gallery snapshots and live timelines use the same family-specific limits, so previews accurately represent the installed widget. - `TESTING.md` now covers both sizes, their row counts, gallery previews, live timelines, accessibility text sizing, and error/empty states. Verification: - `cargo fmt --all -- --check` - `RUSTFLAGS="-D warnings" cargo check --workspace --all-targets` - `cargo clippy --workspace --all-targets -- -D warnings` - `cargo test --workspace` (44 tests; rerun outside the workspace sandbox because the compatible-contents test binds a local mock server) - Debug arm64 iPhone 17 Pro Simulator build, install, and launch - Widget gallery previews checked for medium/large Recent Activity and Open Pull Requests - Live Home Screen checked with 3-row medium and 10-row large Recent Activity widgets; all rows fit without clipping and the large widget no longer has the reported unused area - Signed Debug device build installed and launched successfully on the paired iPhone 17
hugo closed this issue 2026-08-03 20:45:08 +00:00
Sign in to join this conversation.