Commit graph

24 commits

Author SHA1 Message Date
Piotr Grundas
ebe56da583
Add swatch attributes (#1301)
* Initial work

* #

* Base color logic

* Handle file urls

* Improvements, fix snapshots

* Add messages

* Update changelog

* Update storybook

* Improvements

* Messages

* Review corrections

* Bugfixes
2021-09-21 15:16:21 +02:00
Dominik Żegleń
62817568a7
Use MacawUI (#1229)
* Replace withStyleswith useStyles (#1100)

* Replace withStyleswith useStyles

* Update messages

* Use rem as a spacing unit (#1101)

* Use rems as spacing units

* Fix visual bugs

* Update stories

* Use macaw-ui as theme provider (#1108)

* Use macaw ui as a theme provider

* Add react-dom to aliases

* Fix jest module resolution

* Update useTheme hook usage

* Fix test wrapper

* Use macaw from git repo

* Fix CI

* Update stories

* Fix aliasing

* Extract savebar to macaw ui (#1146)

* wip

* Use savebar from macaw

* Use confirm button from macaw

* Improve file structure

* Use sidebar context from macaw

* Update macaw

* Update macaw version

* Remove savebar from storybook

* Update stories

* Use alerts and notifications from macaw (#1166)

* Use alerts from macaw

* Add notifications from macaw

* Update stories

* Pin macaw version

* Encapsulate limit reached in one component

* Remove unused imports

* Use backlinks from macaw (#1183)

* Use backlink from macaw

* Update macaw version

* Use macaw sidebar (#1148)

* Use sidebar from macaw

* Use shipped logo

* Use lowercase

* Update stories

* Use user chip from macaw (#1191)

* Use user chip from macaw

* Use dedicated components for menu items

* Simplify code

* Bump version and fix types (#1210)

* Rename onBack to onClick

* Rename UserChip to UserChipMenu

* Rename IMenuItem to SidebarMenuItem

* Update macaw version

* Fix tables after changes in macaw (#1220)

* Update macaw version

* Update changelog

* Update stories

* Fix after rebase

* Update to macaw 0.2.0

* Lint files

* Update macaw to 0.2.2
2021-07-21 10:59:52 +02:00
Jakub Majorek
29f6c5496b
Use root level channel argument (#1126)
* Use root level channel argument

* Update schema after rebase

* Adjust list views (#1187)

* Use root level channel argument

* Use channel from filters

* Handle sort keys that require channel

* Add channel filter on sales and vouchers pages

* Update queries

* Fix tests/fixtures

* Block sort on discount pages

* Add generic filter validation

* Fix tests, update changelog

* Channels availability status changes, code cleanup

* Update snapshots
2021-06-28 15:51:19 +02:00
Dawid Tarasiuk
d342bdb63b Variant attribute values pagination (#1133)
* Implement attribute values pagination in variant pages

* Implement attribute values pagination in variant creator

* Update variant creator design bugs

* Fix deleting attribute value error

* Refactor attribute value handling in variant creator

* Update after review

* Create local pagination state for attribute values

* Fix autocomplete select field scrolling on fetch more

* Change onAttributeSelect to onAttributeFocus

* Update cypress test function with attribute values pagination
2021-06-08 09:51:27 +02:00
Dominik Żegleń
935a6f4542
Reduce bundle size (#1103)
* Add analysis tools

* Use deep imports to reduce bundle size

* Remove tslint config

* Remove unused packages

* Remove lodash-es references

* Use root level mui imports

* Remove mui from restricted imports
2021-05-14 10:15:15 +02:00
Dominik Żegleń
416d7d87f6
Improve theming (#1020)
* Remove unused code

* Move theme to separate directory

* Separate types

* Separate shadows

* Separate shadows

* Rename types

* Modularize code

* Do not pollute prototypes

* Fix missing import

* Aliast mui styles

* Import theming internally

* Fix types

* Fix override type
2021-03-30 09:40:18 +02:00
dominik-zeglen
87ece837db Show empty option only when prop is passed 2020-10-12 12:56:10 +02:00
dominik-zeglen
c15aaa833b Fix attribute empty option 2020-10-12 12:56:08 +02:00
Krzysztof Wolski
7cd3409bb3
Fix failing cypress test (#738)
* Add test selector for autocomplete field

* Update snapshot
2020-09-30 11:48:00 +02:00
dominik-zeglen
baff4413a5 Improve rendering of large lists 2020-09-24 13:46:50 +02:00
Krzysztof Wolski
f4d570c7e5
Fix warnings and better test tag (#582)
* Resolve test warnings

* Tename data-tc to data-test

* Update src/orders/components/OrderFulfillPage/OrderFulfillPage.tsx
2020-07-02 12:59:09 +02:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters (#519)
* Add circleci config

* Season linting config

* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
0805ff052d Fix assigning shipping zone to warehouse 2020-04-28 16:33:18 +02:00
dominik-zeglen
97ffc07738 Make warehouse and shipping work 2020-04-28 16:33:15 +02:00
dominik-zeglen
60ec16961c Add warehouse create action button 2020-04-28 16:33:08 +02:00
dominik-zeglen
76a60f7dfe Let click event pass through arrow 2019-12-02 16:48:19 +01:00
dominik-zeglen
1311588157 Fix clickable areas 2019-11-29 13:19:18 +01:00
dominik-zeglen
d84ba84e91 Update @material-ui 2019-11-07 14:22:40 +01:00
dominik-zeglen
1de5f7435d Show arrow before scrolling 2019-10-16 17:52:22 +02:00
dominik-zeglen
1a58d4ab80 Set offset 2019-10-16 17:52:20 +02:00
dominik-zeglen
ae14076ceb Improve scrolling experience 2019-10-16 17:52:19 +02:00
dominik-zeglen
c33102b472 Show shadow only when scrollable 2019-10-16 17:52:18 +02:00
dominik-zeglen
d99321be84 Add dynamic loading 2019-10-16 17:52:16 +02:00
dominik-zeglen
0bf7594ce0 Refactor ui a bit 2019-10-16 17:52:15 +02:00