-
Notifications
You must be signed in to change notification settings - Fork 223
01 15 added support for supported features in toml #6765
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
base: main
Are you sure you want to change the base?
Conversation
fe39235 to
71f5db9
Compare
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success3676 tests passing in 1431 suites. Report generated by 🧪jest coverage report action from f903c47 |
| }, | ||
| }, | ||
| supportedFeatures: { | ||
| supportsOffline: extension.configuration.supported_features?.offline_mode ?? false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dev payloads use camel casing, unlike the deployed configs, which use snake case.
282c402 to
861716b
Compare
packages/app/src/cli/models/extensions/specifications/ui_extension.test.ts
Show resolved
Hide resolved
861716b to
f903c47
Compare
vividviolet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Closes https://github.com/shop/issues-retail/issues/22868
WHY are these changes introduced?
This adds the ability to specify in the toml, whether or not an extension supports
offline_mode. This is a new feature for POS Extensions. The backend is already wired up to support this.WHAT is this pull request doing?
tomlextensions.supported_featuresoffline_modeboolean to include its value in the deploy config.How to test your changes?
pnpm shopify app deploy --path [PATH_TO_APP]configandsupportedFeaturesfields on the Extension object.Post-release steps
Measuring impact
How do we know this change was effective? Please choose one:
Checklist