Repository navigation
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Where the conversation ended
Use
t3code-boardas 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-personalinstead.Done when
Opened by the delivery engine after a person's approval. Merging is a separate step.