Filipe
4ea1dd68af
Merge pull request #9023 from apricot12/8908-Access-Enterprise-perms-from-setting-page
...
Enterprise can access permissions from enterprise edit page
2022-04-21 13:21:27 +01:00
Cillian O'Ruanaidh
4162830bee
Switch help modals from angular templates to use ViewComponent and StimulusJs
2022-04-20 09:36:30 +10:00
Filipe
4009f3313f
Merge pull request #8814 from Matt-Yorkley/tom-select
...
Introduce new select/dropdown library
2022-04-15 18:08:08 +01:00
Jean-Baptiste Bellet
1c68293cac
Display remaining stock for variant in the shopfront
...
Display only if all conditions are met:
- Variant is not a bulk buy
- Shop preference is true for `preferred_product_stock_display`
- Only 3 (or less) items are remaining in stock
- No item for this variant is already to cart
2022-04-15 10:53:28 +10:00
Nihal Mohammed
d23846bfa2
Add Enterprise Settings to admin enterprises edit side menu, adds redirect_function to side menu services.
2022-04-13 17:03:04 +05:30
Maikel
e6c65f524a
Merge pull request #9033 from seballot/select2-multiple
...
select2: improve style
2022-04-13 09:37:13 +10:00
Matt-Yorkley
7181694401
Include the little search icon for dropdowns with a search box
2022-04-05 18:56:52 +01:00
Matt-Yorkley
be9156d40f
Refactor dependant-selector further and (conditionally) update TomSelect if present
...
I'm also introducing a convention here of adding a `private` comment to visually demarcate which methods are meant to be part of the public interface of the class and which aren't. The methods aren't *actually* private in any technical sense, it's just a bit of syntactic sugar to allow the intention to be communicated more clearly in the code's structure.
2022-04-05 18:56:51 +01:00
Matt-Yorkley
09bd7126d8
Replace/remove a custom select2 Angular directive
2022-04-05 18:56:51 +01:00
Matt-Yorkley
9bce2ca64c
Allow initializing with custom TomSelect configurations
2022-04-05 18:56:51 +01:00
Matt-Yorkley
fedfeb6dd3
Add dropdown "primary" style with blue instead of white
2022-04-05 18:56:51 +01:00
Matt-Yorkley
5e3e8c32c3
Create a simple Stimulus controller and add basic styling
2022-04-05 18:56:51 +01:00
Filipe
f29dc3f978
Merge pull request #9009 from jibees/9007-already-opened-cart
...
SplitCheckout: add already opened cart message on summary step when distributor allow order changes
2022-04-01 13:29:34 +01:00
Filipe
be1c255067
Merge pull request #8892 from Matt-Yorkley/spree-login-routes
...
Fix issue with unconfirmed email messages
2022-03-28 13:38:17 +01:00
Sebastian Castro
66cdd56428
select2-light: make it looks like normal select
2022-03-24 10:44:18 +00:00
Sebastian Castro
9e55a306ee
select2-multiple: improve style
2022-03-22 16:32:29 +00:00
Filipe
53544ee66a
Merge pull request #8805 from cillian/remove-inline-advanced-settings-toggle-js
...
Replace inline JS for toggling order cycle advanced settings with StimulusJs controller
2022-03-17 16:05:46 +00:00
Jean-Baptiste Bellet
6f6ad05ac2
Factorize some css rules for panel
2022-03-17 16:47:16 +01:00
Jean-Baptiste Bellet
ac361d3b64
Add already_opened on each step
2022-03-17 16:47:16 +01:00
jibees
d4a4a36b14
Merge pull request #8766 from jibees/8477-cancel-order-and-send-confirmation-email-on-last-item-deletion
...
Edit order: on last item deletion, cancel the order and conditionally send cancellation email to consumer
2022-03-11 08:56:41 +01:00
Matt-Yorkley
3effff8821
Show resent confirmation message in current tab
2022-02-18 09:42:49 +00:00
Jean-Baptiste Bellet
d858d6f941
Improve design by aligning cell on right but with padding
2022-02-11 11:09:54 +01:00
Jean-Baptiste Bellet
8624fa2a85
On last item deletion, prevent user on order canceling and cancellation email
...
... with a modal.
User can cancel the modal or confirm the last item deletion & order cancelation with or without sending a cancellation email to the consumer.
2022-02-10 14:39:00 +01:00
Cillian O'Ruanaidh
b43a68d717
Merge branch 'master' into remove-inline-advanced-settings-toggle-js
2022-02-04 12:24:17 +00:00
Cillian O'Ruanaidh
05756616dd
Add a remote-toggle controller that can toggle elements outside of its scope
...
This is instead of adding the :data-controller attribute to the div#wrapper because that will wrap pretty much all content on the admin pages.
Co-authored-by: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com >
2022-02-04 12:23:24 +00:00
Cillian O'Ruanaidh
d03b52a163
Revert "Replace inline JS for toggling order cycle advanced settings with StimulusJs controller"
...
This reverts commit 67ae2e72f3 .
2022-02-04 11:47:38 +00:00
Filipe
e403fc171d
Merge pull request #8808 from Matt-Yorkley/login-modal
...
Remove all Angular code from Login/Signup process
2022-02-03 19:36:44 +00:00
Filipe
c4751d7056
Merge pull request #8813 from Matt-Yorkley/split-checkout-address-state
...
Split checkout: fix loading of saved addresses
2022-02-03 19:06:35 +00:00
Filipe
787b643832
Merge pull request #8818 from jibees/8793-specify-a-min-width-for-radio-input
...
Split checkout: specify a min width for radio input that improve the rendering on iOS
2022-02-02 18:31:27 +00:00
Filipe
998f7afdc4
Merge pull request #8523 from seballot/progress-for-ajax-request
...
Improve loading spinner display
2022-02-01 10:03:04 +00:00
Filipe
012527522c
Merge pull request #8640 from jibees/8630-make-buttons-sticky
...
Make split checkout buttons sticky on step 3
2022-02-01 09:41:33 +00:00
Matt-Yorkley
5eb88e020c
Extract/clarify methods in tabs_controller
2022-01-31 16:35:41 +00:00
Jean-Baptiste Bellet
d97381548a
Specify a min width for radio
2022-01-31 15:50:37 +01:00
Jean-Baptiste Bellet
da6be441f8
Make sticky buttons fullwidth on mobile
2022-01-31 11:47:35 +01:00
Jean-Baptiste Bellet
fdeadd0940
Reduce margin on step3 since the container could be a little too high
2022-01-31 11:31:32 +01:00
Jean-Baptiste Bellet
293bc10dde
Create a sticky controller that handle the sticky position of an element
...
.. at the bottom
And then add the sticked class to this element if the element is actually sticked
2022-01-31 11:31:32 +01:00
Jean-Baptiste Bellet
3abef1b703
Specify css for this sticky container
...
with a nice box-shadow.
Handle special case for mobile view (ie. max width 700px)
2022-01-31 11:31:32 +01:00
Matt-Yorkley
5f02ab79d4
Adjust animation handling for show/hide
2022-01-31 10:02:09 +00:00
Matt-Yorkley
908a22bcb6
Don't repopulate states select on page load; breaks pre-filling selection from saved address
2022-01-30 11:33:31 +00:00
Matt-Yorkley
bf4428b688
Tidy up dependent-select controller
2022-01-30 11:33:31 +00:00
Matt-Yorkley
13a7fb79cf
Move more login handling out of Angular
2022-01-29 14:49:23 +00:00
Matt-Yorkley
77d8e7da90
Use non-Angular login modal in /registration pages
2022-01-29 14:49:23 +00:00
Matt-Yorkley
a522e597e1
Add Matamo event
2022-01-29 14:49:23 +00:00
Matt-Yorkley
0577b46f3f
Create simpler non-Angular login modal
2022-01-29 14:49:23 +00:00
Matt-Yorkley
04da148af0
Decouple login modal opening from Angular
2022-01-29 10:08:51 +00:00
Cillian O'Ruanaidh
67ae2e72f3
Replace inline JS for toggling order cycle advanced settings with StimulusJs controller
...
Partially addresses #8699 .
This adjusts the Stimulus toggle controller so you can toggle content in both directions via a single element. This is in addition to the previous behaviour for toggling via multiple elements like radio buttons when each element always toggles in one direction only.
If a toggle element contains a chevron icon this will automatically toggle the direction of that icon too.
Note, in order to not have to re-implement the animation provided by the slideToggle() function in standard JavaScript, this just switches the style :display between 'none' and 'block' so it is not as smooth. Perhaps it could be made more smooth later with a CSS transition.
2022-01-28 16:19:36 +00:00
Matt-Yorkley
4ace7efd97
Fix visual regression on filter buttons
2022-01-28 10:40:01 +00:00
Filipe
54083ea803
Merge pull request #8738 from jibees/add-locale-to-stripe-elements
...
Add locale to stripe elements options to display stripe error messages in globale interface chosen language
2022-01-26 19:01:37 +00:00
Filipe
30b3b7455d
Merge pull request #8717 from jibees/6139-improve-radio-button-on-split-checkout
...
SplitCheckout: adjust display of long shipping method or payment method label
2022-01-25 16:32:38 +00:00
Filipe
f17226ffbe
Merge pull request #8438 from cillian/show-out-of-stock-line-items
...
If an order has out of stock line items display them and let admins remove them
2022-01-24 12:18:19 +00:00