OpenFn / OpenFn/lightning

Workflow Diagram: stop using colour to show selection

Open
#3,386 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature enhancement
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

In the workflow diagram right now, we use colour to show the selected node (and its adjacent edgees)

It doesn't work great right now, the contrast against the grey is too low when zoomed out.

But when we add run overlay information, and we're colouring nodes red and green and whatever, the problem gets worse! We need many more hues of colour

So we should use something other than colour

Maybe an outline sort of effect? Here's a horrible mockup:

Image

The outline could be dotted or dashed

It could have a background colour

It could pulse with animation

It should use the regular node's border colour, so that we don't have to pick put a million new colours

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the workflow diagram implementation and how selected nodes and adjacent edges are currently styled. Compare the existing selection treatment with the proposed outline, background, or animation approaches, then confirm with maintainers which non-colour treatment should be used and how selection should remain distinguishable alongside run overlay colours.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
accessibility, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.