Commit graph

5 commits

Author SHA1 Message Date
Patryk Andrzejewski
aaf646399e
Feature previews (#4079)
* Feature preview

* Feature preview

* Feature preview

* Feature preview

* Feature preview

* Add visible flag

* Typo

* Typo

* Fix re-login

* Fix re-login

* Fix enable

* Fix enable

* content

* Fix types, overflow content

* Fix user menu
2023-08-17 12:36:11 +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
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
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
Patryk Andrzejewski
3118741db8
Feature flags strategies (#3800)
* Feature flags

* Feature flags

* Feature flags

* Feature flags

* Feature flags

* Feature flags

* Types

* use @swc/jest

* Avoid calling constructors inside

* Types

* Types

* remove flagsmith

* Change to payload

* Change to payload

* Update tests

* Split resolver
2023-06-27 13:30:20 +02:00