David Cook
44187658be
Copy messages styles for admin_v3
2023-12-06 10:12:17 +11:00
David Cook
f1a407c8a9
Remove unnecessary mixin,
...
and use generic variable for shadows.
2023-12-06 10:12:17 +11:00
David Cook
54d61cd24d
Don't show flashes until everything else is done.
...
Mario reported that it was showing before the loading spinner had gone.
Technically the loading spinner doesn't hide until after the reflex is finished, but hopefully this is close enough.
2023-12-06 10:12:17 +11:00
David Cook
6dc04c458c
Show saving success message in flash
...
I don't know if this is the best way to do it with SR, but it works..
2023-12-06 10:12:17 +11:00
David Cook
70f153b0f7
Refactor spec
...
Only the first example is testing the updated variant here.
2023-12-06 10:11:19 +11:00
David Cook
7d299affd3
Move hiding logic to stimulus controller
...
This ensures morphed flashes hide like other flashes (eg in bulk order actions). I wanted to write a spec to prove it, but Capybara doesn't support mocking setTimeout and I didn't want to use sleep.
I've made it optional because this controller is shared with the shop frontend ([supposedly](5ef34347a3 ), although angular seems to override it).
2023-12-06 10:11:19 +11:00
David Cook
127eaa44e5
Ensure loading message always shows
...
Before, it was affixed near the top of the page and wasn't visible after scrolling down.
2023-12-06 10:11:19 +11:00
David Cook
300998acb6
Merge pull request #11811 from dacook/buu-stock-levels-11062
...
[BUU] Stock level popout
2023-12-05 13:56:01 +11:00
David Cook
685a1955bc
Merge pull request #11872 from mkllnk/activate-background-reports
...
Activate background report processing by default
2023-12-05 12:04:19 +11:00
Maikel
cb5164ac6e
Merge pull request #11888 from openfoodfoundation/dependabot/bundler/stripe-10.2.0
...
bump stripe from 10.1.0 to 10.2.0
2023-12-04 14:54:38 +11:00
Maikel
89b6b183b9
Merge pull request #11893 from rioug/10809-patch-dfc-connector-parser
...
[DFC] Patch dfc connector parser to improve SKOS concept parsing
2023-12-04 14:32:02 +11:00
Gaetan Craig-Riou
021e292190
Add a quick patch description
2023-12-04 13:56:14 +11:00
Gaetan Craig-Riou
9628045e1c
Fix indentation
2023-12-04 13:56:14 +11:00
Gaetan Craig-Riou
a06e7c1d9e
Fix rubocop issue
2023-12-04 13:56:14 +11:00
Gaetan Craig-Riou
0392806018
Parser, populate SKOSConcept label
2023-12-04 13:56:14 +11:00
Gaetan Craig-Riou
9f209cac14
Fix rubocop warning
2023-12-04 13:56:14 +11:00
Gaetan Craig-Riou
633d0eadfe
Parser element, add label
2023-12-04 13:56:14 +11:00
Gaetan Craig-Riou
c61e982a76
Fix rubocop warning
2023-12-04 12:00:18 +11:00
Maikel Linke
48c6d0144d
Update stripe tests
2023-12-04 10:58:10 +11:00
Maikel
6b22227c5f
Merge pull request #11887 from openfoodfoundation/dependabot/bundler/json-2.7.0
...
chore(deps): bump json from 2.6.3 to 2.7.0
2023-12-04 10:53:43 +11:00
Filipe
f94d2c386c
Merge pull request #11863 from abdellani/11862-fix-product-shoud-not-be-priceless
...
product should not be priceless
2023-12-01 10:43:30 +00:00
dependabot[bot]
cdf87436f9
bump stripe from 10.1.0 to 10.2.0
...
---
updated-dependencies:
- dependency-name: stripe
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-01 10:08:51 +00:00
dependabot[bot]
ef58061cc0
chore(deps): bump json from 2.6.3 to 2.7.0
...
Bumps [json](https://github.com/flori/json ) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/flori/json/releases )
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md )
- [Commits](https://github.com/flori/json/compare/v2.6.3...v2.7.0 )
---
updated-dependencies:
- dependency-name: json
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-01 09:52:00 +00:00
Maikel Linke
72755840c0
Update specs for background reports
2023-12-01 15:22:34 +11:00
Maikel Linke
75467a0c65
Update specs for background reports
2023-12-01 15:22:34 +11:00
Maikel Linke
d1c73f86c0
Update specs for background reports
2023-12-01 15:22:34 +11:00
Maikel Linke
049df77558
Update specs for background reports
2023-12-01 15:22:34 +11:00
Maikel Linke
0b7cf86b5b
Update report spec for background reports
2023-12-01 15:22:34 +11:00
Maikel Linke
bbe37e1392
Update ReportsController for background reports
...
As it turns out, the background reports were missing a small feature to
store user preferences. Yay specs!
2023-12-01 15:21:42 +11:00
Maikel Linke
f28a8c87ab
Activate background report processing by default
...
Many report specs are still testing the old behaviour. We need to
migrate them to background reports. Some tests may be better as unit
tests instead of system tests.
2023-12-01 14:44:33 +11:00
Gaetan Craig-Riou
e846761e54
WIP Patch DFC connector to fix SKOS Concept parsing
...
This is to let us use intermediary SKOS Concept.
Upstream PR for more details: https://github.com/datafoodconsortium/connector-codegen/pull/10/files
2023-12-01 14:26:09 +11:00
Gaetan Craig-Riou
7c9d4f1342
Update all locales with the latest Transifex translations
v4.4.22
2023-12-01 11:22:35 +11:00
David Cook
dbb62c9820
Merge pull request #11881 from mkllnk/rswag
...
Help Dependabot to update rswag
2023-12-01 11:12:31 +11:00
David Cook
c35b82373e
Merge pull request #11867 from mkllnk/tos-spec
...
DRY Terms of Service spec to save time
2023-12-01 11:10:48 +11:00
Gaetan Craig-Riou
082f78c772
Merge pull request #11873 from dacook/viewcomponent-sidecar
...
ViewComponent sidecar
2023-12-01 10:44:13 +11:00
David Cook
9658223700
Merge pull request #11792 from filipefurtad0/invoice_printing_legal_invoices_feature
...
Adds a pending spec for legal invoices feature issue #11791
2023-12-01 09:11:51 +11:00
Maikel Linke
2bf480732d
Help Dependabot to update rswag
...
The rswag gem consists of three gem which are all maintained in the same
repository. So when one of the three gems is updated, the version of all
three gems is bumped. Dependabot was opening 3 independent pull requests
with the same release notes and linking to the same repository.
I hope that making the rswag gem a dependency will make Dependabot try
to update all gems together.
We are still listing two gems separately to be loaded in production.
They enable us to view the API documentation. But we don't need the
third gem rswag-specs in production. That one is only useful in tests.
2023-12-01 09:11:15 +11:00
Maikel
dd786312bf
Merge pull request #11876 from openfoodfoundation/dependabot/bundler/rswag-ui-2.13.0
...
chore(deps): bump rswag-ui from 2.12.0 to 2.13.0
2023-12-01 09:08:11 +11:00
Maikel
5bfb72f65f
Merge pull request #11875 from openfoodfoundation/dependabot/bundler/rswag-api-2.13.0
...
chore(deps): bump rswag-api from 2.12.0 to 2.13.0
2023-12-01 09:07:42 +11:00
Maikel
e54e9b2110
Merge pull request #11878 from openfoodfoundation/dependabot/bundler/rswag-specs-2.13.0
...
chore(deps-dev): bump rswag-specs from 2.12.0 to 2.13.0
2023-12-01 09:07:10 +11:00
Maikel
bc614c7b89
Merge pull request #11877 from openfoodfoundation/dependabot/bundler/knapsack_pro-6.0.0
...
chore(deps-dev): bump knapsack_pro from 5.7.0 to 6.0.0
2023-12-01 09:05:20 +11:00
Maikel Linke
08d0345967
Simplify feature selection in spec
2023-12-01 08:55:47 +11:00
filipefurtad0
3bf4e47d53
Sets shared example for invoice bulk printing
...
with legal invoices feature enabled and disabled
2023-11-30 12:44:49 +00:00
dependabot[bot]
22e9cf66e2
chore(deps-dev): bump rswag-specs from 2.12.0 to 2.13.0
...
Bumps [rswag-specs](https://github.com/rswag/rswag ) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.12.0...2.13.0 )
---
updated-dependencies:
- dependency-name: rswag-specs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-30 09:37:20 +00:00
dependabot[bot]
235d17a2b8
chore(deps-dev): bump knapsack_pro from 5.7.0 to 6.0.0
...
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 5.7.0 to 6.0.0.
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v5.7.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: knapsack_pro
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-30 09:30:00 +00:00
dependabot[bot]
4d9137a2a6
chore(deps): bump rswag-ui from 2.12.0 to 2.13.0
...
Bumps [rswag-ui](https://github.com/rswag/rswag ) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.12.0...2.13.0 )
---
updated-dependencies:
- dependency-name: rswag-ui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-30 09:28:58 +00:00
dependabot[bot]
58892b5a37
chore(deps): bump rswag-api from 2.12.0 to 2.13.0
...
Bumps [rswag-api](https://github.com/rswag/rswag ) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.12.0...2.13.0 )
---
updated-dependencies:
- dependency-name: rswag-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-30 09:19:25 +00:00
David Cook
58215727bc
[fixup]
...
- Style/ClassAndModuleChildren: Use nested module/class definitions instead of compact style.
- fix spec
2023-11-30 13:47:39 +11:00
Maikel
ccc460a990
Merge pull request #11868 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.141.0
...
chore(deps): bump aws-sdk-s3 from 1.140.0 to 1.141.0
2023-11-30 13:03:53 +11:00
David Cook
2013750732
Rename files to match recommended naming scheme
...
This naming scheme removes some duplication which is nice, but it's a little strange and results in a longer name overall. I don't like it very much because:
- filenames don't include the component's actual name. This makes it slightly harder to find them in my text editor (but I'd probably get used to that)
- the namespace and class naming isn't exactly right. This is _the_ vertical_ellipsis_menu, not a subcomponent.
- the stimulus controller name is now longer, adding more cruft to the HTML.
Lots of discussion here: https://github.com/ViewComponent/view_component/discussions/67
People tried to come up with a better way (and I was tempted to try myself). It seems this approach won. I guess it's not so bad if your component names are shorter.
2023-11-30 12:25:18 +11:00