Jean-Baptiste Bellet
|
069b314ae7
|
Add producer and category to a product in the table
+ refactor and automatize optional column rendered
|
2022-12-07 15:08:53 +01:00 |
|
Jean-Baptiste Bellet
|
7716d2734e
|
Title of the items per page selector is clearer
|
2022-12-07 15:08:53 +01:00 |
|
Jean-Baptiste Bellet
|
8adcdf14a7
|
Include search by category and producer
+ use ransack (not sur this one is relevant)
+ fetch_products in the `before_render` lifecycle method
|
2022-12-07 15:08:52 +01:00 |
|
Jean-Baptiste Bellet
|
4fa88b9c18
|
Fatorize CSS between Selector and SuperSelector components
|
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
|
d4cfa7b368
|
Add header to the table
|
2022-12-07 15:08:52 +01:00 |
|
Jean-Baptiste Bellet
|
5c5a0c98f1
|
Rename selected to columns_selected
|
2022-12-07 15:08:52 +01:00 |
|
Jean-Baptiste Bellet
|
8ce3c9f449
|
Introduce a new selector: # of results per page
|
2022-12-07 15:08:52 +01:00 |
|
Jean-Baptiste Bellet
|
5ea7bea9b8
|
Selector now handle {label, value} instead of only string
|
2022-12-07 15:08:52 +01:00 |
|
Jean-Baptiste Bellet
|
461d31bef1
|
Create ProductsTable component that handle the table + all filters
|
2022-12-07 15:08:52 +01:00 |
|
Jean-Baptiste Bellet
|
8758a2701c
|
Configure CSS for VC components
Move CSS for components in the component directory
|
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
|
7692cebbd3
|
Create Product component
Update product_component.html.haml
|
2022-12-07 15:08:52 +01:00 |
|
Jean-Baptiste Bellet
|
14a258c661
|
Attempt: externalize ofn-drop-down-v2 selector
+ add class `redesigned-checkbox` on `input`
Move `input.redesigned-input` definition outside dropdown definition
--> more generic
|
2022-10-12 09:28:50 +02:00 |
|
Jean-Baptiste Bellet
|
8a6874326a
|
selected could be nil if no columns are selected
|
2022-10-11 10:05:06 +02:00 |
|
Jean-Baptiste Bellet
|
230afd5024
|
Update multiple_checked_select_component.html.haml
|
2022-10-11 10:05:06 +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
|
e655d5b188
|
Remove useless id attribute. Prefer to use data-value directly.
|
2022-10-11 10:05:06 +02:00 |
|
Jean-Baptiste Bellet
|
7d15baef9d
|
Do not use a variable filter_placeholder but translate it in the view
|
2022-10-11 10:05:06 +02:00 |
|
Jean-Baptiste Bellet
|
312f2544dd
|
Be sure that option key is a Symbol (it could be a String)
|
2022-10-11 10:05:06 +02:00 |
|
Jean-Baptiste Bellet
|
157bdd9f3d
|
Add a vertical scrolling
|
2022-10-11 10:05:06 +02:00 |
|
Jean-Baptiste Bellet
|
b4e041c7e9
|
Implements the ofn-drop-down-v2 design
|
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 |
|
Cillian O'Ruanaidh
|
4162830bee
|
Switch help modals from angular templates to use ViewComponent and StimulusJs
|
2022-04-20 09:36:30 +10:00 |
|
Jean-Baptiste Bellet
|
4781d6cc84
|
Add new (and first) component: DistributorTitle
- Simple wrapper around `<h3 />` for distributor title, used in the shop front
|
2021-04-22 15:08:54 +02:00 |
|
Jean-Baptiste Bellet
|
6c37461c37
|
Create very first component
- With command: `rails generate component Example title --sidecar`
- Delete generated spec file
|
2021-04-22 15:08:54 +02:00 |
|