Open Bug 2014652 Opened 3 months ago Updated 3 months ago

Add colors to Session History Diagram cells

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: farre, Assigned: farre)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image spec-jake-diagram.png

The work for adding Jake Diagrams to DevTools in bug 2013007 skips adding colors to cells. Instead we should do it as a follow-up here.

The reason for having colors is so that we can more easily distinguish between session history entries that are cross document and or cross origin. Ideally it would also be helpful for a deeper nesting than 1. Spec limits diagram to be a top frame and it's subframes, whereas the DevTools Session History diagram goes the full depth. This can become a bit unwieldy, so any help to indicate what's happening would be a good thing. This should of course not cloud the already present features of visualizing history temporality.

Assignee: nobody → afarre
Status: NEW → ASSIGNED
Attachment #9542628 - Attachment description: Bug 2014652 - Part 3: Add coloring scheme for Jake Diagrams. r=#devtools-reviewers! → Bug 2014652 - Add coloring scheme for Jake Diagrams. r=#devtools-reviewers!

Note that it would be nice to not rely solely on colors to convey this information, so color-blind folks can still benefit from it.
We can have different patterns on the background, or maybe different simple shapes in the entry, before the name, or maybe just an index / some kind of hash
We could probably pair that with a "legend" that we would put under the table (or maybe even in a right sidebar so it's always visible)

Blocks: 2015726
No longer blocks: 1991928
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: