theopensystemslab / planx-new

Plan✕ is a platform for creating and publishing digital planning services
https://editor.planx.uk
Mozilla Public License 2.0
14 stars 2 forks source link

feat: display data fields on graph #3674

Closed jessicamcinchak closed 1 month ago

jessicamcinchak commented 1 month ago

Cherry picked from our prior Biennale experimental / maximalist graph styling #2947

Wondering if displaying data fields in the graph makes sense alongside preparing to launch search for "data fields only"? Eg, how familiar do we think average editors are with the concept of "data fields" ?

Just an idea, very much think this one is up to Daf, Ian and content team to decide if useful! While I like this style for increased visibility, it definitely stretches out overall size of graphs which may prove harder to navigate?

Before: Screenshot from 2024-09-15 20-22-02

After: Screenshot from 2024-09-15 20-16-58

** Does not display data fields (yet?) for any of the "special" component types like DrawBoundary, FileUploadAndLabel etc that search results are handling.

github-actions[bot] commented 1 month ago

Pizza

Deployed 34002f9a235a0151a2f4552ccf3b7580a398897c to https://3674.planx.pizza.

Useful links:

jessicamcinchak commented 1 month ago

Closing in favor of #3789 which introduces toggle button & React based "DataField" rather than scss like here