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

Add Horziontal grammar flag, refactor defaultConfig #299

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

JakeWags
Copy link
Member

Does this PR close any open issues?

Closes #298

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

This PR adds a horizontal flag to the grammar (default: false). This is meant for alt-text for horizontal plots. UpSet2 should never set this value to false unless a horizontal implementation is added.

Additionally, this PR refactors the DefaultConfig to improve DRY principles. By moving this to Core, the defaultConfig can be imported as an object. This means it is defined in only one location and is easily changed.

This PR has no effect on behavior of the app or alt-txt.

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

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

TODOs:

  • ...

@JakeWags JakeWags requested a review from JackWilb February 22, 2024 17:29
Copy link

netlify bot commented Feb 22, 2024

Deploy Preview for upset2 ready!

Name Link
🔨 Latest commit 7a018f1
🔍 Latest deploy log https://app.netlify.com/sites/upset2/deploys/65d78cf24ec96c0008937160
😎 Deploy Preview https://deploy-preview-299--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 JakeWags merged commit 9bca4a5 into main Feb 29, 2024
7 checks passed
@JakeWags JakeWags deleted the default-grammar-config branch February 29, 2024 16:27
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.

Grammar: Add horizontal flag
2 participants