Skip to content

#1030 Locate Kanban Icon Component - #4

Merged
Tevin2119 merged 2 commits into
fix/mobile-board-exitfrom
delivery/1030-locate-kanban-icon-component-15ebfccf0b
Oct 5, 2026
Merged

Tevin2119 merged 2 commits into
fix/mobile-board-exitfrom
delivery/1030-locate-kanban-icon-component-15ebfccf0b

Conversation

@Tevin2119

Copy link
Copy Markdown
Owner

Task pingdotgg#1030, run run-15ebfccf0b. Approved by Tevin Tendai Muparadzi for commit e367548, which passed its checks and the QA gate.

What was asked

Made from the conversation "Locate Kanban Icon Component" (471fea73-5365-4bbb-96eb-8e35be50eaec/68aceb91-e77d-456f-ae5d-584c6c77678c). Written from the conversation as it stands: read it and change what is not right before saving. Nothing is asked of a team until the task is submitted.

What was asked

what is responsible for the kanabn iocon if i wanted to add a notification iocon for when things reqwure attention how where would i point that

Asked since

  • i ment which repository do i use in the board/ new task creation to get hts task done

Where the conversation ended

Use t3code-board as the repository for the new board task.

Title: Show an attention badge on the Board sidebar icon

Description: Add a notification count to the Board icon when tasks are in “Waiting on you” or “Your sign-off.” Keep the count independent of board filters and clear it when those tasks no longer need attention.

If you’re targeting your personal app build, select t3code-board-personal instead.

Done when

  1. With at least one task in "Waiting on you" or "Your sign-off", the Board item in the sidebar shows a badge with a number.
  2. The number equals the count of tasks in "Waiting on you" plus the count in "Your sign-off".
  3. A task in the Draft lane is not counted.
  4. With no task in either lane, the Board item shows no badge and no zero.
  5. Turning on a board filter (search text, lane filter, or the "waiting on you" filter) does not change the number on the badge.
  6. After a waiting task is answered or signed off and leaves those lanes, the badge number drops without a page reload, and the badge disappears when the count reaches zero.
  7. The badge shows while a page other than the Board is open (for example a thread).
  8. When delivery is not enabled and the Board item is hidden, no badge is shown anywhere in the sidebar.
  9. The badge is readable in both light and dark themes and does not shift the position of the other sidebar utility items.
  10. The badge does not animate continuously (no pulsing or repeating animation).

Opened by the delivery engine after a person's approval. Merging is a separate step.

delivery engine added 2 commits October 4, 2026 21:47
Added an attention badge to the Board sidebar item. A pure helper (boardAttentionCount) counts cards only in the needs-decision and human-review lanes and returns null for readings it cannot trust. A new hook (useBoardAttention) reads the fixed path /api/lanes?view=development&set=all for the primary environment every 15000 ms through useDeliveryRead, keeps the last valid count through failed or malformed refreshes for the same environment, and goes to unknown when delivery is off, the environment disconnects, or the environment changes. SidebarUtilityItem takes an optional badge count, supplied only for Board, drawn as an aria-hidden, non-animated element inside the item's existing footprint; the count is also in the button's aria-label and tooltip. Endpoint readings were attached as evidence.

Task task-820b4cc07e, revision 2, run run-15ebfccf0b.
Addressed the four review points on the Board attention badge. (1) Attached authoritative endpoint evidence from the engine source and a live reading: /api/lanes?view=development&set=all has no pagination or limit, the development view keeps every card, set=all includes qualification tasks by contract (disclosed, not filtered), and both target lanes are always listed. (2) boardAttentionCount now rejects readings where any card is not a record, so cards:[null] is unknown rather than zero. (3) useBoardAttention starts over on every environment change and does not count the reading at hand at that moment, so A positive -> B unknown -> A stays unknown until a fresh reading. (4) useBoardAttention takes a connected input, supplied by SidebarChrome from the primary environment's connection phase; while disconnected nothing is read and the count is unknown even with delivery enabled, and on reconnect only a new reading is shown. Tests added for each and mutation-checked.

Task task-820b4cc07e, revision 2, run run-15ebfccf0b.
@Tevin2119
Tevin2119 merged commit f9d83e0 into fix/mobile-board-exit Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant