Skip to content

Conversation

@JakeWags
Copy link
Member

Does this PR close any open issues?

Closes #576

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

This PR fixes #576 by updating the sort order function within the sidebar 'updateAttributes'. The issue was that the use case where both a and b were included in UPSET_ATTS (degree, deviation), the first comparator (deviation when it was already present in the plot) was always being sorted first. This resulted in the formatting rules returning a -1 * offset and breaking the formatting for deviation.

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

See #576 for before

Have you added or updated relevant tests?

  • Yes
  • No changes are needed

Have you added or updated relevant documentation?

  • Yes
  • No changes are needed

@JakeWags JakeWags requested a review from JackWilb December 15, 2025 21:36
@JakeWags JakeWags added the bug Something isn't working label Dec 15, 2025
@netlify
Copy link

netlify bot commented Dec 15, 2025

Deploy Preview for upset2 ready!

Name Link
🔨 Latest commit 20329fd
🔍 Latest deploy log https://app.netlify.com/projects/upset2/deploys/69430a8fcdc75a0008bca58f
😎 Deploy Preview https://deploy-preview-590--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 project configuration.

@JakeWags
Copy link
Member Author

Deploy preview looks like it is working great 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adding degree seems to break attribute layout

2 participants