Status marks and words differ between the board, cards, lists and Agent work

Open
#271 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Domain
design, frontend

Research direction

Start by finding where each view maps claim and Agent task status to colour and label: the map, proof graph, Claims board, list and table, Agent work, Inbox and Library. The issue proposes one shared StatusMark component and one status table. Before coding, settle the open choice between a Blocked column and a separate "Needs a decision" chip with a maintainer. Done means the unit test for one glyph, colour and label per status in both languages passes, and the same claim shows the same mark across views.

Written by the indexing model from the issue text.

Description

area:web layer:entry priority:p2 status:triage type:bug
What happened

Status is drawn and named differently on different surfaces (1.0.100, fixture, dark):

  • Claims board: the "In progress" column holds 单射映射的复合, whose card shows a red dot and "Needs a decision". The sidebar has a "Blocked 2" filter, but the board has no Blocked column, so blocked work sits in In progress.
  • Reusable is a hollow ring on map and table cards and an orange dot in the board column header.
  • Needs recheck and Needs a decision both use the same red dot, while their meanings differ.
  • Agent work List and Board show status as plain text: "Failed" is not red and "Running" has no running mark, unlike proof nodes and Claims cards.
Why it happened

Each view maps status to colour and words itself. There is no shared status mark component with one table of status → glyph, colour and label.

Expected
  • One status table and one StatusMark component used by the map, proof graph, Claims board, list and table, Agent work, Inbox and Library.
  • A card's column agrees with its status mark. Either blocked claims get their own column or they show the In progress mark with a separate "Needs a decision" chip.
  • Statuses whose meanings differ look different, without relying on colour alone (glyph shape or label).
Acceptance
  • A unit test checks that every claim and Agent task status maps to exactly one glyph, colour and label in both languages.
  • No view defines its own status colours (enforced with #225's token lint or a test).
  • Browser regression: the same claim shows the same mark on the map, board, list and table.
Version

1.0.100

Dominant language
Python
Stars
2
Forks
0
Avg merge
56m
Merged PRs (30d)
190

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SAFuDarren/Trellin

All issues in SAFuDarren/Trellin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.