Rachel Arnould
fd95970774
Merge pull request #8996 from jibees/introduce-backoffice-ui-uplift
...
Introduce backoffice UI uplift
2022-12-14 14:20:43 +01:00
Jean-Baptiste Bellet
3cf01623da
Handle filtering on js controller for SelectorWithFilter
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
274ee2c6f6
Toggle is now controlled by the browser (and don't requires a reflex)
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
940b554d23
Toggle is now controlled by the browser (and don't requires a reflex)
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
fbf2315a93
Rename SuperSelector to SelectorWithFilter
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
3ae5db907a
Create js controller for ProductsTable component
...
Handle before/after reflex lifecycle methods on client side
Add 'loading" class on products-table component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
122677bc7a
Create SearchInput component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
22d13621f4
Only send close reflex if element is actually visible
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
224daf2591
Factorize js controller between Selectore and SuperSelector components
...
+ add a computeItemsHeight on afterReflex callback
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
1adb22be71
Create SelectorWithFilter component
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
2b7bccf890
Create Selector component
...
Add a onClickOutside behavior that close the component if clicked outside
Selector component doesn't handle its state but receive props from parent
u
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
1869536529
Install view_component_reflex + cable_ready
...
+ Add stimulus reflex in the admin section
+ log stimulusreflex
+ Create channel and connection
+ Some logging options
+ Create application_controller each stimulus reflex controller should inherits from this one
2022-12-07 15:08:52 +01:00
binarygit
2f037c3965
Fix: Transparent background of 'Complete Order' area on Firefox mobile
2022-12-07 12:21:03 +05:45
jibees
1fcc98af80
Merge pull request #10026 from abdellani/make_default_time_at_00_00_instead_of_12_00
...
Make default time at 00 00 instead of 12 00
2022-12-01 17:43:08 +01:00
Mohamed ABDELLANI
9dc3f2d69e
add new parameter defaultDate to flatpickr to decide the default value when selector is opened
2022-11-29 11:12:33 +01:00
Konrad
ddd0b939fe
Merge pull request #9968 from openfoodfoundation/9964-xero-reports-bugnsag-error-missing-target-element-checkbox-for-csv-select-controller
...
Xero report: Avoid js error due to missing element, check it exists before setting any properties
2022-11-27 19:20:16 +01:00
binarygit
8fc721c651
[Admin, Enterprise Settings] Show spinner when enterprise sells changes
2022-11-13 16:24:35 +05:45
Jean-Baptiste Bellet
4f265eed2a
Check that target exists before setting properties
...
In case of Xero reports, there are no checkbox
2022-11-10 09:55:36 +01:00
Jean-Baptiste Bellet
bdf132a833
Format file according to our prettier configuration
2022-11-10 09:49:28 +01:00
Jean-Baptiste Bellet
228e484f02
Flatpicker instance can now handle flatpickr:change event
...
With:
```
detail: {
startDate: "2022-10-02",
endDate: "2022-10-10"
}
```
2022-11-03 16:57:03 +01:00
jibees
cd641cc5d6
Merge pull request #9714 from openfoodfoundation/dependabot/npm_and_yarn/tom-select-2.2.1
...
Bump tom-select from 2.1.0 to 2.2.1
2022-10-13 11:30:13 +02:00
Jean-Baptiste Bellet
41e696282c
Don't build inputs, but directly use input checkbox for each option
...
way simpler this way.
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
23e2d28488
Implements the filter options feature
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
b7adc5f551
Create the MultipleCheckedComponent
...
+ Associate the StimulusController to this component
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
1f329e85bc
Also include plugins
2022-10-10 17:15:46 +02:00
Jean-Baptiste Bellet
4140e3d153
Import tom-select file directly
...
can't use "tom-select" anymore, due to a mis-configuration with babel I guess
2022-10-10 16:10:33 +02:00
Jean-Baptiste Bellet
f5ebc797c4
Send change event on flatpickr widget close
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
ea76615763
Forward focus event on calendar open
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
6ec3e7ee0c
Only send event change on valid range (ie. both start and end date)
...
+ do not refresh data on start date change but only on end date change
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
ec4d091c2e
Remove the or label as it was unecessary
...
and actually, untranslated
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
19584ce6e0
flatpickr controller is now ready to be used in range mode
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
8942d3d17b
Clear date on custom event flatpickr_clear
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
ddfbcacd83
Include plugins
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
c3a7acf9ad
import locale
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
b1fd6d9541
Create the flatpickr date|datetime controller
2022-10-08 16:36:26 +02:00
Cillian O'Ruanaidh
7e40ad39cb
Bring back select all checkboxes on order cycle checkout options form.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
4b0b4ad991
Revert "Use a more simple layout on the order cycle checkout options form"
...
This reverts commit 0dddaa6c2b9f1925adca6ff8deac8181691ae119.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
8e47949260
Check 'Select all' checkboxes on page load if all its checkboxes are checked
...
This means the code to set the initial value in the view template isn't needed.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
0673f9a5ae
Use a more simple layout on the order cycle checkout options form
...
Before there was a row for each distributor and a 'shared' row for shipping methods which were shared among more than one distributor. This layout displays a single list of shipping methods with the distributor or distributors it belongs to beside it as suggested by @lin-d-hop
2022-09-30 13:13:39 +01:00
binarygit
ebe4a3d6ab
Add StimulusReflex
2022-09-29 16:03:45 +02:00
Maikel
44bf63137a
Merge pull request #9606 from binarygit/remove-angular-from-address
...
Remove Angular from Address Tab
2022-09-12 13:49:54 +10:00
binarygit
0cfe842bd6
Fix typo: dependant to dependent in dependent-select controller
2022-09-05 09:52:27 +05:45
binarygit
8861b6d077
Replace permalinks angular ctrl with stimulus
2022-08-31 10:06:51 +05:45
binarygit
52b1f40acb
Replace select2 with tom-select in primary details tab
2022-08-31 10:06:51 +05:45
Filipe
8ace56956b
Merge pull request #9560 from binarygit/replace-tooltip
...
Replace tooltip on Enterprise Settings /contact page
2022-08-30 16:23:09 +01:00
binarygit
b76d9045ce
Replace power-tip in enterprises/edit/<name>/contact with floatingUI
2022-08-24 13:31:45 +05:45
Filipe
b992daa1d8
Merge pull request #9510 from binarygit/convert-enterprises/edit-page-to-stimulus
...
Convert enterprises/edit page to stimulus
2022-08-17 18:11:59 +01:00
Filipe
de990b906d
Merge pull request #9563 from aintluks/bulk-coop-report-csv
...
Disable header row bulk_coop report
2022-08-17 16:43:37 +01:00
Lucas da Costa
2a9db0eea4
Disable header row bulk_coop report
2022-08-16 16:32:19 -03:00
binarygit
6b56a8df0a
Display/hide side-menu items when values in primary details change
2022-08-10 15:11:53 +05:45