-
Notifications
You must be signed in to change notification settings - Fork 61
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
SP-63 Feature/improve admin actions extensibility #276
Conversation
app/models/spree/admin/actions/product_default_actions_builder.rb
Outdated
Show resolved
Hide resolved
749b397
to
f1a2cc6
Compare
target: action.target, | ||
data: action.data | ||
) %> | ||
<% end %> | ||
<%= button_link_to (@deleted == '1' ? Spree.t(:show_active) : Spree.t(:show_deleted)), spree.admin_product_variants_url(@product, { q: { deleted_at_null: @deleted == '1' ? "0" : "1" } }), { class: 'btn-light', icon: 'filter.svg' } %> |
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.
This is the last one standing. I haven't figured out how to tackle it yet.
{ | ||
icon_name: 'add.svg', | ||
key: :add_product_properties, | ||
url: 'javascript:;', |
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.
main
. I'll take a look what the proper path would be.
aa83818
to
e78cd51
Compare
order actions builder, orders actions builder.
translation options as an argument
in main_menu and tabs.
Correct variable naming.
97ed558
to
c1d8aeb
Compare
What?
SP-63
Provide builder classes to configure actions in a couple of resources (e.g order, product, user), administered in the admin panel.
Why?
In order for the extensions to be able to configure/extend via code, instead of using deface (external gem).
How?
Based on the approach implemented in #274