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

Validation settings Admin UI Extension target #1681

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

cpeddecord
Copy link
Contributor

Background

Resolves https://github.com/Shopify/checkout-web/issues/18126

spec'ed here https://github.com/Shopify/ui-api-design/pull/197

tl;dr: a task-specific extension target that configures only validation functions.

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

This comment has been minimized.

Copy link
Contributor

@jamesvidler jamesvidler left a comment

Choose a reason for hiding this comment

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

Looks good to me. Don't forget to add a changeset (minor change), otherwise nothing will get published to the unstable package.

Has anyone from the Admin team reviewed this PR? @MitchLillie might be able to help with that.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just a general question, why is this in a launch-options.ts file separate form validation-settings.ts, when it appears to be specific to the validation api?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are a number of different checkout rules coming soon, order submission may fall into this general class of admin ui extensions, for example. Validation settings is one of this class of target. Happy to do single target/single directory here.

@cpeddecord cpeddecord merged commit 5c93943 into unstable Jan 30, 2024
5 checks passed
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.

3 participants