Gaetan Craig-Riou
c58a65a52b
Add a tab to list customer payment on the account page
2026-03-10 16:07:41 +11:00
Cillian O'Ruanaidh
1554459eb9
Display a JS alert if /admin/search/known_users returns an error
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
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
Rachel Arnould
fb0f379c43
Merge pull request #13823 from chahmedejaz/bugfix/13625-enterprise-fee-reports-throws-504
...
Some Enterprise Fee reports are unusable when managing big shops
2026-02-18 15:22:21 +01:00
Ahmed Ejaz
7c0586db7b
Enhance comment for shouldLoad function
2026-02-08 18:29:55 +05:00
Maikel
4ba55c4067
Merge pull request #13898 from dacook/js-error-handler
...
Fix function call
2026-02-04 12:44:41 +11:00
Maikel
79af9efd29
Merge pull request #13857 from rioug/10298-remove-rails-sass
...
Remove rails-sass dependency
2026-02-04 09:55:29 +11:00
Ahmed Ejaz
99e238d92d
Improve reports AJAX search safety, permissions, and TomSelect UX
...
- Sanitize AJAX search queries to safely support wildcard searches (ILIKE)
- Centralize reports search actions in Spree::Ability and reuse across roles
- Fix TomSelect remote loading to fetch on dropdown open and typing
- Surface HTTP errors in TomSelect via showHttpError and improve error handling
- Update dropdown behavior to show proper “no results” feedback
- Move reports AJAX specs to request specs and expand pagination coverage
- Simplify searchable dropdown component attribute passing
2026-02-04 02:25:41 +05:00
David Cook
876d37d19a
Fix function call
...
This function got renamed in 01d5830480 , but this call got missed.
I would like to add a spec to cover this, but am not sure exactly how to set it up right now.
I also notice that usage occurs after the preventDefault, and one before. I'm not sure if that matters. I have myself to blame for that inconsistency 🤦
2026-02-02 17:08:24 +11:00
Ahmed Ejaz
5f31baa022
Refactor TomSelectController to enhance remote data loading and update SearchableDropdownComponent options
2026-02-01 19:32:18 +05:00
Gaetan Craig-Riou
9a90e46b78
Move mail css back to be managed by wepack
...
It wil allow us to remove dependency on `rails-sass`, and `sass` which
are not maintained anymore.
More or less revert this PR: https://github.com/openfoodfoundation/openfoodnetwork/pull/12743
2026-01-26 14:50:31 +11:00
Prikesh Savla
5a9aa87831
Rename admin-style-v3 to admin-style and remove the admin_legacy styles folder that has no references
2026-01-25 21:15:40 +05:30
Prikesh Savla
8cfab08f9e
Refactor admin CSS: Promote v3 to canonical admin styles
...
The Admin V3 styles are now the primary styles for the application. This change promotes the `admin_v3` directory to `admin` and archives the old styles.
Changes:
- Renamed `app/webpacker/css/admin_v3` to `app/webpacker/css/admin`.
- Renamed the previous `app/webpacker/css/admin` to `app/webpacker/css/admin_legacy`.
- Moved all files referenced by V3 styles from the legacy directory to the new `admin` directory.
- Updated imports in `all.scss` to distinct local files instead of relative paths.
- Cleaned up `admin_legacy` by removing files that are duplicates (by name or content) of the new admin styles.
- Updated `admin-style-v3` pack to point to the new location.
2026-01-25 21:05:38 +05:30
Ahmed Ejaz
d4811648f1
Merge branch 'master' into bugfix/13625-enterprise-fee-reports-throws-504
2026-01-25 11:22:57 +05:00
Ahmed Ejaz
77fe1fa6f9
Refactor SearchableDropdownComponent and integrate remote data loading with TomSelect
2026-01-25 11:14:49 +05:00
wandji20
2cde74b91a
Handle user confirmation with turbo stream
2026-01-22 12:06:56 +11:00
Gaetan Craig-Riou
dd5db396b4
Merge pull request #13828 from rioug/10298-upgrade-to-shakapaker
...
Upgrade to shakapaker
2026-01-21 16:17:50 +11:00
Gaetan Craig-Riou
bbbbe71bc4
Remove deprecated ~prefix
...
https://github.com/webpack/sass-loader/blob/main/README.md#the-style-new-api-by-default-since-16-version-and-outputstyle-old-api-options-in-production-mode
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
b3dc76b8cf
Fix configuration and scss to get webpack to compile
...
Move the Postcss config hack to postcss.config.js
2026-01-06 14:31:32 +11:00
Ahmed Ejaz
a3c08ceb7c
Add AJAX search functionality for enterprise fees and related entities in reports
2025-12-30 01:25:25 +05:00
Gaetan Craig-Riou
5e4df41ec8
Add button to send test data to endpoint
...
It will allow a user to easily test the endpoint
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
72085be896
Format account.scss with prettier
2025-12-10 10:28:11 +11:00
David Rodríguez
a509d49ec6
Bump prettier to 3.6.2
...
And fix new style issues.
2025-11-21 12:49:06 +01:00
Filipe
dddc945c42
Merge pull request #13679 from deivid-rodriguez/customer-edition
...
Improve `/admin/customers` form handling
2025-11-21 10:51:55 +00:00
Maikel
e194ebf0f3
Merge pull request #13552 from openfoodfoundation/dependabot/npm_and_yarn/jest-30.2.0
...
Bump jest from 27.5.1 to 30.2.0
2025-11-17 15:21:57 +11:00
David Rodríguez
186fe0503f
Show orange border when input has changes
...
Even if it's on focus.
2025-11-13 08:37:52 +01:00
Gaetan Craig-Riou
4e62e20fa8
Fix test to work with new jsdom restriction
...
since jsdom 21, it's no longer possible to mock window.location
See : https://github.com/jsdom/jsdom/issues/3492
2025-11-11 14:58:48 +11:00
David Rodríguez
9645660d87
Fix tag rule visibility select box options hidden by save bar
2025-11-10 17:32:11 +01:00
Gaetan Craig-Riou
ab194a0e80
Add styling for the dropdown
...
It's mostly the same styling as the AngularJs version but with updated
colors
2025-11-03 14:25:05 +11:00
Gaetan Craig-Riou
6d7908e1f8
Style formatting
2025-11-03 14:25:05 +11:00
Gaetan Craig-Riou
81e16a9cdf
Add stimulus-autocomplete package
...
https://github.com/afcapel/stimulus-autocomplete/tree/main
2025-11-03 14:25:05 +11:00
David Rodríguez
201461918d
Fix prettier offense
...
I accidentally introduced this, not sure how, when correcting all
prettier issues.
2025-10-29 11:55:03 +01:00
Maikel
44cca40db6
Merge pull request #13643 from deivid-rodriguez/fix-prettier-issues
...
Fix all existing prettier issues
2025-10-29 11:36:54 +11:00
David Rodríguez
852e7fa81e
Fix all existing prettier issues
2025-10-22 15:30:36 +02:00
Guido Oliveira
be9da62d98
fix table format in edit order page
2025-10-19 07:58:40 -03:00
Rachel Arnould
c4c266246c
Merge pull request #13507 from rioug/tag-rules-remove-angular
...
[Variant Tags] Remove angular from tag rule admin page
2025-10-15 23:16:05 +02:00
Gareth
9ed612410f
Changed default checking behavior of metadata controller
2025-10-07 11:01:55 -04:00
Gareth Rogers
0a9eb173ea
Add report name and details to CSV files
2025-10-01 13:59:43 +10:00
Gaetan Craig-Riou
bc1823e276
Add http error handling
...
Because we are using fetch here to manually request turbo stream we have
to handle errors ourselves.
2025-09-24 10:46:37 +10:00
Gaetan Craig-Riou
01d5830480
Move turbo http error handling to its own file
2025-09-24 10:46:37 +10:00
Gaetan Craig-Riou
75325e2935
Consolidate modal to add rule into a component
2025-09-24 10:40:43 +10:00
Gaetan Craig-Riou
7e48007d09
Add new tag group and add rule to tag group
2025-09-24 10:40:43 +10:00
Gaetan Craig-Riou
50ab0a494c
Move tag rule group form to a component
2025-09-24 10:40:43 +10:00
Gaetan Craig-Riou
d3ef744daf
Display existing grouped tag rules
2025-09-24 10:40:43 +10:00
Gaetan Craig-Riou
6790cad089
Add deleting tag rule
...
TagRuleController is now a subclass of Spree::Admin::BaseController
because Admin::ResourceController did not play well with turbo_stream.
And to be honest we did not need all the functionality provided by the
ResourceController
2025-09-24 10:38:53 +10:00
Gaetan Craig-Riou
7087d1b290
Add default tag rule
...
I tried to leverage turbo as much as possible
2025-09-24 10:38:53 +10:00
Gaetan Craig-Riou
1c7fbd1d2d
Rename vertical ellipsis menu component files
...
There is no need to have a different name scheme to shorten stimulus
controller name. It's now inline with the other components
2025-09-10 15:27:56 +10:00