Wojciech Mista
517d3f9400
Reload page after navigation after error ( #1795 )
2022-01-31 09:30:13 +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
Wojciech Mista
1ee2114153
Redirect user to created variant after variant create ( #1790 )
...
* Redirect user to the created variant after creation
* Refactor variant creation navigation to use onComplete
2022-01-28 09:06:21 +01:00
Wojciech Mista
50712e6155
Remove insert of html, replace it with a component ( #1769 ) ( #1799 )
2022-01-26 13:07:18 +01:00
Wojciech Mista
8f9c1ba19e
Gift cards post mvp ( #1632 )
...
* Add gift bulk create (#1490 )
* Add gift card bulk create dialog WIP
* Update schema, add gift card bulk create mutation and types
* Add gift card bulk create modal and mutation
* Fix types and update messages
* Refactor gift card bulk create
* Add closing gift card bulk create dialog after success
* Change gift card list closeDialog prop name to onClose
* Review fixes
* Review fixes
* Add error message to invalid expiryDate (#1518 )
* Add error message to invalid expiryDate
* Add default messages
* Replace filter with some
* Add gift card export (#1499 )
* wip
* Add exporting gift cards
* Update messages
* Fix types
* Review fixes
* Review fixes
* Refactor passing messages to export settings component
* Refactor
* Update messages
* Gift card customer page (#1520 )
* Add gift cards card to customer page (#1456 )
* WIP
* WIP
* Extract activate/deactivate logic to a hook
* add optional side action
* Add query for customer's gift cards
* Add component for giftcard status chip
* Graphql run types
* Add gift card card to customer page
* Fix status chip header
* Revert style change
* Unify status chip logic
* Fix naming scheme
* Add currentOpts to act/deactivate gift cards hook
* Add queries to refetch prop
* Simplify gift card list component
* Fix order status chip
* Extract messages to separate file
* Remove unused lines of code
* Tests and messages
* Fix card list rendering
* Type fix
* Code review fixes
* Review changes
* Scripts
* Change variable name
* Fix formatted message
* Check if giftcards exist before rendering collection
* Add loading button to CardMenu component (#1476 )
* WIP
* WIP
* Add gift card card to customer page
* Fix status chip header
* Fix naming scheme
* Add currentOpts to act/deactivate gift cards hook
* Remove unused lines of code
* Revert style change
* Tests and messages
* Fix card list rendering
* Type fix
* Code review fixes
* Review changes
* Scripts
* Add loading animation to card menu buttons
* Added default messages
* Change conditional prop checking to filtering
* Issue gift card in customer page (#1468 )
* WIP
* WIP
* Replace typed query with make query
* Add customer details context to customer page
* Add context to customer gift cards
* Disable customer select when initial customer is present
* Pass initial customer to create gift card form
* Fixes after cherry-pick
* Code cleanup
* Remove getInitialData function
* Remove unused package
* Remove new line
* Post-rebase fixes
* Code cleanup & extract messages
* Remove unused code
* Create customer details hook
* Minor fixes
* Update default messages
* Update gift card types
* Type fixes
* Change directory of useCustomerDetails hook
* CR Fixes
* Update tests
* Make PageTitleWithStatusChip use ExtendedPageHeader
* Update tests
* Update hook name
* Post-rebase fixes
* Eslint fix
* Fix scrollbar appearing in menu issue (#1539 )
* Change displayCode to last4CodeChars (#1573 )
* Add filtered redirect to gift card page from customer details (#1556 )
* Limit number of channel list items (#1607 )
* Add max height to single select field menu items container
* Add storybook case
* Update stories tests
* Fix gift card product changing to preorder on save issue (#1583 )
* Variant preorder fix
* Global threshold input should be optional
* update snapshot
* Add displaying logic gift cards list toolbar (#1617 )
* add displaying logic for gift card toolbar
* Logic fix
* Handle bulk export after creation (#1544 )
* Add gift bulk create (#1490 )
* Add gift card bulk create dialog WIP
* Update schema, add gift card bulk create mutation and types
* Add gift card bulk create modal and mutation
* Fix types and update messages
* Refactor gift card bulk create
* Add closing gift card bulk create dialog after success
* Change gift card list closeDialog prop name to onClose
* Review fixes
* Review fixes
* Add gift card export (#1499 )
* wip
* Add exporting gift cards
* Update messages
* Fix types
* Review fixes
* Review fixes
* Refactor passing messages to export settings component
* Refactor
* Update messages
* Handle export after bulk gift card creation
* Add default messages
* Create an util function to get correct input for export
* Update component's name
* Change modal's title
* Update messages
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
* Gift Card List item number change doesn't refetch fix (#1643 )
* Fix number of rows change not refetching list
* Add pagination reset
* Update descriptions for gift card messages to be more descriptive (#1648 )
* Gift card history timeline (#1597 )
* Update queries and mutations
* Allow title to be a react node
* Show user name if it exists in data object
* Update types
* Refresh queries on note add
* Add gift card history
* type fix
* Update messages
* Fix timeline note
* Add event fragment to form update result
* Update types
* Fix typo
* Update messages
* Disable input if gift card is expired
* Remove unused imports
* CR Fixes
* Change messages location
* Change message to include user in order
* Allow adding notes to expired gift cards
* Fix disabled input showing dropdown issue (#1636 )
* On click is disabled when component is disabled
* update tests
* Order filtering for gift cards in Order List View (#1628 )
* Add gift card order filter
* Add gift card filter card in orders view
* Bump macaw version
* Update messages
* Update tests
* Code review changes
* update messages
* Change info card message to use only one message
* Fix order gift card filter
* Gift card filter in product list view (#1621 )
* Add GiftCard or Normal filter in Product List View
* Fix tests
* Fix type check
* Don't filter if query param is not in enum
* Update messages
* Update tests
* Code cleanup
* Add default messages
* Pass intl rather than initialise it in util
* Post-rebase fixes
* Change product type details messages (#1642 )
* Update product type gift card options messages
* update tests
* Add sorting to gift card list (#1569 )
* Update queries and types for sorting
* Add optional handleError method to makeQuery
* Add sorting to gift card list
* Sorting hook uses useGiftCardList hook
* Convert to boolean
* Add default sorting field
* format fix
* Add expiry error handling for issuing gift cards (#1634 )
* Add expiry error handling for issuing gift cards
* Add expiry error message to gift card bulk issue
* Update Gift Card tag queries to utilise multiple tags (#1685 )
* Change displayCode to last4CodeChars (#1573 )
* Update types
* WIP
* Update gift card forms to utilise multiple tags
* Code cleanup
* Update gift card event types
* Fixes
* Change column with no click handler behaviour
* Remove an ability to sort by tags
* Remove unused code
* Update tests
* Update timeline events
* Update messages
* change array reduce to join
* Add Y scroll to dialog content
* Bulk create Y scroll fix
* Endless loading fix (#1732 )
* Order filtering for gift cards in Order List View (#1628 )
* Add gift card order filter
* Add gift card filter card in orders view
* Bump macaw version
* Update messages
* Update tests
* Code review changes
* update messages
* Change info card message to use only one message
* Fix order gift card filter
* Wip
* Extract dialog component outside of gift card create
* Update component's name
* Extract dialog component outside of export component to provider
* Update tests
* Various gift card bugs fixes (#1749 )
* Change currency to options field
* Fix hover and font size
* Fix gift card list width
* Fix bulk delete dialog
* Allow balance to be sorted only when currency is filtered
* Sorting by balance after removing currency filter defualts to usedBy
* Fix trash icon
* Add filter dependency
* Fix single deletion with bulk
* Update tests
* Refactor Links used in Gift Cards
* Fix export dialog (#1791 )
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 13:44:19 +01:00
Dawid Tarasiuk
53a391eebc
Allow no attribute values in variant creator ( #1739 )
...
* Allow no attribute values in variant creator
* Update test snapshots
2022-01-25 12:56:40 +02:00
Rafał Pitoń
b13ecfc197
Update schema ( #1787 )
2022-01-25 10:27:59 +01:00
Wojciech Mista
1e3f3eae8d
Removing collection fix ( #1764 )
...
* Pass combined choices to autocomplete handler
* Refactor autocomplete handler to use combined choices
2022-01-24 14:58:27 +01:00
Krzysztof Kulig
80f3af4e5e
Port new shipping method schema to 3.1 ( #1768 )
...
* Update schema
* refactor(shippingMethods): change name from availableShippingMethods to shippingMethod
* refactor(shippingMethods): change shippingMethod to shippingMethodType
* Add missing files
* refactor(order): add active and message prop to the shippingMethod field
* Add support for new webhook types
* refactor(OrderShippingMethodEditDialog): show inactive shipping method as disabled
* refactor(SingleSelectField): change the disabled prop strictly boolean
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
* refactor(OrderShippingMethodEditDialog): remove unused style
Co-authored-by: Michal Zajac <michal.99.zajac@gmail.com>
Co-authored-by: Michal Zajac <50200782+Michal99Zajac@users.noreply.github.com>
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2022-01-24 14:50:17 +01:00
Karolina Rakoczy
204dfac29f
Add tests for content attributes fo 3.1 ( #1773 )
2022-01-24 13:09:48 +01:00
Wojciech Mista
ede2094d30
Redirect user back to the first landing page after external login ( #1742 )
...
* Preserve fallbackuri on external login
* Change default uri to "/"
2022-01-24 10:23:19 +01:00
Karolina Rakoczy
03f6034531
Always run critical tests ( #1579 )
...
* always run critical
* always run critical
* add opened type
* remove if
* run on click
* Always run critical - test PR (#1683 )
* add extra condition for disabling button (#1530 ) (#1574 )
* 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
* Bump path-parse from 1.0.6 to 1.0.7 (#1585 )
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump axios from 0.21.1 to 0.21.4 (#1586 )
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump tmpl from 1.0.4 to 1.0.5 (#1587 )
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump semver-regex from 3.1.2 to 3.1.3 (#1588 )
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases )
- [Commits](https://github.com/sindresorhus/semver-regex/commits )
---
updated-dependencies:
- dependency-name: semver-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump dns-packet from 1.3.1 to 1.3.4 (#1591 )
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
---
updated-dependencies:
- dependency-name: dns-packet
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump postcss from 7.0.35 to 7.0.39 (#1590 )
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.35 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.39 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump url-parse from 1.5.1 to 1.5.3 (#1589 )
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Change ExpansionPanel as Accordion (#1279 )
* Fix variant creation - remove channels + prices
* Update messages and snapshots
* Change ExpansionPanel as Accordion
* Update snapshots
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* fix product list covering search bar (#1527 ) (#1577 )
* Add current usage on vouchers (#1519 ) (#1576 )
* wip design label
* add usesLeft calculation
* snapshots & messages
* fix type errors
* add error on input and disable save button when value is invalid
* resetting input value to initial after checkbox state change
* remove uses left on new vouchers & set initial value to 1
* Allow to create simple product with no channels (#1552 ) (#1575 )
* Add sorting products by update at date (#1581 )
* Add sorting products by update at date
* Update messages
* Change columns order in product list view
* Display updated date column by default
* Use order token for metadata updates (#1604 )
* Change height of channels availability list (#1608 )
* Add permissions to Catalog menu item (#1614 )
* Allow returning & refunding partially paid orders (#1572 ) (#1612 )
* allow returning & refunding partially paid orders
* change function name
* Add tests for creating products without sku (#1550 )
* create products without sku
* update stories
* update stories
* Fix partially cut checkboxes in channel dialogs (#1560 ) (#1613 )
* wip logic for indeterminate icon
* wip remove unused imports
* fix cutted off checkbox ripples
* refactor & cleanup
* Remove hover state from order lines (#1557 ) (#1615 )
* tests for updating products sku (#1555 )
* Test for creating order with product without sku (#1559 )
* Fix assign countries dialogs (#1610 )
* Add orders filter by payment status (#1619 )
* Add orders filter by payment status
* Move messages to root intl file
* Refactor sale update and create forms (#1553 ) (#1622 )
* Update form types to include fixed and percentage values
* Update createSalechannels to include new value types
* Merge two update mutations to one
* Make value text field rely on form state rather than internal state
* Update submit handler, error and loading
* Update create and update sale price validation
* Typo
* Fix saleUpdate mutation
* post-rebase fix
* Update types
* Add tests for creating preorders (#1563 )
* add test for creating preorder variant
* all tests for creating & editing variants in preorder
* Add optional channel selection in price and weight rates view + voucher view (#1531 )
* Add useChannels test
* Fix unnecessary re-render that caused overwrite of form list
* Change array diff check
* Channel selection in price and weight rates is optional
* Fix refunded value calculation in order view (#1601 )
* Fix refunded value calculation in order view
* Fix orders price alignment to right
* Update test snapshots
* Fix saving initial variant attributes (#1624 )
* Fix long name vouchers (#1626 ) (#1640 )
* Fix long name vouchers
* update snapshots
* QA improvements - wrap page headers
* QA improvements - same changes for sales
* Use node v14 for running tests on CI (#1646 )
* Use old default for unhandled rejections flag
* Update type import
* Use less strict flag, fix types
* Use node v14 for running tests
* Add preorder and click&collect filters to order list (#1568 )
* Add preorder and click&collect filters to order list
* Update messages
* Add fixtures
* Update snapshots
* Update snapshots and extract messages
* 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
* Add tests for preorders- threshold and stocks (#1567 )
* tests for preorder, stoks an threshold
* fix tests for ordering products in channel threshold
* Add new tests for login (#1580 )
* always run critical
* tests for login
* tests for login
* Fix auto scroll (#1644 )
* Limit quantity per checkout (#1536 )
* Add site settings and variant detail text fields related with limit per checkout
* Add message translations
* Fix review issues pt.1
* Update snapshots
* Apply fixes after review pt.2
* Fix initial discount calculation on draft order line (#1651 )
* Fix typos on customer details page (#1659 )
* Fix typos on customer details page
* update tests
* Update tests
* test PR
* Separate sync and async app webhooks (#1635 )
* Separate sync and async app webhooks
* Remove create webhook page and cleanups
* Update util
* Auto unselect events when anyEvent choice is selected
* Update test snapshots
* Fix attributeValueDelete mutation error - required first/last value (#1665 ) (#1679 )
* Add items response in updateMetadata mutation (#1667 ) (#1680 )
* add items to updateMetadata mutation
* same changes for private metadata
* build types
* Add tests for swatch attributes (#1606 )
* always run critical
* tests for swatch attributes
* Update cypress/integration/configuration/attributes/attributes.js
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
* Fix error when clicked on filter if list is loading (#1661 )
* Fix error when clicked on filter if list is loading
* CR Fixes
* Update tests
* Fix tests for purchase digital product for 3.1 (#1684 )
* purchase digital product for 3.1
* purchase digital product for 3.1
* Disable form change check in variant creation (#1681 )
* Fix modal footer shadow issue (#1686 )
* Add tests for variant selection (#1627 )
* variant selection
* variant selection
* add empty space
* Add missing input value, cast values to number (#1692 )
* Fix failing cypress tests (#1671 )
* fix tests
* fix prorders & images
* change base url
* remove comment
* tests for gift cards (#1677 )
* 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>
* fix login by API (#1700 )
* Bump @saleor/sdk to 0.4.1 (#1708 )
* Add tests for updating & deleting collections and categories (#1662 ) (#1693 )
* tests for updating & deleting collections and categories
* add empty spaces
* fix create category
* Fix assign attributes dialog loader (#1705 )
* Add tests for delete/update warehouse (#1676 ) (#1689 )
* remove warehouse from shipping
* tests for warehouses
* tests for pages (#1695 )
* Disable save in product create & edit when product name is empty (#1551 ) (#1710 )
* disable save in product edit & create when name is empty
* code review refactor
* Fix disabled button
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
* fix incorrect logic
* fix incorrect logic
* fix disable form on product variant
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
* Display error if no invoicing plugin is active (#1709 )
* Add error message if no invoice plugin installed
* Fix types
* Update messages
* Use variant prices in add product modal (#1698 )
* Replace channel price with variant price; add new price label
* Update fixtures
* Remove unused code
* Remove unused style
* Lint fix
* Remove type conversion
* lint fix
* update queries and types
* CR Fixes
* Money align right
* Update tests for creating variants (#1718 )
* merge
* add data-test-id to sku input
* remove data-test-id from sku input
* update stories
* remove duplicated attribute
* 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
* Rename ExpansionPanel components to Accordion (#1727 ) (#1740 )
* Logout redirects user to home page (#1721 )
* Redirect to home page on logout
* Change internal redirect to use router
* Update authProvider test
* Add error handling to non-existent apps (#1723 )
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: whiteUnicorn <daehyun.baek1@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
Co-authored-by: Paweł Kucharski <pawel.kucharski@mirumee.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: whiteUnicorn <daehyun.baek1@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
Co-authored-by: Paweł Kucharski <pawel.kucharski@mirumee.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2022-01-21 14:56:26 +01:00
Dawid Tarasiuk
8b5dc985fd
Scroll to top on main navigation routes change ( #1752 )
2022-01-20 14:56:55 +02:00
Jakub Majorek
15ee95fba8
Fix internal redirect after logout ( #1767 )
2022-01-18 15:35:09 +01:00
Dominik Żegleń
2aab5b80ff
Fix link hrefs ( #1761 )
...
* Fix link hrefs
* Remove createHref
* Remove unused imports
2022-01-17 14:08:46 +01:00
Karolina Rakoczy
41e80d71c0
Add tests for attributes for 3.1 ( #1725 )
...
* merge changes
* fix bracket
2022-01-17 11:03:52 +01:00
Karolina Rakoczy
8d20394518
merge ( #1726 )
2022-01-14 11:08:25 +01:00
Wojciech Mista
e36da6df28
Fix overflow issue in export dialog ( #1737 )
2022-01-13 15:03:33 +01:00
Wojciech Mista
d17bd24419
fix shop version loading ( #1734 )
2022-01-13 15:03:19 +01:00
Dawid Tarasiuk
c2ea65dea7
Fix switch account login and credentials API wrong login loop issues ( #1729 )
...
* Fix switch account login and credentials API wrong login loop issues
* Update auth provider hook
2022-01-13 15:08:07 +02: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
Michał Droń
ce2f90946c
Add product type link in product details view ( #1724 ) ( #1750 )
...
* add link to product type in product details
* fix tests
* Apply CR suggestion
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* improve Link component
* Fix tests - add memory router
* fix undefined value in createHref
* fix onclick when it is not provided
* Fix undefined app mount uri
* fix undefined api uri in ci/cd tests
* remove onclick from product type link
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
2022-01-13 13:04:45 +01:00
Karolina Rakoczy
55492aff9a
Saleor 5021 add tests for customers ( #1688 ) ( #1733 )
...
* customers
* all tests for customers
* change data-test attribute name
* add empty lines
2022-01-13 11:21:21 +01:00
Jakub Majorek
df29cf6adf
Adjust changed permission requirements( #1542 ) ( #1747 )
...
Co-authored-by: sektordv <roman@sawblade.pl>
Co-authored-by: sektordv <roman@sawblade.pl>
2022-01-12 14:14:46 +01:00
Wojciech Mista
ed262f913d
Add error handling to non-existent apps ( #1723 )
2022-01-11 13:34:48 +01:00
Wojciech Mista
d4a28fedf2
Logout redirects user to home page ( #1721 )
...
* Redirect to home page on logout
* Change internal redirect to use router
* Update authProvider test
2022-01-11 13:32:59 +01:00
Michał Droń
3bb7209db7
Rename ExpansionPanel components to Accordion ( #1727 ) ( #1740 )
2022-01-11 09:05:45 +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
Karolina Rakoczy
a01a2b5a30
Update tests for creating variants ( #1718 )
...
* merge
* add data-test-id to sku input
* remove data-test-id from sku input
* update stories
* remove duplicated attribute
2022-01-04 16:13:15 +01:00
Wojciech Mista
6e09ec9bb2
Use variant prices in add product modal ( #1698 )
...
* Replace channel price with variant price; add new price label
* Update fixtures
* Remove unused code
* Remove unused style
* Lint fix
* Remove type conversion
* lint fix
* update queries and types
* CR Fixes
* Money align right
2021-12-23 16:00:37 +01:00
Dominik Żegleń
ff14720e23
Display error if no invoicing plugin is active ( #1709 )
...
* Add error message if no invoice plugin installed
* Fix types
* Update messages
2021-12-23 13:42:10 +01:00
Michał Droń
c6e6aeff50
Disable save in product create & edit when product name is empty ( #1551 ) ( #1710 )
...
* disable save in product edit & create when name is empty
* code review refactor
* Fix disabled button
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
* fix incorrect logic
* fix incorrect logic
* fix disable form on product variant
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2021-12-22 15:09:29 +01:00
Karolina Rakoczy
95c85a72ed
tests for pages ( #1695 )
2021-12-22 14:55:08 +01:00
Karolina Rakoczy
926d481268
Add tests for delete/update warehouse ( #1676 ) ( #1689 )
...
* remove warehouse from shipping
* tests for warehouses
2021-12-22 14:54:09 +01:00
Dawid Tarasiuk
800f02a635
Fix assign attributes dialog loader ( #1705 )
2021-12-22 14:51:28 +02:00
Karolina Rakoczy
ef983cc347
Add tests for updating & deleting collections and categories ( #1662 ) ( #1693 )
...
* tests for updating & deleting collections and categories
* add empty spaces
* fix create category
2021-12-22 12:27:28 +01:00
Jakub Majorek
5d0c3faa0b
Bump @saleor/sdk to 0.4.1 ( #1708 )
2021-12-21 10:32:44 +01:00
Karolina Rakoczy
4b05f67b2c
fix login by API ( #1700 )
2021-12-17 14:27:13 +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
Karolina Rakoczy
866bb91177
tests for gift cards ( #1677 )
2021-12-17 12:08:13 +01:00
Karolina Rakoczy
5a14884f9d
Fix failing cypress tests ( #1671 )
...
* fix tests
* fix prorders & images
* change base url
* remove comment
2021-12-17 12:07:51 +01:00
Jakub Majorek
6e9b12b04e
Add missing input value, cast values to number ( #1692 )
2021-12-17 11:16:44 +01:00
Karolina Rakoczy
a8c6379d4e
Add tests for variant selection ( #1627 )
...
* variant selection
* variant selection
* add empty space
2021-12-16 16:16:12 +01:00
Dawid Tarasiuk
9df66818a1
Fix modal footer shadow issue ( #1686 )
2021-12-16 13:36:03 +02:00
Dawid Tarasiuk
0334411294
Disable form change check in variant creation ( #1681 )
2021-12-16 13:32:27 +02:00
Karolina Rakoczy
6f8feebf7c
Fix tests for purchase digital product for 3.1 ( #1684 )
...
* purchase digital product for 3.1
* purchase digital product for 3.1
2021-12-15 13:17:35 +01:00
Wojciech Mista
ee9e55db0f
Fix error when clicked on filter if list is loading ( #1661 )
...
* Fix error when clicked on filter if list is loading
* CR Fixes
* Update tests
2021-12-15 11:50:35 +01:00
Karolina Rakoczy
3fd50ee3a7
Add tests for swatch attributes ( #1606 )
...
* always run critical
* tests for swatch attributes
* Update cypress/integration/configuration/attributes/attributes.js
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2021-12-14 12:14:40 +01:00
Michał Droń
92a5563330
Add items response in updateMetadata mutation ( #1667 ) ( #1680 )
...
* add items to updateMetadata mutation
* same changes for private metadata
* build types
2021-12-14 10:48:46 +01:00
Michał Droń
fc2aed4725
Fix attributeValueDelete mutation error - required first/last value ( #1665 ) ( #1679 )
2021-12-14 10:48:12 +01:00