Skip to content

Flutter Home and Tasks: empty-state icons and guidance disappear after loading #20036

Closed

Description

@Itaxh1

TL;DR: Home and Tasks lose their designed empty states after a successful empty response. Home loses the conversation icon and readable title; Tasks loses its existing checkmark icon and guidance. The replacement labels are white on a near-white background in light mode. Restore both empty states after loading, with matching placement and readable text. Empty Tasks should say “Start a conversation to create a task.” and show no creation button.

Fix and validation: PR #20047.

Product impact

  • Primary loop layer: UX-Polish
  • No data loss or failed capture is demonstrated by the screenshots; the empty Home screen looks broken and its title is difficult to read.

Describe the bug

The supplied iPhone screenshots show the same empty Home screen in two states: one has a conversation icon, a readable title and recording guidance; the other has only a faint white title. The code on main contains both rendering paths.

To reproduce

  1. Open Home in light mode with an account that has no conversations and no active filters or pending recordings.
  2. Allow the conversation list request to finish successfully with an empty result, or pull to refresh.
  3. Observe the empty conversation area.

Current behavior

ConversationsPage includes ApiViewPhase.empty in its typed-status branch, which takes precedence over _buildNoConversationsHero. ConversationApiStatus then renders a hard-coded white Text without the icon or hint.

Expected behavior

  • The conversation icon and localized title remain visible after a valid empty response and refresh. Home shows no supporting paragraph, as requested in the final copy refinement.
  • The layout and foreground colors remain consistent in light and dark mode.
  • A failed request continues to show an error and retry, rather than claiming there are no conversations.
  • Filtered empty results and in-progress recordings keep their existing behavior.

Screenshots — before and after

Light mode. Home after is the approved iPhone 17 Pro Max / iOS 27.0 simulator capture of the current production page and shared controls, rendered with empty fixture data in the visual-audit frame. The other screenshots were supplied by the reporter.

Screen Before After
Home Home before: faint white label, missing icon and guidance Home after: conversation icon and readable title without supporting text
Tasks Tasks before: faint white label, missing icon and guidance Tasks after: checkmark icon and conversation guidance without a creation button

Smartphone + device

  • Device: iPhone 15 Pro Max
  • OS: iOS 26.6.2; initial fix verified with a signed profile build of d2796305ef. The final copy-only refinement in f08143e57a passed 17 widget tests and analyzer checks; it has not been reinstalled on the iPhone.
  • Appearance: light
  • User ID: not supplied or needed for this presentation regression

Additional context

Related: #19233, which describes the broader Tasks and Conversations empty-state problem. This issue covers the disappearing Home and Tasks empty-state content and their matching placement; other header and filtering changes are outside its scope.

Tasks tab — additional confirmed case

The reporter also sees the empty Tasks tab. ActionItemsPage.showTypedStatus includes ApiViewPhase.empty, so it bypasses _buildEmptyTasksContent. Reuse its existing Icons.task_alt_rounded; no new icon asset is needed.

The requested empty Tasks design is:

  • No Tasks Yet
  • Start a conversation to create a task.
  • No Create Task button or floating add button on the empty screen.
  • Match Home’s empty-state icon/title placement and spacing in both themes.

Reproduce by opening Tasks with no saved tasks and allowing a valid empty list response. Failed requests must still show an error and Retry. The table shows before-and-after screenshots for Home and Tasks.

Activity

  1. changed the title [-]Flutter Home: empty conversation icon and hint disappear after loading[/-] [+]Flutter Home and Tasks: empty-state icons and guidance disappear after loading[/+] on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions