Commit graph

38 commits

Author SHA1 Message Date
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
Timur Carpeev
de098fd520
Order page nudges (#3671)
* Capitalize first letter

* Use small pills

* Add default title

* Shorten button label

* Move action button to the right

* Update messages

* Harmonize styles

* Align rows

* Update src/orders/components/OrderTransaction/components/TransactionEvents/components/EventStatus.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Update src/orders/components/OrderTransaction/components/CardTitle/CardTitle.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Update src/orders/components/OrderTransaction/components/CardTitle/CardTitle.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Update src/orders/components/OrderTransaction/components/TransactionEvents/components/EventType.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Fix import

* Extract messages

* Fix spacing

* Changeset

---------

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: Paweł Chyła <pawel.chyla@saleor.io>
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-07-10 15:06:11 +02:00
Paweł Chyła
391b429fce
Introduce new column picker in Order Draft list (#3869) 2023-07-10 11:28:25 +02:00
Paweł Chyła
0ea8f32378
Use Accordion component from new macaw (#3712) 2023-07-10 10:24:34 +02:00
Carlos Ramírez
093388c46f
Add rowHeight prop to Datagrid component (#3888)
* Add rowHeight prop to Datagrid component

* Add changeset
2023-07-10 09:48:19 +02:00
Patryk Andrzejewski
6d6d1588b3
Start mapping selected filters to query variables (#3886)
* Initial variables mapping

* Changeset
2023-07-10 09:47:03 +02:00
Krzysztof Żuraw
cc0e0e58f3
Experimental filters: refactor API hooks (#3882) 2023-07-10 08:17:30 +02:00
Michał Droń
1c9291932a
Enable no-console ESLint rule (#3871)
* Enable no-console

* Lint files

* Add changeset
2023-07-06 14:37:22 +02:00
Paweł Chyła
3093be1b7d
Drop deprecated field in transactionsAPI (#3873) 2023-07-06 13:01:10 +02:00
Paweł Chyła
f71e0b762c
Fix customer is not present on the order list page (#3823) 2023-07-06 11:05:51 +02:00
Patryk Andrzejewski
05ff533731
Fix null-checks for filters (#3868)
* Fix null checks

* Changeset

* Cr
2023-07-06 10:44:22 +02:00
Patryk Andrzejewski
4433a9463a
Refactor filter container (#3867)
* Refactor filter container

* Changeset

* Lint
2023-07-05 16:32:34 +02:00
Patryk Andrzejewski
8fbf0d4a88
Display hash commit instead of version on main. (#3840)
* Set commit hash on main

* Changeset

* Set commit hash on main

* Update .github/workflows/deploy-master-staging.yaml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
2023-07-05 16:02:38 +02:00
Krzysztof Żuraw
f8c9317ede
Experimental filters: Type initial API calls (#3864) 2023-07-05 15:05:43 +02:00
Patryk Andrzejewski
52bac3b8f5
Storing filter value by left operand (#3866)
* Update expression value

* Changeset

* Fix linter
2023-07-05 14:12:16 +02:00
Patryk Andrzejewski
97e4401897
Implement url management, clan up UrlEntry (#3858)
* UrlEntry clean up, fix types

* Changeset
2023-07-05 13:28:46 +02:00
Paweł Chyła
e37c8ce44c
Refactor product list datagrid to use new hooks (#3845) 2023-07-05 12:29:05 +02:00
Paweł Chyła
d282769fd9
Refactor order list datagrid to use new hooks (#3846) 2023-07-05 12:28:22 +02:00
Michał Droń
8d16513eab
Enable method signature style ESLint rule (#3849)
* Remove redundant rules handled by prettier

* Turn on method-signature-style

* Auto-lint files according to method-signature-style rule

* Add changeset
2023-07-05 11:19:58 +02:00
Paweł Chyła
72d4df482e
Fix show selected content in single autocomplete field (#3855) 2023-07-05 09:31:44 +02:00
Krzysztof Żuraw
fec476b7e2
Experimental filters: Add API types and handlers (#3841) 2023-07-05 09:21:32 +02:00
Lukasz Ostrowski
b0214c6454
App Permissions Modal - QA fixes (#3853)
* Fix App Permissions Modal scrolling

* change changeset to be minor

* fix height of permissions modal - confimration step
2023-07-05 08:06:36 +02:00
Krzysztof Żuraw
07fa3bc0cc
Experimental filters: add type to filter event (#3851) 2023-07-05 08:04:32 +02:00
Patryk Andrzejewski
7309c736bb
Clean up FilterElement types (#3850)
* Filter element types

* Lint

* Lint
2023-07-04 09:55:57 +02:00
Paweł Chyła
09c9024e0d
Order drafts list datagrid (#3765) 2023-07-04 09:27:17 +02:00
Paweł Chyła
b4f11eff66
Category listing datagrid (#3760)
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-07-04 09:23:27 +02:00
Lukasz Ostrowski
1cb6e8b5fc
Manual app permissions setting by the user (#3829)
* Remove react-markdown, render app about section as string

* Add modal with permissions - WIP

* Extract components

* add permissions diff

* add mutation

* add notification

* fix dialog scrolling

* Extract messages in permissions dialog

* test for useGetAvailableAppPermissions.ts

* add test to state

* fix enums

* add changeset and extract root messages

* Update wicked-berries-watch.md

* fix linter

* fix ts

* cr fixes
2023-07-03 14:50:53 +02:00
Paweł Chyła
158b22d1ed
Introduce usePresetFilters and useRowSelction hooks (#3836) 2023-07-03 13:02:17 +02:00
Michał Droń
3123f04c69
Upgrade to ESLint 8 (#3781)
* Upgrade ESLint

* Add eslint-nibble

* Move typescript to dev deps

* Update ESLint config

* Turn off semi, comma-dangle & quotes rules

* Enable simple sort

* Fix errors in ESLint (#3788)

* Disable rules requiring heavy changes

* Autofix new ESLint rules

* Autofix more-rules

* Fix jsx/generics ambiguity

* Add warnings for broken rules requiring manual fixes

* Remove redundant expected-error

* Add simple-sort

* Add prettier config

* Lint config

* Fix sort plugin

* Fix simple sort plugin

* Fix sort order

* Update src/orders/components/OrderTransaction/components/TransactionEvents/components/PspReferenceLink.tsx

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>

* Remove redundant comment

* Remove chai friendly

* Update package.json

Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>

* Remove to-be-checked comment

* Update formatjs plugin

* Lint staged only in src

* Add changeset

* Add tracking issue for new rules

* Resolve auto-fixable warning after merge

* Change sorts to warnings

* Run lint on new files

* Fix errors

---------

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2023-06-30 10:07:13 +02:00
Lukasz Ostrowski
a1482cc453
Refactor AppDetailsPage to Macaw Next (#3818)
* Refactor AppDetailsPage to Macaw Next

* Update locales

* CR fixes

* Add error boundary
2023-06-29 15:50:13 +02:00
Patryk Andrzejewski
198341cb41
New filters for the product listing page (prototype) (#3811)
* Expression filters

* Filters

* Tokenizing

* Tokenizing

* feat: fetch inital state from API

* fix: integrate with code

* Loading

* feat: add attribute name & label

* feat: move input type

* Loading

* feat: update left operator + condition

* feat: fetch inital options on focus

* feat: fetch right options on autocomplete

* Flags

* Refactor

* fix: add loading state

* fix: after changes

* fix: remove debugger

* fix: proper selected setting

* Refactor

* Display properly

* Display properly

* Display properly

* feat: fetch left options

* Persist

* feat: add loading state

* feat: refactor getAPIOptions

* feat: add additional checks to filter element

* feat: use debounce

* FilterArray

* FilterArray

* Modeling

* fix: filters in popover

* feat: use new macaw ui version

* Types

* Feature flag

* fix: type errors

* Alignment

* Fix api

* feat: add slug

* feat: add slug

* feat: add slug for the last time

* fix: return slug from left options

* Fix combobox

* Force slug

* Changeset

* fix: serialize value

---------

Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2023-06-29 14:10:19 +02:00
Paweł Chyła
a08d034e75
Fix unable to save attribute value (#3814) 2023-06-29 10:57:48 +02:00
Lukasz Ostrowski
6640294078
Update app-sdk and pass saleor versions to handshake event for apps (#3789)
* Update app-sdk (early build) and pass saleor versions to handshake event for apps

* Add changeset

* Fix sdk version

* Fix broken external app context

* cr fixes
2023-06-28 15:06:08 +02:00
Lukasz Ostrowski
a8babc4252
Change all apps thumbnais to be 64px, to fix blurry render (#3805) 2023-06-27 10:50:26 +02:00
Lukasz Ostrowski
58a3c26f7e
src/apps refactors batch (#3773)
* Add refactors to apps folder

Remove default exports in apps/views

Rename apps/views components, ensure they have similar convention

Refactor apps indexes files

Rename marketplace mentions to appstore

Rename useMarketplaceApps to useAppstoreApps

Rename some marketplace mentions to appstore

fix test

* Add changeset
2023-06-27 09:29:40 +02:00
Krzysztof Żuraw
02c27b898f
Update PR template with changeset (#3797) 2023-06-23 14:59:29 +02:00
Krzysztof Żuraw
79779f2d3d
Add changesets (#3786) 2023-06-23 10:26:02 +02:00