Commit graph

109 commits

Author SHA1 Message Date
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