Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove buttons from attribute menu #351

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Conversation

NateLanza
Copy link
Contributor

@NateLanza NateLanza commented Apr 10, 2024

Does this PR close any open issues?

Closes #345

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

Removes the "Submit" and "Cancel" buttons from the attribute dropdown and instead updates the plot immediately when attributes are selected and deselected. No replacement is necessary for the "Cancel" button, as clicking off the menu closes it.

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

Before:
345-before
After:
345-after

Have you added or updated relevant tests?

  • Yes (added)
  • No changes are needed

Have you added or updated relevant documentation?

  • Yes
  • No changes are needed

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

No

Note to reviewers

I changed the file from 4-space to 2-space indentation to be more consistent with the rest of the repo, causing Github to show a replacement diff on all indented lines. If you deselect the first commit (which contains the indentation changes and some added documentation) you'll only see the code diffs.

@NateLanza NateLanza requested review from JakeWags and JackWilb April 10, 2024 04:09
@NateLanza NateLanza self-assigned this Apr 10, 2024
Copy link

netlify bot commented Apr 10, 2024

Deploy Preview for upset2 ready!

Name Link
🔨 Latest commit 8a187f4
🔍 Latest deploy log https://app.netlify.com/sites/upset2/deploys/661611014a4dc100086f6052
😎 Deploy Preview https://deploy-preview-351--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.

Copy link
Member

@JakeWags JakeWags left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Good change 👍

@NateLanza NateLanza merged commit 8bf9557 into main Apr 18, 2024
7 checks passed
@NateLanza NateLanza deleted the 345-remove-attr-menu-buttons branch April 18, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove "Cancel" and "Submit" buttons from attributes menu
2 participants