Dominik Żegleń
ac4a219023
Product variants enhancements ( #1918 )
...
* Remove savebar docking
* Hide attributes if empty
* Select text in autocomplete after initial click
* Update snapshots
* Use stable macaw version
* Remove maybes
* Add util filter function
2022-03-16 10:45:15 +01:00
Dominik Żegleń
3e96a68a6e
Indicate menu focus ( #1928 )
...
* Add active state to card menu
* Update macaw
2022-03-15 11:14:28 +01:00
Dominik Żegleń
5b85d6c086
Use graphql-codegen ( #1874 )
...
* Use generated hooks in apps
* Remove unused files
* Use proper types in apps
* Use generated hooks in attributes
* Use generated hooks in auth module
* Use generated hooks in categories
* Use generated hooks in channels
* Use generated types in collections
* Remove legacy types from background tasks
* Use generated hooks in customers
* Use generated hooks in discounts
* Use generated hook in file upload
* Use generated types in gift cards
* Use generated types in home
* Use generated hooks in navigation
* Use generated hooks in orders
* Use generated hooks in pages
* Use generated hooks in page types
* Use generated hooks in permission groups
* Use generated hooks in plugins
* Use generated hooks in products
* Use fragment to mark product variants
* Improve code a bit
* Use generated hooks in page types
* Use generated types in searches
* Use generated hooks in shipping
* Use generated hooks in site settings
* Use generated hooks in staff members
* Use generated hooks in taxes
* Place all gql generated files in one directory
* Use generated hooks in translations
* Use global types from new generated module
* Use generated hooks in warehouses
* Use generated hooks in webhooks
* Use generated fragment types
* Unclutter types
* Remove hoc components
* Split hooks and types
* Fetch introspection file
* Delete obsolete schema file
* Fix rebase artifacts
* Fix autoreplace
* Fix auth provider tests
* Fix urls
* Remove leftover types
* Fix rebase artifacts
2022-03-09 09:56:55 +01:00
Karolina Rakoczy
4d02eb60c0
Add reports to tests ( #1898 )
...
* add reporter, fix tests
* remove unused import
* get functions duration
* merge
* update snaps
2022-03-03 11:25:27 +01:00
Wojciech Mista
66705e7f3e
Don't display pricing by default in Product List ( #1891 )
...
* Update build-types script
* Remove "pricing" where it's unused; exclude pricing query if no channel is selected
* Update fixtures
* Fix minor preorder issue
* Update types
* Fix build-types script
* Remove unnecessary product fragment
* Fetch only data that is visible in products list (#1892 )
* Conditionally include attributes in product list query
* Add 'hasSelectedAtrributes' variable to product list query
* Refactor condition
* Create AttributeValueDetailsFragment fragment
* Use attributeValueDetailsFragment
* Update fragment in products
2022-03-03 11:14:18 +01:00
Wojciech Mista
d3db86a2d2
Fix currency autocomplete widget ( #1865 )
...
* bump downshift version
* Firther refactor for downshift bump
* Update tests
* Remove unnecessary id property
* Remove unnecessary !important
2022-03-01 16:04:44 +01:00
Wojciech Mista
9a7c9a3bc3
Add permission-based restrictions in Customer views ( #1879 )
...
* Update customer queries - add permissions
* Filter the customer filter by permissions
* Code refactor + optionally render components based on permissions
* Update stories
* Minor code refactor
* Move useUserPermissions to RequirePermissions component
* Change user provider component name
* Change macaw-ui version
2022-03-01 09:38:23 +01:00
Jakub Majorek
5850644742
Change extensions naming ( #1885 )
...
* Change extensions to apps
* Update translations
* Use explicit translation, bump macaw to latest release
2022-02-22 09:15:55 +01:00
Dominik Żegleń
2a52eb581c
Update apollo to v3 ( #1837 )
...
* Update apollo to v3
* Fix imports
* Add generated file to ignored
* Use proper import
* Tidy up code
* Remove unused packages
* Fix tests
2022-02-21 14:32:38 +01:00
Dominik Żegleń
1eab4ac8a6
Preview pills ( #1880 )
...
* Add pill component
* Add preview pill to gift card list
* Use outlined prop
* Add arrow to tooltip
* Add preview pill to gift card view headers
* Add preview pills to mark preview features
* Update macaw
* Update tests
* Update messages
* Add black color to pill preview tooltip
Co-authored-by: Wojciech <wojciech.mista@hotmail.com>
2022-02-21 12:38:27 +01:00
Dawid Tarasiuk
675a3a959a
Fix external refresh token error ( #1852 )
2022-02-14 11:36:17 +01:00
Dawid Tarasiuk
a76c6a0e5f
Support apps in navigation ( #1785 )
...
* Support apps in dashboard navigation
* Update macaw-ui sidebar
Trigger CI
* Update app routing
* Update app extensions schema
* Update navigation external app routing
* Refactor sidebar extension menu items open handling
* Update macaw-ui
* Update messages
* Update prettier config
* Refactor
* Update extensions manu item active indication
* Update macaw-ui
2022-02-02 16:30:34 +01:00
Karolina Rakoczy
5ede05affe
fix failing tests ( #1797 )
...
* fix failing tests
* fix tests for gift cards
* fix tests for gift cards
* upload video only when fail
* fix preorder time
* fixed translation page
* fix navigation, stripe and adyen
* fix graphQl npm
* update stories
2022-01-31 09:37:49 +01:00
Dominik Żegleń
f8254fd11b
Bump macaw to 0.3 ( #1807 )
...
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix visual bugs and artifacts
* Fix dropdown menus being clipped (#1762 )
* wip
* Fix clipped select menus
* Remove unused import
* Fix spacing
* Fix tests
* Fix select content appearing under dialogs (#1777 )
* Fix type errors
* Fix bulk delete button placement
* Fix filter arrow buttons
* Fix messages
* Remove backling from pages list
* Move status above events
* Update messages and snapshots
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 13:34:20 +01:00
Karolina Rakoczy
0e6ac66fb9
Record test in cypress dashboard for 3.1 ( #1748 )
...
* merge changes
* update npm graphql
2022-01-13 13:59:39 +01:00
Dawid Tarasiuk
4c53dd0792
Fix EditorJS read-mode toggle race condition ( #1711 )
...
* Fix EditorJS read-mode toggle race condition
Fixes rare edge case when toggling read mode is peerformed at the same
time.
* Make PromiseQueue function
2022-01-10 14:34:17 +02:00
Jakub Majorek
5d0c3faa0b
Bump @saleor/sdk to 0.4.1 ( #1708 )
2021-12-21 10:32:44 +01:00
Dawid Tarasiuk
4880093f63
Use Auth SDK ( #1474 )
...
* Use Auth SDK
* Update auth provider hook
* Update sdk module mapping
* Update setting password
* Fix no user details on first login
* Update auth tests
* Cleanups
* Update SDK
Update SDK
Update SDK
Update test recordings
Update SDK
* Implement SDK External Auth
Update new password view
Hnalde external logout
Update SDK
Fix logout external redirect
* Fix login page style
* Update SDK
* Auth Provider cleanups
Update and refactor auth
Auth types cleanups and refactor
* Update channel context provider
* Fix login error handling
* Logout immidiatelly non-staff user
* Update test snapshots
* Trigger CI
* Update to SDK v0.4, remove duplicated UserContext hook
* Handle server errors during login
* Fix wrong login page form submition handling
* Update login error messages
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-12-17 12:10:54 +01:00
Michał Droń
78f7b5d4fb
Searching addresses in order drafts ( #1618 ) ( #1655 )
...
* Searching addresses in order drafts (#1618 )
* wip search addresses
* wip fix query regex verification
* wip move dialog title & add selected label
* wip move dialog title
* wip edit icon
* wip address selection logic
* wip change messages
* wip message when search is unsuccesful
* wip add billing address change support
* wip default address validation & cleanup
* wip run tests & extract messages
* wip bump macaw
* tests & cleanup
* fix scrollbars
* remove address card wrapper
* apply code review suggestions
* remove comments
* Bump macaw to 0.2.7
* Fix outside modal click state retention
2021-12-03 12:59:29 +01:00
Dawid Tarasiuk
0fb58ea800
Fix overlapped content by sidebar ( #1508 )
...
* Fix overlapped content by sidebar
* Update app layout widths
* Update test snapshots
* Update macaw ui
* Update macaw-ui version
2021-11-09 13:17:18 +02:00
Wojciech Mista
2eec208144
Fix channel picker hiding in resend code modal bug ( #1479 )
...
* Replace savebar with actionbar
* Bump macaw version to 0.2.5
* Update tests
2021-10-21 13:25:24 +02:00
Karolina Rakoczy
2c64a966cc
Saleor 4437 refactor tests ( #1389 )
...
* reference type cypress working
* refactor
* remove screenshots
* add reference
* add slash marker
* run tests based on shop version
* fix run tests based on shop version
* fix run tests based on shop version
* change base url to localhost
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix yml
* fix yml
* chage file names
* fix files names
* fix broken imports add checking for errors in grpah responses
* fix broken imports add checking for errors in grpah responses
* update jest
* fix snapshot
2021-09-27 12:04:21 +02:00
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ń
51e204076f
Fix initial list settings ( #1401 )
...
* Allow ocalStorage values to be initialized by cb
* Initialize list settings if not found
* Fix settings merging
* Refactor types
2021-09-17 11:59:28 +02:00
Kamil Pastuszka
4fcc3eec5e
Add Demo Banner ( #1416 )
2021-09-17 10:09:45 +02:00
Karolina Rakoczy
19e9b0ffc2
Saleor 4033 tests for plugins ( #1317 )
...
* tests for plugins
* tests for plugins
* add default country to create channel mutation
* change data-test-ids
* update snapshots
2021-09-10 11:03:42 +02:00
Paweł Kucharski
386a2488e7
Click & Collect ( #1268 )
...
* Add initial form of c&c related properties for warehouse
* Add Typography & styling to RadioButtons, drop duplicated state
* Add fields for warehouse fixtures + cleanup
* Add order collectionPointName field + handle click&collect display in order
* Fix review issues + add snapshots
* Modify choices in WarehouseZones with filter
* Rename WarehouseZones to WarehouseSettings
* Add translations messages
* Update schema
* Fix review issues pt.2
* Fix review issues pt.3
* Fix review issues
* Align defaultMessages.json to messages refactor
* Rename interface WarehouseInfo -> WarehouseSettings
* Add pickup annotation to shipping address in order details
* Introduce fragment matcher + small change in deliveryMethod query
* Fixes after rebase
* Add resolve fulfillment option for local warehouse
* Align types after rebase
* Update snapshots
* Repair weird union behaviour
* Add entry to CHANGELOG.md
2021-08-27 10:10:41 +02:00
SektorDV
3194654bf1
Disable shipping dialog confirm button when no items selected ( #1304 )
2021-08-23 11:16:35 +02:00
Jakub Majorek
ab4c897b2a
Add dashboard extensions ( #1292 )
...
* Fix app embed
* initial setup
* Create ButtonWithSelect component
* Use context
* Use dialog
* Handle app-bridge actions
* Code adjustments, bump packages
* Fix tests
* Fix schema formatting
* Send response
* Use latest package versions
2021-08-20 15:58:53 +02:00
SektorDV
a94a611949
Horizontal scroll fix on tables ( #1306 ) ( #1313 )
...
* restore horizontal overflows to responsive tables
* regenerate package-lock
2021-08-20 14:16:19 +02:00
Jakub Majorek
f50e3bdde1
Bump master to 3.1.0-a.0 ( #1296 )
2021-08-16 16:01:04 +02:00
Piotr Grundas
6abdc4613a
[SALEOR-3088] Date & DateTime attributes ( #1180 )
2021-07-29 14:15:14 +02:00
Karolina Rakoczy
283e714202
tests for pages ( #1222 )
...
* tests for pages
* fix tests
* fix imports
* tests for pages
* add wait
* tests for pages
* fix weight recalculate
2021-07-27 10:57:17 +02:00
Karolina Rakoczy
1f01a09e87
add tags ( #1251 )
...
* add tags
* edit e2e.yaml
* fix test for customer registration
* add empty lines
2021-07-23 12:46:44 +03: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
Dawid Tarasiuk
909e08f2af
Fix duplicated labels in column picker ( #1197 )
...
* Fix duplicated labels in column picker
* Update changelog
* Refactor column picker scroll fetch
* Migrate react-infinite-scroller to react-infinite-scroll-component
* Remove unneeded keys
* Align dialog items to top
2021-07-01 10:21:41 +02:00
Karolina Rakoczy
7df850bcb1
Saleor 3391 tests for staff members ( #1122 )
...
* invite staff
* staff members
* all tests for staff members
* remove unused import
* update snap
* remove /dashboard/
* uptade test.yml
2021-06-07 13:35:53 +02:00
Michał Ociepka
fbfe3c8d7c
Add embed plugin to editorjs ( #1114 )
...
* SALEOR-3354 add Editor.js embed dependency
* SALEOR-3354 add embed to EditorJS tools
* SALEOR-3354 update change log
2021-05-18 15:21:33 +02:00
Karolina Rakoczy
9f71106f32
Saleor 3038 tests for payments by adyen ( #1086 )
...
* add tests for puchase by type
* add expect for isShippingRequired
* tests for adyen
* tests for adyen
* tests for adyen
* tests for adyen
* adyen
* adyen
* adyen
* adyen
* adyen
* warehouses in chcekout
* rm warehouses in chcekout
* adyen payments
* adyen
2021-05-16 13:38:53 +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
Dawid Tarasiuk
5a439176b7
SALEOR 3115 Fix EditorJS inline formatting ( #1096 )
...
* Fix EditorJS inline formatting
* Update changelog
2021-05-07 10:06:08 +02:00
Dominik Żegleń
d220914085
Add service worker ( #1073 )
...
* Add service worker
* Update messages
* Update changelog
* Remove debug code
* Refactor code and add interval config
* Clear interval
* Reload all pages simultaneously
* Update copy
2021-04-26 12:10:47 +02:00
Karolina Rakoczy
b89e3533d6
Saleor 2690 tests for sorting products ( #1033 )
...
* tests for sorting
* tests for sorting
* sort products
* sort products
* sort products
* sort products
* tests for sorting
* fix imports
* tests for sorting
2021-04-21 09:51:10 +02:00
Jakub Majorek
e5df1b2dbf
Add shipping method description ( #1058 )
...
* Add shipping method description - WIP
* Wire up logic
* Handle more editorjs issues
* Fix minor issues
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-16 14:33:14 +02:00
Krzysztof Wolski
f18f2a6ca6
Add missing bumper pkg ( #1048 )
2021-04-02 16:30:39 +02:00
Karolina
588175df30
Saleor 1737 tests for shipping methods ( #1013 )
...
* remove classes in shipping & products utils
* remove classes
* add tests plans
* add const
* tests for shipping methods
* test for shipping
* test for shipping
* tests for shipping
* install eslint-plugin-chai-friendly
* update stories
* add missing imports
2021-04-02 13:01:38 +02:00
Jakub Majorek
5416c9f865
Ignore EditorJS errors ( #1036 )
...
* Ignore EditorJS error
* Update messages
2021-03-30 16:31:38 +02:00
Krzysztof Wolski
9b486d6682
Add release-it script ( #1034 )
2021-03-30 14:37:12 +02:00
Jakub Majorek
7bc4bc6696
Define node requirements, ts cleanup ( #1008 )
...
* Define node requirements, ts cleanup
* Update snapshot
* fix tests
2021-03-19 13:06:17 +01:00
Jakub Majorek
a7736e2bf9
Attach permission variables to all queries ( #1000 )
...
* [SALEOR-2190] Attach permission variables to all queries
* Fix TS linter issues
* Update package-lock
2021-03-09 09:44:09 +01:00