First Thoughts - Color
Contrast Issues
- These elements lack sufficient contrast for comfortable editing:
- The light-blue of unselected nodes
- the dark-grey of sockets
- the light-grey of the editor canvas.
Protocol Tabs
- Accessibility metrics get upset when red and green are used as primary UI values.
- Protocol tabs could be more informative wrt the saved status of drafts.
- As a start, maybe this could work:
- use same yellow for current protocol and selected node
- append
* to active tab's name with unsaved changes.
Sockets Lack Visual Cues
- Selected sockets can't be realistically distinguished from unselected ones.
- Also, I find it helpful for nodal editors to indicate connected/disconnected status.
Text-Heavy Nodes
- PAML models are much text-heavier than typical graphical models.
- Lots of text is also necessarily within close proximity of unrelated sockets.
- ex. the long term
dispenseVelocity crowding nearby End timepoint text.
- Pairing text color with socket selection or other visual hierarchy could help here.
Current Color Summary
/*****************************
NODES
*****************************/
.editor .node {
background: #caebf2;
border-color: #a9a9a9;
}
.node.selected {
background: #ffd92c;
border-color: #e3c000;
}
/*****************************
SOCKETS
*****************************/
.editor .node .socket.number {
background: grey;
}
.editor .node .socket.timepoint {
background: #49d30f;
}
/*****************************
TABS
*****************************/
#editor-protocol-tabs .dropdown:not(.current-protocol) {
background-color: #caebf2;
}
#editor-protocol-tabs .dropdown.current-protocol {
background-color: #ff3b3f;
}
First Thoughts - Color
Contrast Issues
Protocol Tabs
*to active tab's name with unsaved changes.Sockets Lack Visual Cues
Text-Heavy Nodes
dispenseVelocitycrowding nearbyEndtimepoint text.Current Color Summary