Commit graph

2458 commits

Author SHA1 Message Date
Kamil Pastuszka
6cb744bd93
Fix modal overflow visibility (#1352) 2021-09-02 13:44:00 +02:00
Karolina Rakoczy
a1ed5d1348
test for category translations (#1247) 2021-09-02 12:36:46 +02:00
SektorDV
ab0717ef23
Keep multiselect open after making choice (#1345) (#1350) 2021-09-02 09:01:57 +02:00
Kamil Pastuszka
9c1c39a025
add conditional logic (#1351) 2021-09-01 13:25:00 +02:00
SektorDV
afd2b1dddb
Merge pull request #1341 from mirumee/SALEOR-3561/3.0/broken-page-title-in-address-book (#1347)
add fallback page title for nameless customers
2021-08-31 14:34:25 +02:00
SektorDV
9329277268
Merge pull request #1340 from mirumee/SALEOR-2907/3.0/prevent-white-space-only-channel-names (#1348)
Add condition for minimal channel name length
2021-08-31 14:33:45 +02:00
SektorDV
fac714e415
Merge pull request #1339 from mirumee/SALEOR-3995/3.1/add-app-name-in-log
add app field to order details
2021-08-31 14:30:50 +02:00
SektorDV
f84154648b
Merge pull request #1346 from mirumee/SALEOR-4278/3.1/product-view-channel-search-fix
fix dashboard crash when using the channel selector in product view
2021-08-31 13:20:44 +02:00
SektorDV
de0811e2d5 Merge pull request #1333 from mirumee/SALEOR-4278/3.0/product-view-channel-search-fix
fix dashboard crash when using the channel selector search field in product view
2021-08-30 16:42:47 +02:00
sektordv
5d9498baed add app field to order details 2021-08-27 12:35:57 +02:00
SektorDV
5c631a2eba
Merge pull request #1334 from mirumee/SALEOR-2488/3.1/number-of-rows-selector-fix
refresh lists when changing number of rows
2021-08-27 11:18:21 +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
e99307d461 refresh lists when changing number of rows 2021-08-26 13:18:22 +02:00
Jakub Majorek
7051181802
Add channel default country (#1330)
* Add channel default country (#1323)

* Add default country to channel

* Fix fixtures

* Update snapshots, extract messages

* Trigger deployment

* Update schema

* Update snapshots

* Trigger deployment
2021-08-25 12:45:23 +02:00
SektorDV
0cdcec4476
Merge pull request #1299 from mirumee/SALEOR-3611-warehouse-settings-card-fix
warehouse settings card fix
2021-08-24 11:13:47 +02:00
SektorDV
3194654bf1
Disable shipping dialog confirm button when no items selected (#1304) 2021-08-23 11:16:35 +02:00
Dawid Tarasiuk
08637b27fd
Introduce fulfillment creation API (#1241)
* Display warehouse name for each fulfillment (#1259)

* Hide no-stocks columns in fulfillment view (#1260)

* Hide no-stocks columns in fulfillment view

* Update tests

* Refactor

* Update tests

* Add fulfillment settings card (#1242)

* Add fulfillment setting card

* Make fulfillment approvement naming consistent

* Fix mutation bug

* Update types

* Trigger CI

* Handle fulfillment acceptance on order details page (#1255)

* Handle fulfillment acceptance on order details page

* Make fulfillment approvement naming consistent

* Update fulfillment schema and its usage

* Render history events regarding waiting fulfillments (#1265)

* Add awaiting for approval fulfillment order event

* Fix warehouse name

* Change fulfillment quantity calculation (#1267)

* Change fulfillment quantity calculation

* Fix warehouse name

* Update messages

* Trigger CI

* Refactor

* Fix refactor

* Fix fulfillment for no variant

* Allow creating fulfillments waiting for acceptance (#1248)

* Fix fulfillment page style and typescript classname types perfomance issue

* Allow creating fulfillments waiting for acceptance

* Make fulfillment approvement naming consistent

* Update schema

* Add tooltip to fulfillment savebar

* Update unpaid fulfillment creation restriction

* Update fulfillment cration restriction

* Update test snapshots

* Add possibility to cancel "waiting" fulfillments (#1288)

* Allow to cancel waiting fulfillments

* Add delete button to fulfillment card

* Update test snapshots

* Handle waiting fulfillments on refund page (#1290)

* Handle waiting fulfillments on refund page

* Trigger CI

* Trigger CI

* Calculate quantity to refund on quantityToFulfill

* Update changelog

* Update snapshots

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 16:36:05 +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
Marcin Gębala
281bf7f613
Extend list of languages (#1303) (#1310)
* Update schema

* Update snapshots
2021-08-20 14:25:51 +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
SektorDV
c5adcda1e3
Fix dashboard crash when no channels exist (#1311)
* channel value test fix

* update snapshots

* Fix dashboard crashing when no channels exist (#1305)

* add optional chaining to ids

* lint fix

* channel value test fix

* Fix dashboard crashing when no channels exist (#1305)

* add optional chaining to ids

* lint fix

* channel value test fix
2021-08-20 13:14:14 +02:00
mmarkusik
12e4ff35ca
Merge pull request #1309 from mirumee/fix-gift-cards-currencies-select
Fix gift cards currencies select and some minor bugs
2021-08-20 13:12:15 +02:00
Magdalena Markusik
b83a542b88 Refactor 2021-08-20 12:54:23 +02:00
Magdalena Markusik
745b5d49ed Add option for left menu to display subitems based on their own permission, instead of parent permission 2021-08-20 10:55:04 +02:00
Magdalena Markusik
14e36db399 Refactor 2021-08-20 10:30:25 +02:00
Magdalena Markusik
874f20929e Add channel currency selection in gift card create dialog, also add loader 2021-08-20 09:31:43 +02:00
Magdalena Markusik
9e50dd755e Fix auth token check for home page loading 2021-08-19 18:12:25 +02:00
Karolina Rakoczy
2c916e6566
tests for filters (#1250) 2021-08-18 13:58:07 +02:00
sektordv
52199aee37 remove skeleton import 2021-08-17 14:29:28 +02:00
sektordv
306160c217 fix component remount in shipping zone settings 2021-08-17 14:26:21 +02:00
Jakub Majorek
f50e3bdde1
Bump master to 3.1.0-a.0 (#1296) 2021-08-16 16:01:04 +02:00
mmarkusik
dae95cb410
Add Gift Cards #1 (#1291)
* Add gift cards section to menu and add empty list component

* Update messages

* Change styling of app wide page header to match design

* Add gift cards list table wip

* Update prop name for status chip component to make it more consistent with other components

* Replace old trash icon with new one

* Add Size type based on action dialog sizes to be used app wide

* Add delete icon button

* Add new sizes option to status chip component

* Add / update gift cards list components

* Add bulk actions type

* Work on gift cards list WIP

* Small refactor

* Fix styling of gift cards table

* Remove temp files

* Remove unnecessary type

* Add gift cards section to menu and add empty list component

* Update schema and types

* Add link to gift card update page to gift cards list and add route to gift cards index

* Extract order page title with status chip into a separate generic component and use it in order page title

* wip

* Update money component

* Add gift card details card balance section

* Refactor gift card details

* Add vertical spacer component

* Update schema and types

* Add gift card tag input component along with necessary queries

* Add gift card tag input to gift card update page

* Add gift card update details card expiry section WIP

* Add time period select field WIP

* Post rebase refactor

* Add time period select field to gift card update view

* Fixes after review

* Update schema, types and gift cards query

* Add getFullName util function and replace existing manual usages

* Add text with select field component

* Add gift card update info card and refactor

* Fix import

* Add displaying order link in gift card update

* Refactor

* Connect gift card list to api

* refactor

* Add gift card create dialog

* Fix gift card list styles, change location for gift card list query, minor refactor

* Fix menu structure data for gift cards

* Add channel currencies type to shop

* Refactor text with select field

* Add gift card expiry select component

* Add gift card error type and fragment

* Update global types

* Add default prop to getFormErrors function

* Move gift card details provider to providers dir

* Update global utils with mapSingleValueNodeToChoice function

* Update gift card tag input

* Move and refactor time period field

* Update schema

* move format money function to other money ulities

* Update gift card urls

* Add content or skeleton component

* Add gift card create util for extracting expiry settings input data

* Remove content or skeleton component and move displaying logic to existing skeleton

* Move displaying logic of gift card create dialog to list

* Refactor

* Add hooks for gift card bulk actions and gift card list to be used instead of context directly

* Fix types for text with select field + add parsing for number typed field

* Add initial currency to gift card create form

* Fix gift card create dialog closing animation

* Add gift card update info card

* Refactor gift card update details card

* Add gift card balance dialog

* Move gift card update form providers to providers dir

* Connect gift card update page to api, add necessary contexts etc.

* Refactor

* Refactor

* Add hooks to use instead of gift card contexts directly

* Fix types

* Fix text field target name missing in passed event in text with select field

* Add minimal value option to text with select field, add to gift card inputs

* Fix gift card update balance dialog not changing hasChanged prop after submit

* Refactor

* Fix update balance dialog crashing the app when enetered wrong amount

* Fix gift card list table header styles

* Add enable / disable section to gift card update

* Refactor

* Refactor

* Refactor

* Add metadata to gift card update

* Update messages ids

* Refactor

* Refactor

* Refactor

* Refactor

* Update types after rebase

* Fix types

* Fixes after qa

* Fix tests
2021-08-16 15:44:00 +02:00
SektorDV
6b24fa0dc3
Merge pull request #1283 from mirumee/SALEOR-3967-multiple-item-deletion-parseqs-fix
multiple item deletion parseqs fix
2021-08-13 14:18:19 +02:00
SektorDV
82e7b58bbf
Merge pull request #1287 from mirumee/SALEOR-3617-variant-creator-multiselect-fix
variant creator multiselect fix
2021-08-12 12:05:32 +02:00
sektordv
22210564e7 fix for single selects with values selected 2021-08-12 11:00:49 +02:00
sektordv
bb890fa5f0 clear values on blur for attribute selects 2021-08-11 16:38:44 +02:00
SektorDV
173a925f55
Merge pull request #1278 from mirumee/SALEOR-3418/disable-global-channel-picker-outside-home
Saleor 3418/disable global channel picker outside home
2021-08-11 14:22:41 +02:00
SektorDV
2d67891685
Merge branch 'master' into SALEOR-3418/disable-global-channel-picker-outside-home 2021-08-11 13:48:15 +02:00
sektordv
048dde6ac9 Merge branch 'SALEOR-3418/disable-global-channel-picker-outside-home' of https://github.com/mirumee/saleor-dashboard into SALEOR-3418/disable-global-channel-picker-outside-home 2021-08-11 13:46:43 +02:00
sektordv
049210b1b6 reapply changes after rebase 2021-08-11 13:44:47 +02:00
sektordv
e5d0ee1179 hide channelselect instead of disabling 2021-08-11 13:40:00 +02:00
sektordv
0585f61522 disable picker via context 2021-08-11 13:39:18 +02:00
SektorDV
e26d6b5a66
Merge pull request #1269 from mirumee/SALEOR-3695-collection-list-adjustments
Add filter bar to collection view
2021-08-11 12:09:21 +02:00
sektordv
11bead49c4 clear values on blur, prevent unnecessary updates 2021-08-11 11:47:01 +02:00
Kamil Pastuszka
8064b357d7
Fixed issue with modals containing invalid/redundant scrolls (#1240)
* fixed conflicts

* added improvements

* added changes

* deleting theme

* Update CHANGELOG.md
2021-08-11 11:03:39 +02:00
sektordv
2e14716a29 split messages between individual views 2021-08-10 19:03:52 +02:00
Jakub Majorek
b65a632e07
Add product variant translation view (#1285)
* Add product variant translation view

* Final adjustments
2021-08-10 16:38:48 +02:00
Dominik Żegleń
6d3e346a19
Improve limit messages (#1274) 2021-08-10 10:59:15 +02:00
sektordv
d74acdbab5 Merge branch 'SALEOR-3967-multiple-item-deletion-parseqs-fix' of https://github.com/mirumee/saleor-dashboard into SALEOR-3967-multiple-item-deletion-parseqs-fix 2021-08-09 17:28:46 +02:00
sektordv
72fb6b098d replace stringifyQs imports 2021-08-09 17:27:13 +02:00