Commit graph

844 commits

Author SHA1 Message Date
Krzysztof Żuraw
df1459949d
Experimental filters: add search params to query and unit tests (#4057) 2023-08-07 16:08:51 +02:00
Paweł Chyła
a63af3ab73
Assign channel to permission group (#3515) 2023-08-04 12:42:04 +02:00
Paweł Chyła
eba9ee6603
Fix sending available for purchase date on product update mutation (#3910) 2023-08-04 11:21:55 +02:00
Lukasz Ostrowski
a25a8db3d0
Inform about app replacements of plugins in plugins page (#4047)
* Inform about app replacements of plugins in plugins page

* Change Alert implementation to macaw Box
2023-08-03 15:53:58 +02:00
Krzysztof Żuraw
bb1f78d4e1
Fix couple of eslint rules (#4058) 2023-08-03 14:33:51 +02:00
Paweł Chyła
50011f86f2
Remove max width container (#4056) 2023-08-03 13:52:28 +02:00
Paweł Chyła
9037c9cfd1
Introduce datagrid on attributes list view (#4040) 2023-08-03 10:23:13 +02:00
Patryk Andrzejewski
4c43976270
Remove constraint for given filter when there is no depepdent element (#4052)
* Remove constraint when there is no dependency

* Remove constraint when there is no dependency

* Remove constraint when there is no dependency

* Remove constraint when there is no dependency

* Remove constraint when there is no dependency
2023-08-03 09:12:16 +02:00
Krzysztof Żuraw
504cfaac6e
Experimental filters: add unit tests for left operands and container state (#4053) 2023-08-02 15:50:53 +02:00
Krzysztof Żuraw
ae813a406e
Experimental filters: add unit tests and bump UI library (#4045) 2023-08-02 10:21:18 +02:00
Krzysztof Żuraw
a8794d41a8
Fix react/jsx-key ESLint rule (#4046) 2023-08-02 10:05:24 +02:00
Patryk Andrzejewski
8fb3b43295
Tests for Condition and FilterElement (#4043)
* Filters testing

* Filters testing
2023-08-02 09:47:36 +02:00
Krzysztof Żuraw
32d1a5b8c5
Experimental filters: add tests and fix wrong data send to core (#4039) 2023-08-01 11:37:06 +02:00
Krzysztof Żuraw
d38abfb16b
Experimental filters: warning banner for legacy filter presets (#4033) 2023-07-31 09:53:27 +02:00
Krzysztof Żuraw
e033d6bf99
Experimental filters: filter presets & date fixes (#4030) 2023-07-28 13:43:58 +02:00
Paweł Chyła
80ef369f8a
Change layout on list and details views to full width (#4013) 2023-07-28 09:32:43 +02:00
Timur Carpeev
6cf3ab325b
Make titles font stronger (#4001)
* Make titles stronger

* Add changeset

* Nudge style property

---------

Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-07-28 09:27:56 +02:00
Patryk Andrzejewski
436c2af00e
Handle oudside click for filters popover (#4021)
* Oudside click handler

* Oudside click handler

* Changeset
2023-07-28 09:27:18 +02:00
Patryk Andrzejewski
d08527f7db
Add fill handle for the grid (#3967) 2023-07-28 09:26:01 +02:00
Krzysztof Żuraw
f3a52d2e08
Experimental filters: additional empty values & full support for ranges (#4028) 2023-07-27 16:03:38 +02:00
Michał Droń
753b9f0c36
Add horizontal scrollbar to datagrid views (#4006)
* Add scrollbar

* Add changeset

* Add overflow-y: hidden to prevent scrolling to ghost row
2023-07-27 13:27:47 +02:00
Krzysztof Żuraw
be6adb28d5
Experimental filters: small bugfixes (#4019) 2023-07-27 10:34:59 +02:00
Krzysztof Żuraw
d9c600452c
Experimental filters: adjusts UI and fix types errors (#3996) 2023-07-26 11:39:24 +02:00
Patryk Andrzejewski
48e758e843
Validators for filters (#3976)
* Fix state triggering for filters

* Validation for filters

* Update types

* Change isFilterElement

* Change isFilterElement
2023-07-25 15:56:10 +02:00
Paweł Chyła
8592c6a4dc
Add order details new column picker (#3934)
Co-authored-by: Renata <renata.gajzlerowicz@gmail.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-07-25 15:13:57 +02:00
wojteknowacki
addd8840cd
test - user should be able to delete saved preset (#3989) 2023-07-24 15:39:47 +02:00
Krzysztof Żuraw
b6e6a1a532
Fix security deps (#3984) 2023-07-24 14:51:08 +02:00
Krzysztof Żuraw
d2074f4824
Experimental filters: add clear button and bumps UI to support ranges (#3975) 2023-07-24 14:45:52 +02:00
Michał Droń
a333adbb43
Customer list datagrid (#3940)
* Add default columns to customers list view

* Customer list datagrid implementation

* Fix types

* Remove old code

* Migrate some of the files to strict null checks

* Extract messages

* Add changeset

* Drop Tabs

* Fix filter presets typo

* Reuse bulk delete button

* Fix crashing presets

* Enlarge columns

* Extract to a separat function

* Fix race condition

* Fix type post-merge
2023-07-24 09:49:13 +02:00
wojteknowacki
2491055292
test for updating presets (#3977) 2023-07-24 09:47:11 +02:00
Patryk Andrzejewski
423d7cdc8b
Fix state triggering for filters (#3973) 2023-07-21 15:19:15 +02:00
Krzysztof Żuraw
5a6c255004
Experimental filters: add support for constrains on UI (#3969) 2023-07-21 11:26:48 +02:00
Patryk Andrzejewski
23bb5976c6
Dependencies between rows in filtering (#3956)
* Fields constraint

* Keep constraing on the channel level

* Keep constraing on the channel level
2023-07-20 16:53:00 +02:00
Paweł Chyła
52f58eb00a
Introduce datagrid on Discounts list (#3939)
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-07-19 15:31:13 +02:00
Krzysztof Żuraw
33b4199cec
Experimental filters: fetch products based on selected filters (#3955) 2023-07-19 15:22:43 +02:00
Michał Droń
fa0e142829
Fix symbol-description ESLint rule (#3954)
* Add symbol descriptions

* Set symbol-description to error & bump migration

* add changeset
2023-07-19 15:13:35 +02:00
Krzysztof Żuraw
dd50f95b55
Experimental filters: add empty state and adjust popover ui (#3950) 2023-07-19 11:29:03 +02:00
Patryk Andrzejewski
4e8942f90e
Cover attributes based on inputType (#3945)
* Cover attributes based on inputType

* Changeset

* Remove logs

* Lint
2023-07-18 14:55:56 +02:00
Krzysztof Żuraw
5e6794fa99
Experimental filters: new popover ui (#3944) 2023-07-18 12:40:50 +02:00
Paweł Chyła
b66af99477
Migrate Home page to new macaw (#3737) 2023-07-18 12:01:15 +02:00
Patryk Andrzejewski
a7d39d7f19
Add all static fields to be used in filtering products (#3912)
* Add all static fields

* Changeset

* Add all static fields

* Fix types

* Remove unused entries
2023-07-14 15:27:44 +02:00
Krzysztof Żuraw
423858e86f
Experimental filters: fix providers issues (#3931)
* feat: fast fixes

* fix: cleanup code

* chore: add changeset
2023-07-14 11:01:57 +02:00
Paweł Chyła
8dd453d6d7
Introduce common bulk delete button and improve copy (#3900) 2023-07-13 11:01:07 +02:00
Krzysztof Żuraw
fcd64f65eb
Experimental filters: use context for data providers (#3899) 2023-07-13 09:31:16 +02:00
Michał Droń
66976d547b
Drop dynamic column toggles in column picker (#3878)
* Drop dynamic column toggles

* Replace removal icon

* Add changeset

* Add docs

* Update docs

* Fix types on order draft datagrid

* Adjust collections column picker to new architecture

* Adjust categories column picker to new architecture

* Test column picker: adding, removing and searching for dynamic columns in picker (#3901)

* test - column picker. Adding, removing and searching for dynamic columns in picker.

* update tests tame with TC ids

* removed unused row checks on products list view

* Lint files

---------

Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
2023-07-12 13:59:17 +02:00
Patryk Andrzejewski
2074915055
Product query vars (#3897) 2023-07-12 10:06:26 +02:00
Patryk Andrzejewski
4652f56531
Refactor initial index for filtering (#3893)
* Refactor initial index

* Changeset

* Ignore handler

* Fix linter

* Fix linter

* Lift up providers

* Delete FIltersArea.tsx
2023-07-11 09:30:18 +02:00
Paweł Chyła
4ad8c15366
Collections listing datagrid (#3835)
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
2023-07-11 08:59:01 +02:00
Krzysztof Żuraw
03d9e92c97
Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
Paweł Chyła
0ea8f32378
Use Accordion component from new macaw (#3712) 2023-07-10 10:24:34 +02:00