Merge pull request #1 from zenchantlive/feat/bb-18e-3-direction-hints
Graph clarity: add plain directional dependency hints
This commit is contained in:
commit
32a08ac35a
2 changed files with 7 additions and 0 deletions
|
|
@ -78,6 +78,10 @@ export function GraphSection({
|
|||
In progress blockers: {blockerAnalysis.inProgressBlockerCount}
|
||||
</p>
|
||||
) : null}
|
||||
<p className="w-full text-[10px] text-text-muted/55 md:w-auto md:max-w-[26rem]">
|
||||
<span className="font-semibold text-text-muted/75">Read left to right:</span>{' '}
|
||||
Left = blockers, middle = selected task, Right = work unblocked by this task.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* ReactFlow graph viewport */}
|
||||
|
|
|
|||
|
|
@ -58,6 +58,9 @@ test('extracted graph section has viewport and legend', async () => {
|
|||
assert.match(graphSection, /blockerAnalysis/, 'should show blocker stats');
|
||||
assert.match(graphSection, /hideClosed/, 'should support hideClosed state in legend');
|
||||
assert.match(graphSection, /!hideClosed/, 'done legend should be hidden when closed items are hidden');
|
||||
assert.match(graphSection, /Read left to right/, 'legend should include plain directional hint');
|
||||
assert.match(graphSection, /Left = blockers/, 'legend should include left/right dependency meaning');
|
||||
assert.match(graphSection, /Right = work unblocked by this task/, 'legend should include downstream meaning');
|
||||
});
|
||||
|
||||
test('graph node card supports tooltips and actionable glow', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue