feat(lists): manage lists in the app, and fix four store defects
Owning the store left a fresh install with no lists and no way to make one, so no way to save a task. The seam gains updateList/deleteList beside createLocalList on both paths — the External one addresses the row as its own account's sync adapter, the only caller the provider lets write tasklists. ListEditorSheet is the family's full-screen sheet: name field, a 12-colour palette, and a destructive row behind a confirm when editing. Entry points are a "New list" row under the home Lists section, an empty state with a create button, and the home FAB switching to "New list" while there are none. Deleting takes the list's tasks with it and is offered only for device-only lists. Four defects a review of the branch turned up: - completing one occurrence closed the whole series — setCompleted wrote the master, the row TaskDao.tasks filters on. setCompletedInstance forks a RECURRENCE-ID override the way updateInstance does; phase 2 always specified this, only the edit half had it - the expansion ceiling was spent on the past, so a sub-daily series stopped expanding months before today and never reached Today or Upcoming - an imported START-referenced reminder fired off DUE, because the seam collapsed alarms to a bare minute count. TaskReminder carries the anchor now - registerObserver bound a live flow to whichever store was active at subscription, so a Settings store switch left every screen listening to the store it had stopped reading
This commit is contained in:
@@ -122,7 +122,32 @@
|
||||
<string name="lists_header">Lists</string>
|
||||
<string name="new_task">New task</string>
|
||||
<string name="lists_failure">Could not read your tasks.</string>
|
||||
<string name="lists_empty">No task lists yet. Add one in your tasks app or with the + button.</string>
|
||||
<string name="lists_empty">No task lists yet.</string>
|
||||
<string name="lists_empty_action">Create a list</string>
|
||||
|
||||
<!-- Task lists: create, edit, delete -->
|
||||
<string name="list_add">New list</string>
|
||||
<string name="list_new_title">New list</string>
|
||||
<string name="list_edit_title">Edit list</string>
|
||||
<string name="list_name_hint">List name</string>
|
||||
<string name="list_color">Colour</string>
|
||||
<string name="list_delete">Delete list</string>
|
||||
<string name="list_save_failed">Could not save the list.</string>
|
||||
<string name="list_delete_failed">Could not delete the list.</string>
|
||||
<string name="list_delete_confirm_title">Delete list?</string>
|
||||
<string name="list_delete_confirm_message">“%1$s” and all of its tasks will be deleted. This can\'t be undone.</string>
|
||||
<string name="list_color_mauve">Mauve</string>
|
||||
<string name="list_color_red">Red</string>
|
||||
<string name="list_color_orange">Orange</string>
|
||||
<string name="list_color_amber">Amber</string>
|
||||
<string name="list_color_olive">Olive</string>
|
||||
<string name="list_color_green">Green</string>
|
||||
<string name="list_color_teal">Teal</string>
|
||||
<string name="list_color_cyan">Cyan</string>
|
||||
<string name="list_color_blue">Blue</string>
|
||||
<string name="list_color_indigo">Indigo</string>
|
||||
<string name="list_color_purple">Purple</string>
|
||||
<string name="list_color_pink">Pink</string>
|
||||
<string name="smart_today">Today</string>
|
||||
<string name="smart_overdue">Overdue</string>
|
||||
<string name="smart_upcoming">Upcoming</string>
|
||||
|
||||
Reference in New Issue
Block a user