Files
kandev/docs/specs/ui/requirements/task-listing-display-preferences.md
T
2026-09-14 09:26:24 +01:00

12 KiB

status, system, created, owners
status system created owners
active ui 2026-07-25
Kandev

Task Listing Display Preferences Requirements

Overview

People can remember their last task-listing mode on each device or explicitly choose Threads as their Home destination. Choosing another mode for the current interaction must not replace that explicit default. List users can also choose richer rows without losing the compact default.

UI owns this reusable presentation and navigation preference contract. It does not change task lifecycle or workspace ownership. The Threads destination uses the existing conversation deck and saved views.

Terminology

  • Remembered listing: The most recently used Kanban, Pipeline, List, or Threads mode in this browser on this device.
  • Startup choice: The user's saved choice of Task overview, Last visited task, or Threads in Settings > Preferences > Appearance > Startup Page.
  • Bare Home: Opening Kandev's root without an explicit task, session, workflow, or overview destination. Naming only a workspace still permits the startup choice to apply.
  • Home action: A Home link, brand link, Home command, or settings exit that returns to the active workspace's home. An explicit Task overview or Back destination remains separate.

Requirements

REQ-UI-TASK-LISTING-DISPLAY-PREFERENCES-001: Task Listing Display Preferences

Intent: Preserve independent device presentation choices and portable list detail settings.

Acceptance criteria

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.1: Selecting All Workflows remains selected in Kanban and List even when the workspace has exactly one visible workflow.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.2: The selected workflow filter continues to use the existing portable user setting and survives navigation and reloads.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.3: The remembered listing shall support Kanban, Pipeline, List, and Threads, survive browser restarts, and remain device-local rather than syncing through the user's portable settings.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.4: When no fixed Home default or eligible startup task applies, opening the Home task surface shall restore the remembered listing.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.5: An invalid remembered listing shall fall back to Kanban. A missing or unavailable preference shall also fall back to Kanban unless the existing legacy Pipeline preference supplies the compatibility fallback.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.6: Pipeline remains unavailable on phone-sized layouts. A phone temporarily renders Kanban when Pipeline is the saved device preference without overwriting that saved preference.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.7: List view adds a Show task details display option. It is disabled by default and appears in both desktop and mobile display-options surfaces while List is active.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.8: Enabling Show task details enriches each list row with the same useful task context surfaced by Kanban cards when that data exists: repository slug chips, a truncated description, pull-request status, session count, parent-task context, and review-attention state.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.9: With task details disabled, compact rows shall retain their title, task-state icon, updated time, and actions. Missing rich metadata shall omit only that metadata, not the row.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.10: The richer-row choice shall survive reloads and apply on the user's other signed-in devices. After a failed save, an authoritative reload shall restore the persisted value.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.11: Clicking or tapping a rich row shall open its task. Archive, delete, and interactive metadata actions shall remain independent, without horizontal document overflow on phones.

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-001.12: When browser storage rejects a view change, the chosen view shall remain usable for the current document; reopening the app shall use the available saved preference or fallback.

REQ-UI-TASK-LISTING-DISPLAY-PREFERENCES-002: Startup compatibility

Intent: Keep existing startup choices and workspace-local recent-task behavior while extending the choice with Threads.

Acceptance criteria

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-002.1: Task overview shall remain the default startup choice. Existing users shall retain their saved Task overview or Last visited task choice.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-002.2: With Last visited task selected, bare Home shall open the newest local recent task belonging to the resolved active workspace. A newer entry from another workspace shall not become the target.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-002.3: If no matching local recent task is available, including when local storage cannot be read, Last visited task shall fall back to the remembered listing and its existing fallback.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-002.4: Last visited task shall not resume a task on a Home action, a task's Back action, or an explicit task, session, workflow, or overview destination.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-002.5: Missing or unsupported saved startup choices shall normalize to Task overview. An unsupported submitted choice shall fail without replacing the previous saved choice, and an unrelated settings save shall leave the startup choice unchanged.

REQ-UI-TASK-LISTING-DISPLAY-PREFERENCES-003: Explicit Threads Home default

Intent: Let a user consistently return to Threads even after using another task-listing mode.

