David Cook
5757f086ec
Set owner enterprise when creating source variant
2026-03-11 11:09:12 +11:00
David Cook
b26152cf0e
Only show option when you have permission
...
Preload the allow list once in the controller. This controller was initially set up to avoid instance variables, and pass variables explicitly to the template. That's a good principle, but in practice we have a growing list of variables passed down the chain to multiple partials which is getting cumbersome. I think instance variables have their place after all.
2026-03-11 11:08:50 +11:00
David Cook
78db179ff3
haml-lint:disable ViewLength
...
TIL we have linting on haml.
I couldn't think of a better way to handle this but would be glad to receive feedback.
2026-03-11 11:08:50 +11:00
David Cook
5fc6d25a69
Display presence of variant link in UI
...
It's quite ugly. But we will be iterating on this later.
2026-03-11 11:08:50 +11:00
David Cook
eba2fbcc30
Create source variants
2026-03-11 11:07:08 +11:00
David Cook
bd01b5f113
Add 'create sourced variant' option in variant actions menu
...
For now, we will only be able to create sourced variant from variants that are visible to us (variants that we manage)
In a later commit I will hide the option if you can't use it
2026-03-11 11:07:08 +11:00
Gaetan Craig-Riou
4810b02233
Merge pull request #13702 from marincarroll/improve-accessibility-of-admin-pagination
...
Improve accessibility of admin pagination
2026-03-10 22:12:57 +11:00
Gaetan Craig-Riou
e7a2b7ea48
Remove payment method from customer account transaction
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
3b068b7125
Add created_by to customer account transactions
...
It allows tracking of who credited the customer via :
- customer account transaction API
- order payment screen
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
597c0590ed
Add the ability to show ID on backoffice customer screen
...
The customer ID is needed for the customer account transaction api
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
3e2e7f1799
Add button to credit customer when order is credit owed state
...
It will add a negative payment, matching the amount credited in the
customer_account_transaction
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
5e4cd4d51d
Remove unused helper
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
a60afd10e4
Display credit used on the order confirmation page
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
f5a3093e41
Automatically use credit at checkout when available
...
This only cover the ideal scenario, error handling will be added later
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
152fd15bd0
Use display_name and display_description for payment method
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
fec5516fce
Backoffice customer, Add pop up to list customer payments
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
6aa4bf7a33
Add available credit on the admin customer page
2026-03-10 16:07:41 +11:00
Gaetan Craig-Riou
c58a65a52b
Add a tab to list customer payment on the account page
2026-03-10 16:07:41 +11:00
Maikel
f7f7a5738a
Merge pull request #13895 from cillian/remove-angular-from-enterprise-settings-users
...
Remove Angular from Enterprise > Settings > Users section
2026-03-06 14:05:13 +11:00
Rachel Arnould
57186a74a8
Merge pull request #13958 from arunguleria/13864-remove-variants-dead-features
...
13864-Remove dead feature to re-arrange variants
2026-03-05 12:44:05 +01:00
Marin @Home
c9418c52e4
linting
2026-03-04 14:43:43 +11:00
Marin @Home
e16595eacb
Adds empty href; prev/next button labels
2026-03-04 14:43:43 +11:00
Marin @Home
510fd4867b
Removes disabled/hidden prev/next buttons
2026-03-04 14:43:43 +11:00
Marin @Home
53d6886f20
<ul> should only wrap pagelist
2026-03-04 14:43:43 +11:00
Marin @Home
dad9014a60
Adds ARIA labels to page button/links
2026-03-04 14:43:43 +11:00
Marin @Home
abe9032910
Adds rel "next" and "prev" to pagination
2026-03-04 14:43:43 +11:00
Marin @Home
272cf9ae87
Adds ARIA current "page" attribute
2026-03-04 14:43:43 +11:00
Marin @Home
1d5bc14f2f
Adds ARIA label to pagination with English translation
2026-03-04 14:43:43 +11:00
Marin @Home
0332049551
Updates CSS after pagination markup change
2026-03-04 14:43:43 +11:00
Marin @Home
0ffd4dcc35
Pagination should use ul > li pattern
2026-03-04 14:43:42 +11:00
Marin @Home
e899d1b7fd
Button element should be <a>
2026-03-04 14:43:42 +11:00
Marin @Home
ed331dc104
Pagination wrapper should be <nav>
2026-03-04 14:43:42 +11:00
Cillian O'Ruanaidh
f063e2e8c6
Change to email field
2026-03-04 10:28:39 +11:00
Cillian O'Ruanaidh
d3eb887664
Align button
2026-03-04 10:28:39 +11:00
Cillian O'Ruanaidh
50265780cf
Call AdminTooltipComponent directly and remove unnecessary partial
2026-03-04 10:28:39 +11:00
Cillian O'Ruanaidh
f1071575cd
Remove Angular from Enterprise > Settings > Users section
2026-03-04 10:28:36 +11:00
Rachel Arnould
c7d4c6f3c4
Merge pull request #13835 from prikeshsavla/13569-remove-v3-admin-styles
...
Refactor admin CSS: Promote v3 to canonical admin styles
2026-03-02 12:29:33 +01:00
Rachel Arnould
c13785f2e3
Merge pull request #13943 from pavelk-lab/replace-brand-story-angular-with-details
...
Replace Angular expand/collapse with native HTML <details>/<summary> for brand story
2026-02-27 15:37:00 +01:00
Arun Guleria
b7a1754879
13864 - remove unnecessary routes for update positions
2026-02-25 16:29:20 +05:30
Arun Guleria
ab811b2c83
13864-Remove dead feature to re-arrange variants
2026-02-24 18:16:34 +05:30
Rachel Arnould
81aac877a5
Merge pull request #13945 from mkllnk/taler-refund
...
Add "void" action to Taler payment admin page
2026-02-24 11:23:07 +01:00
Rachel Arnould
68c7d8f9f5
Merge pull request #13934 from chahmedejaz/bugfix/13827-tag-filters-reset-upon-product-update
...
Tag filters are reset after updating a product
2026-02-24 10:20:11 +01:00
Maikel Linke
702db32595
Connect unit label to input
...
And replace redundant spec helper method.
2026-02-23 13:08:55 +11:00
Maikel Linke
9d79119eb0
Link to payment action with title
...
The custom helper was adding a PowerTip which replaced the title
attribute with its own display. I removed the PowerTip and use a simple
title attribute. This should have several benefits:
- Capybara can find the link by the title.
- Screenreaders should be able read the title.
- Browser can show the title in the best position.
- Using the browser feature is more consistent and efficient.
2026-02-23 13:00:02 +11:00
Maikel Linke
f2eec5685e
Include amount in refund email
2026-02-23 13:00:02 +11:00
Maikel Linke
69108df206
Use Rails to translate email subject
...
And translate the subject with the user's locale.
If the subject doesn't need parameters, you don't need to supply it.
Rails finds the translation automatically.
2026-02-20 13:43:09 +11:00
Maikel Linke
c66b9611b6
Move PaymentMailer translations out of Spree namespace
...
The mailer is not in the Spree namespace and we don't need to keep the
clutter.
2026-02-20 13:43:09 +11:00
Maikel Linke
de873ae42c
Add void action to Taler for refunds
2026-02-20 13:43:09 +11:00
Pavel
b348536d12
Clean up dead code after Angular brand story removal
...
- Delete HomeCtrl controller file (nothing references it anymore)
- Remove misplaced .text-vbig class from <details> (was on the old <a> toggle; summary has no visible text)
- Remove redundant cursor: pointer on #brand-story-text (<summary> already sets it)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-19 21:39:32 +00:00
Pavel
b528bb47a0
Replace Angular expand/collapse with native HTML details/summary for brand story
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-19 21:23:09 +00:00