-
-
Couldn't load subscription status.
- Fork 1.4k
[Admin][Settings] Introduce zone creation and modification capability #6224
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6224 +/- ##
==========================================
+ Coverage 88.82% 88.86% +0.04%
==========================================
Files 851 857 +6
Lines 18348 18415 +67
==========================================
+ Hits 16298 16365 +67
Misses 2050 2050 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
If you used Canada in the video in an effort to get me to pay attention to this video, it worked. 🙂 |
987a16e to
a443fca
Compare
a443fca to
603ca9b
Compare
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.
Works great
|
@chaimann do you mind to run |
32c4493 to
5b39007
Compare
Extend `AllowedNames` to include `on`.
To avoid lag when rendering states options for zone form, use "src" attribute that will point "solidus-select" to the resource that contains all states. Installed: - blueprinter - for object serialization; Introduced: - state_blueprint - simple serializer with a "state_with_country" view for zones states select; - states_controller - resource with states; - states_with_country now caches the result, as states/countries are not going to be updated regularly, so we can save on preloading countries on each request, allowing the values to be cached over time; - resources_controller#index - added ability to respond to json format
No need to pass `value` argument to forms/field component, as value is being calculated when calling `#select`.
Shorter way to get the value from object
There's some bug with Rubocop that even though `on` is specified as allowed parameter name, rubocop still complains
TIL yaml treats true, on and yes as boolean values. So there was no Rubocop bug, but rather `on` was not treated as a string literal.
5b39007 to
9b7e333
Compare
Summary
Closes #6155
Introduces new UI for zones creation and modification.
Other new stuff:
Showcase
Screen.Recording.2025-04-30.at.13.05.21.mov
Checklist