Acceptance criteria

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.1: Startup Page shall offer Threads alongside Task overview and Last visited task on desktop and phone. Visible localized descriptions shall explain remembered overview behavior, startup-only task resume, and Threads applying to both startup and Home.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.2: Selecting Threads shall use the existing shared Settings Save changes and discard flow. Only a successful save shall change the durable default; failures shall retain a retryable draft and the prior saved default. Discard shall restore the saved choice.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.3: The saved Threads choice shall survive browser and Kandev restarts and apply on the user's other signed-in devices without requiring a local remembered Threads value.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.4: With Threads selected, bare Home and every Home action shall open Threads in the resolved workspace, including after the user has visited Kanban, Pipeline, or List. Saving the choice shall not itself change the remembered listing; subsequent view navigation shall not change the saved startup choice.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.5: An explicit view selection, task, session, workflow, overview, or Threads focus link shall retain its destination and scope during navigation, reload, and browser history use. An explicit overview continues to mean the remembered task listing; the fixed Threads choice shall not override it. Saving a default while another destination is open shall not redirect that page. After startup settles, changing workflow filters, including All Workflows, shall keep the current listing usable rather than re-enter startup loading.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.6: Home shall retain the active or explicitly requested workspace. Selecting another non-Office workspace shall apply Threads to that selected workspace. Office workspace Home shall continue to open Office while Office is enabled. With Office disabled, Home shall retain the workspace and honor the task-listing startup choice instead of linking to unavailable Office surfaces. No-workspace recovery shall remain available.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.7: An empty Threads result shall stay in Threads and display its existing empty state. Unavailable or malformed browser listing storage shall not prevent a saved Threads Home choice from working.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-003.8: Phone users shall be able to select and save Threads with touch, use Home to reach the existing native mobile deck, and reload it. The settings option shall have an accessible label and a touch target at least 44 CSS pixels high, with visible save controls, safe-area clearance, and no horizontal document overflow.

Grouped display settings extension

The user accepted this layout on 2026-09-13. Delivery is tracked separately in Grouped homepage settings. Existing requirements 001 to 003 and their completed plans retain their scope.

REQ-UI-TASK-LISTING-DISPLAY-PREFERENCES-004: Expandable display settings

Intent: Let users scan current display choices without showing every control.

Acceptance criteria

  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-004.1: On opening the display surface, applicable groups shall start collapsed. Each complete header shall toggle its group independently. Changing a value shall not close its group. Closing and reopening the surface shall reset expansion, without resetting values.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-004.2: Board settings shall group Workflow, Repository, Priority, and registered plugin filters under Filters, followed by Sort and Preview panel. Existing page visibility rules shall remain: List retains List rows, Threads retains only its applicable workflow filter, and board-only controls remain board-only. Empty groups shall be omitted.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-004.3: Collapsed summaries shall show current workflow/repository names or their All labels, selected priority labels or All priorities, the current sort label, and preview On/Off. List rows shall summarize task details On/Off. Active plugin filters shall remain visible in the Filters summary. Summaries shall update with setting changes and shall omit controls unavailable on the current surface.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-004.4: Expanding or collapsing groups shall not change filters, task ordering, stored preferences, or tasks. Existing loading, disabled, empty, and setting-save behavior shall remain. Missing names shall use a neutral unavailable/loading summary, never falsely report All or clear a selection. All new host copy shall be localized.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-004.5: Headers shall support keyboard activation, expose expanded state and controlled content, and retain visible focus. Collapsed controls shall not be focusable. Nested choices shall remain usable; dismissing the surface shall return focus to its opener.
  • AC-UI-TASK-LISTING-DISPLAY-PREFERENCES-004.6: Phone users shall access the groups inside the existing menu drawer, using the same setting values and existing phone visibility rules. Headers and changed touch controls shall have hit targets of at least 44 CSS pixels. Expanded content shall use the drawer's scroll region, remain within its viewport and safe area, and produce no horizontal document overflow. Phone Board workflow selection remains in its existing workflow navigation; Columns remains reachable outside these groups.

Out of scope

  • Syncing the remembered listing or exact recent task between devices.
  • Separate fixed defaults for Kanban, Pipeline, or List; those remain reachable through Task overview's remembered mode.
  • New per-workspace startup settings or changing workspace selection ownership.
  • Choosing a particular saved Threads filter, task, or session as Home.
  • Adding a phone-native Pipeline visualization.
  • User-configurable selection or ordering of individual rich-row metadata fields.
  • Changing existing sort, group, archive, pagination, or preview-panel behavior.
  • Changing a task's explicit Back/Task overview destination to generic Home.
  • Swipe-indicator timing or mobile topbar normalization from the parent task.
  • Parent worktree changes, parent demo data, or launching other task sessions.
  • Removing the legacy kanban_view_mode API field in this change.