visdesignlab / upset2

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

Degree column #296

Closed JakeWags closed 6 months ago

JakeWags commented 7 months ago

Does this PR close any open issues?

Closes #288 Depends #295

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

This PR adds a degree column. The column is placed after the bookmark star column. It simply shows a number representing the degree of the row.

The column's header has a # to represent the degree number. There is a tooltip which says "Degree" onhover. The context menu has the same sorting options (sort ascending, descending)

Additionally, this PR adds a left click sort ability to each column as well.

Finally, the sorting accordion is removed from the sidebar entirely.

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

upset-degree-column

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

TODOs:

netlify[bot] commented 7 months ago

Deploy Preview for upset2 ready!

Name Link
Latest commit ee22b4691827b2dfdc711455cb0497d0f7d2e944
Latest deploy log https://app.netlify.com/sites/upset2/deploys/65d512aa26bbc500085eb87c
Deploy Preview https://deploy-preview-296--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.

JackWilb commented 6 months ago
Screenshot 2024-02-12 at 9 53 44 AM

This doesn't work for aggregates. Maybe we just disable for aggregates?