Rachel Arnould
aecb55beb3
Merge pull request #11660 from dacook/products_v3_path
...
Hide old products screen when admin_style_v3 enabled
2023-10-17 10:45:01 +02:00
Gaetan Craig-Riou
d2952d46a6
Add the highlighted version of the "ship" icon
2023-10-17 13:35:01 +11:00
Gaetan Craig-Riou
7ce3fea7d5
Refactor tooltip on the backoffice orders page
2023-10-17 13:35:01 +11:00
Gaetan Craig-Riou
6a1664d2fd
Refactor "What's this" tooltip
2023-10-17 13:33:15 +11:00
Gaetan Craig-Riou
01a13a814a
Improve tooltip partial
2023-10-17 13:33:15 +11:00
Gaetan Craig-Riou
4639e53673
Remove insertToolTipMarkup
...
It's not great to have Stimulus controller rendering markup on `connect`
Stimulus is intended to add behavior to existing markup.
Plus add some documentation
2023-10-17 13:33:15 +11:00
Gaetan Craig-Riou
31c537c5e0
Revert to using morph instead of cable_ready
...
The issue is with with the stimilus tooltip controller, it add some
element to the DOM which create issue when it's modified by
StimulusReflex. See here for a more detailed explanation:
https://github.com/stimulusreflex/stimulus_reflex/issues/314#issuecomment-702479357
2023-10-17 13:33:15 +11:00
Jean-Baptiste Bellet
3525320590
We should use cable_ready.inner_html instead of morph
...
To be sure that every stimulus controllers attached to the DOM that is replaced is will connected.
What I saw is that when using `morph`, the stimulus controller (specially `tooltip_controller`) were not attached to the DOM (and not disconnected as well) that triggered some errors in the console.
Adds test case for payment capture thanks to @filipefurtad0
2023-10-17 13:33:15 +11:00
David Cook
ad9048c595
Merge pull request #11627 from dacook/reflex-locale
...
Ensure dynamic modals always use selected locale
2023-10-17 10:23:58 +11:00
Maikel Linke
c0938d1607
Simplify view with number helpers
2023-10-16 16:37:47 +11:00
Maikel Linke
fcb6e36480
Format money amounts according to locale
...
It used to be formatted according to the currency. So even if the
default currency is USD but your locale is French then you should see it
formatted as $10.000,00 instead of the US formatting of $10,000.00.
2023-10-16 11:19:11 +11:00
Maikel
c87a10a855
Merge pull request #11672 from openfoodfoundation/dependabot/bundler/bullet-7.1.2
...
chore(deps-dev): bump bullet from 7.1.1 to 7.1.2
2023-10-16 10:54:38 +11:00
Maikel
ba00106e38
Merge pull request #11671 from openfoodfoundation/dependabot/bundler/acts-as-taggable-on-10.0.0
...
chore(deps): bump acts-as-taggable-on from 9.0.1 to 10.0.0
2023-10-16 10:54:12 +11:00
dependabot[bot]
d76dbb3592
chore(deps-dev): bump bullet from 7.1.1 to 7.1.2
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 7.1.1 to 7.1.2.
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flyerhzm/bullet/compare/7.1.1...7.1.2 )
---
updated-dependencies:
- dependency-name: bullet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-15 23:24:48 +00:00
dependabot[bot]
c4adcf93c0
chore(deps): bump acts-as-taggable-on from 9.0.1 to 10.0.0
...
Bumps [acts-as-taggable-on](https://github.com/mbleigh/acts-as-taggable-on ) from 9.0.1 to 10.0.0.
- [Release notes](https://github.com/mbleigh/acts-as-taggable-on/releases )
- [Changelog](https://github.com/mbleigh/acts-as-taggable-on/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mbleigh/acts-as-taggable-on/compare/v9.0.1...v10.0.0 )
---
updated-dependencies:
- dependency-name: acts-as-taggable-on
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-15 23:23:51 +00:00
Maikel
9c5b986ab6
Merge pull request #11664 from openfoodfoundation/dependabot/bundler/rubocop-1.57.1
...
chore(deps-dev): bump rubocop from 1.57.0 to 1.57.1
2023-10-16 10:05:14 +11:00
Maikel
08e799c5fa
Merge pull request #11663 from dacook/tag_release
...
Update tag_release script
2023-10-16 10:02:41 +11:00
drummer83
c2b82651ee
Don't show credit owed when = 0
2023-10-13 20:51:12 +02:00
Konrad
246fceb214
Merge pull request #11634 from lauriejefferson/11610-left-align-all-table-content
...
[BUU] Left-align headers of new orders table
2023-10-13 19:58:09 +02:00
David Cook
6e6854f564
Fix payment state indicator
...
Now the correct class is added, we can see the little coloured circles again.
2023-10-13 19:25:12 +02:00
lauriejefferson
e234b71b25
removed empty spaces
2023-10-13 19:25:12 +02:00
lauriejefferson
2020a9fa76
changed table row alignment to align-left and removed padding from table header
2023-10-13 19:25:12 +02:00
Konrad
5859d2ff78
Merge pull request #11114 from lauriejefferson/not-paid-order-confirmations-resemble-paid-orders-7603
...
Not paid order confirmations resemble paid orders 7603
2023-10-13 18:52:10 +02:00
Konrad
d7b234c062
Merge pull request #11593 from rioug/11363-vouchers-fix-tax-included-in-price-amount
...
[Vouchers] Fix tax included in price amount
2023-10-13 18:22:11 +02:00
David Cook
8f30b27b58
Guard against nil values
...
These are validated and shouldn't be nil, but I suspect we have corrupt data causing problems here.
2023-10-13 15:54:24 +02:00
David Cook
a0b64cb58a
Remove unnecessary set_locale calls
...
The locale is now set in ApplicationReflex
2023-10-13 15:54:24 +02:00
David Cook
2915048afa
Always set locale for reflexes
...
I considered using I18nHelper like we do in controllers, but that is for choosing a locale, which we don't need to do for reflexes.
2023-10-13 15:54:24 +02:00
dependabot[bot]
52498b6bf4
chore(deps-dev): bump rubocop from 1.57.0 to 1.57.1
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.57.0 to 1.57.1.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.57.0...v1.57.1 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-13 09:58:15 +00:00
David Cook
9276469c53
Update checklist
2023-10-13 11:56:21 +11:00
David Cook
4eb169ea0d
Add a shortcut to draft new release
...
Next time, we can add a script to randomly choose a food-related release name ;)
2023-10-13 11:30:25 +11:00
David Cook
a13c95433e
Merge pull request #11548 from macanudo527/add_foreign_key_script
...
Add Spec that Generates Migrations for Missing Foreign Keys
v4.4.15
2023-10-13 11:20:47 +11:00
David Cook
0b2a0d9e58
Update all locales with the latest Transifex translations
2023-10-13 11:15:45 +11:00
David Cook
655c16cca0
New bulk products screen shares path with old
...
The feature toggle will determine which bulk products screen shows. An additional products_old path is also temporarily added for easy reference.
Later, when the old screen is full removed, we'll probably rename the _v3 classes to tidy up.
2023-10-13 10:39:45 +11:00
Maikel
45db61be53
Merge pull request #11655 from openfoodfoundation/dependabot/bundler/devise-4.9.3
...
chore(deps): bump devise from 4.9.2 to 4.9.3
2023-10-13 08:30:08 +11:00
Maikel
604cc10c3f
Merge pull request #11654 from openfoodfoundation/dependabot/bundler/rubocop-1.57.0
...
chore(deps-dev): bump rubocop from 1.56.4 to 1.57.0
2023-10-13 08:29:29 +11:00
lauriejefferson
43232a5d63
removed not-paid styling for credit owed
2023-10-12 11:50:30 -04:00
Konrad
cc8898e074
Merge pull request #11219 from abdellani/fix-tax-rates-rendering-when-invoice-enabled
...
fix Viewing an invoice with the instance's invoice setting set to alternative model leads to an error 500
2023-10-12 17:47:27 +02:00
Konrad
26fa85d89b
Merge pull request #11651 from HillaryOkello/master
...
Display ordered lists uniform with unordered lists in Trix editor
2023-10-12 17:00:43 +02:00
Konrad
f87186373c
Merge pull request #11647 from dacook/image-validation
...
Only validate image when changed
2023-10-12 15:42:22 +02:00
Maikel Linke
702f3b7784
Notify user about errors raised in reports
2023-10-12 16:31:13 +11:00
Maikel Linke
f61a2fa2bf
Rescue errors in report generation
...
So we can report them to Bugsnag and the job isn't marked as failed and
therefore won't repeat.
2023-10-12 16:01:52 +11:00
Maikel Linke
477ca39e58
Update spec
2023-10-12 15:40:06 +11:00
Maikel Linke
f4fde0a42c
Trying to clarify voucher tax amount
...
The whole concept is confusing. Maybe translators will find better
versions.
2023-10-12 15:20:17 +11:00
Maikel Linke
f83e78a5b8
Clarify adjustment data only for display
...
We are not creating a new adjustment here.
2023-10-12 15:16:38 +11:00
Maikel Linke
74c8f06e80
Simplify helper with extracted method
2023-10-12 14:17:41 +11:00
Maikel Linke
45dd5cc40a
Style/SingleLineDoEndBlock: Prefer multiline do...end block
2023-10-12 10:10:42 +11:00
dependabot[bot]
4b38817aff
chore(deps-dev): bump rubocop from 1.56.4 to 1.57.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.56.4 to 1.57.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.56.4...v1.57.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-11 22:55:03 +00:00
Maikel
17c1ccc509
Merge pull request #11653 from openfoodfoundation/dependabot/bundler/paranoia-2.6.3
...
chore(deps): bump paranoia from 2.6.2 to 2.6.3
2023-10-12 09:52:39 +11:00
Maikel
e3e7031a91
Merge pull request #11649 from openfoodfoundation/dependabot/bundler/rswag-specs-2.11.0
...
chore(deps-dev): bump rswag-specs from 2.10.1 to 2.11.0
2023-10-12 09:51:41 +11:00
Maikel
5526006add
Merge pull request #11652 from openfoodfoundation/dependabot/bundler/responders-3.1.1
...
chore(deps): bump responders from 3.1.0 to 3.1.1
2023-10-12 09:27:56 +11:00