omi icon indicating copy to clipboard operation
omi copied to clipboard

Tasks and Conversations: a new account gets a bare 'No Tasks Yet' line with no way to create a task

Open Itaxh1 opened this issue 2 months ago • 1 comments

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

  1. Sign in with a new account (no tasks, no conversations).
  2. 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

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.

Itaxh1 avatar Sep 26 '26 17:09 Itaxh1

Closing as completed. An empty Tasks tab renders OmiEmptyState and keeps the add button on main in #20047 (bb11e98ea4f6).

aryanorastar avatar Oct 02 '26 03:10 aryanorastar