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

[pull] main from solidusio:main #404

Merged
merged 34 commits into from
Apr 17, 2024
Merged

[pull] main from solidusio:main #404

merged 34 commits into from
Apr 17, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Apr 6, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

spaghetticode and others added 26 commits March 12, 2024 12:37
The form for creating a new refund reason opens in a modal by
leveraging Turbo frames.
This commit completes the process for managing the creation of a new
refund reason. Failures update the form in the existing modal with
the appropriate error messages, while successful creations update the
current page with a Turbo stream refresh and remove the form modal.
This new method allows the order to ask the coupon promotion handler
whether an order can be modified with a promotion code.
Rather than directly referencing the Spree::Promotion ActiveRecord
model, we ask the coupon code handler.
The core coupon promotion handler now has this method, so the null
promotion handler needs it, too.
The four promotion handlers in core have two different methods to set
them into motion. Cart, Shipping, and Page use #activate, but Coupon
uses #apply. We only need one null promotion handler, and since we just
want it to return the unchanged promotion, we just alias.
This new Turbo frame will be filled with the modal for editing the
tax category.
The component renders the edit form inside a modal on top of the
tax categories list, inside a Turbo frame.
This completes the feature for editing an existing tax category.
This allows us to have our own assets in our controllers.
Promotions don't really have any CSS other than the one for the
promotion/edit page. So we only include the CSS there.
This moves those templates, views, and JS files that are necessary for
the promotion admin to function to the legacy_promotions gem.
I need to move some of SolidusAdmin's specs into
solidus_legacy_promotions. When doing that, it's necessary to require
these, so it'd be nice if they lived in `lib/`.
This change introduces a new boolean configuration on the `BatchAction`
struct that would allow users of the `UI::Table` component to specify
if a batch action requires confirmation.

This change enables this new behaviour on the products index batch
actions as a proof of concept.

Co-authored-by: Kendra Riga <[email protected]>
Co-authored-by: Cameron Day <[email protected]>
This change adds proper pluralization in the confirm dialog for the
resource being modified. Previously the dialog always used the plural
version of the resource.
There is no usecase for selecting from one theme.
…cessary

Do not show theme selector if only one theme is configured
[admin] fix docs links in README
Make SolidusAdmin's testing support code require-able
…-batch-action-confirmation

[Admin] Add the ability to configure batch action confirmation
Let promotion handler decide whether it can add a coupon to an order
mamhoff and others added 2 commits April 9, 2024 13:01
We need to always add routing proxies so our partials work in the
context of other engines.
…path

Add routes proxy to locale selection path helper
forkata and others added 6 commits April 11, 2024 15:30
It would be helpful to be able to add shipping methods in the new admin,
even though the new views are not migrated yet. This change renames the
actions method to page_actions to get that.

Co-authored-by: Harmony Bouvier <[email protected]>
In ESLint v9 the flat config is default, but we can change the
default back to the old one.

See: eslint/eslint#18287
…-new-shipping-method-page-action

Show the page action for creating a new shipping method
…reason

[Admin] Create new Refund Reasons
fix(CI): Set ESLINT_USE_FLAT_CONFIG=false
@pull pull bot merged commit 3f6c58c into nebulab:main Apr 17, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants