visdesignlab / upset2

UpSet - Visualizing Intersecting Sets
https://upset.multinet.app/
BSD 3-Clause "New" or "Revised" License
50 stars 7 forks source link

Add higher level descriptions form in Alt-Text #277

Closed JakeWags closed 10 months ago

JakeWags commented 10 months ago

Does this PR close any open issues?

Closes #274

Give a longer description of what this PR addresses and why it's needed

This PR adds a form accordion to the alt-text sidebar which lets the user input meta data (description, set description, item description) which is used by the alt-text generator.

This is saved as a part of the UpSet config and the provenance. Trrack stores the meta data in the provenance history.

In the state export, the metadata is stored in an object like this:

{
"metaData": {
    "description": "An UpSet 2 Plot",
    "sets": "sets",
    "items": "items"
  },
...
}

Provide pictures/videos of the behavior before and after these changes (optional)

image

Are there any additional TODOs before this PR is ready to go?

TODOs:

netlify[bot] commented 10 months ago

Deploy Preview for upset2 ready!

Name Link
Latest commit 8c0c981ac900abaa194ae67a2042b0806832ef99
Latest deploy log https://app.netlify.com/sites/upset2/deploys/65723326c9fc4500085de884
Deploy Preview https://deploy-preview-277--upset2.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

JakeWags commented 10 months ago

Better example data:

Add a generated sentence as an example for what the fields are used for

Potentially:

image

JakeWags commented 10 months ago

Change trrack description to "Update plot information"