Tasks and Conversations: a new account gets a bare 'No Tasks Yet' line with no way to create a task
Product impact
- Primary loop layer: UX-Polish
- [ ] Involves data loss, failed capture, or broken sync/trust
Describe the bug
When the typed API state is ApiViewPhase.empty (a new account), both tabs render the typed status widget instead
of their designed empty states. The status is a plain Text in TextStyle(color: Colors.white) (default 14 pt,
not OmiType), with no page header. On Tasks the add FAB is also hidden, because it only shows when the list has
items, so the Tasks tab offers no way to add the first task.
To reproduce
- Sign in with a new account (no tasks, no conversations).
- Open the Tasks tab, then the Conversations tab.
Current behavior
A single centred line ("No Tasks Yet" / "No conversations yet"). No title, no search, no Create button, no FAB.
The polished empty states (_buildEmptyTasksContent with Create, _buildNoConversationsHero) never show for this
state.
Expected behavior
The designed empty state with its action (Create task) and the page header, as the code comments intend ("Friendly hero for brand-new users…").
Evidence
lib/pages/action_items/action_items_page.dart:472andlib/pages/conversations/conversations_page.dart:544—showTypedStatusincludesapiPhase == ApiViewPhase.empty, so it wins over the empty-state branches (lib/pages/conversations/conversations_page.dart:721).lib/pages/action_items/action_items_page.dart:506— the FAB is hidden when every category is empty.lib/backend/http/action_items_api_contract.dart:65/lib/backend/http/conversation_api_contract.dart:69— the status text is hard-coded white at the default text size.
Suggested fix
Keep the typed status for error / locked / terminal / auth phases only; let empty fall through to the designed
empty states (keeping the omi.*.empty keys for the C3 contract), and keep the Tasks header in every state.
Fix available
Fixed with a regression test on the fork branch design/v2-step0-tokens (12ceeac7b7). It will be linked from the draft PR.
Found while testing the Omi v2 Flutter restyle on an iPhone, then confirmed against main at 32c2ed22cf.
Closing as completed. An empty Tasks tab renders OmiEmptyState and keeps the add button on main in #20047 (bb11e98ea4f6).