feat(widget): redesign the task widget in M3 Expressive style, add 'At a glance'
Tonal containers per section (grouped by list, or by due bucket when not), an expressive tonal add button that seeds the widget's own list, and per-widget background (solid/tinted/transparent) and theme (follow app/light/dark) controls in the existing config screen. Adds a small 'At a glance' widget: a quick-add button when too small to show anything else, otherwise today's count, overdue count and the next task with a check. The shared Glance plumbing (theme, rounded surface, header, grouped row, rollover alarm, update receiver) moves into floret-kit's new glance module, bumped in via the submodule.
This commit is contained in:
1 parent
7a82f7c3fa
commit
58b34d5603
25 files changed
+748
-474
No files matched your search
@@ -764,4 +764,25 @@
|
||||
<string name="widget_config_smart_lists">Smart lists</string>
|
||||
<string name="widget_config_group_by_list">Group by list</string>
|
||||
<string name="widget_config_group_by_list_hint">Show each list\'s tasks under its own heading</string>
|
||||
<string name="widget_section_overdue">Overdue</string>
|
||||
<string name="widget_section_later">Later</string>
|
||||
<string name="widget_section_no_date">No date</string>
|
||||
<string name="widget_config_background">Background</string>
|
||||
<string name="widget_config_background_solid">Solid</string>
|
||||
<string name="widget_config_background_solid_hint">Fills the widget with the theme\'s surface colour</string>
|
||||
<string name="widget_config_background_tinted">Tinted</string>
|
||||
<string name="widget_config_background_tinted_hint">A softer, tonal fill</string>
|
||||
<string name="widget_config_background_transparent">Transparent</string>
|
||||
<string name="widget_config_background_transparent_hint">No fill — tasks stay readable in their own containers</string>
|
||||
<string name="widget_config_theme">Theme</string>
|
||||
<string name="widget_config_theme_follow_app">Follow app</string>
|
||||
<string name="widget_config_theme_light">Light</string>
|
||||
<string name="widget_config_theme_dark">Dark</string>
|
||||
<string name="widget_glance_label">At a glance</string>
|
||||
<string name="widget_glance_description">Your next task, or a quick way to add one</string>
|
||||
<string name="widget_glance_no_tasks">Nothing due today</string>
|
||||
<plurals name="widget_glance_overdue_count">
|
||||
<item quantity="one">%1$d overdue</item>
|
||||
<item quantity="other">%1$d overdue</item>
|
||||
</plurals>
|
||||
</resources>
|
||||
Reference in new issue
Block a user