Commit graph

1329 commits

Author SHA1 Message Date
dominik-zeglen
b2a8229dc0 Dock savebar even if it's disabled 2020-10-14 10:17:23 +02:00
Dawid Tarasiuk
bf450de822 Handle case when there is no default variant selected 2020-10-13 18:36:45 +02:00
Dawid Tarasiuk
a9979f6743 Fix defaulrt variant type duplication 2020-10-13 18:16:06 +02:00
Krzysztof Wolski
10c44d3ac5 Update translation contextCo-authored-by: Patryk Zawadzki <81205+patrys@users.noreply.github.com> 2020-10-13 18:10:55 +02:00
Krzysztof Wolski
db1c33d1fe Add default variant indicator for variant nav 2020-10-13 18:10:12 +02:00
Marcin Gębala
1334729b3c
Merge pull request #761 from mirumee/fix/variant-attribute-no-value-1242
Fix overlapping input placeholder
2020-10-13 17:13:40 +02:00
Marcin Gębala
5cc005da96
Merge pull request #759 from mirumee/fix/variant-table-header-1319
Fix delete icon placement
2020-10-13 17:13:24 +02:00
Marcin Gębala
efc4eca689
Merge pull request #758 from mirumee/fix/attribute-table-bins-1324
Fix column width
2020-10-13 17:13:01 +02:00
dominik-zeglen
264f2ba8c8 Handle empty input in variant creation 2020-10-13 15:54:35 +02:00
dominik-zeglen
7d397606f0 Disable set as default if variant is default 2020-10-13 15:43:10 +02:00
Dominik Żegleń
fca8d7ab28
Merge pull request #737 from mirumee/fix/handle-attribute-errors
Fix handle attribute errors
2020-10-13 15:14:26 +02:00
Dominik Żegleń
a90a1f0157
Merge pull request #760 from mirumee/fix/slug-length-1159
Limit slug to 255 characters
2020-10-13 15:07:52 +02:00
dominik-zeglen
9396f62df1 Fix debug value 2020-10-13 13:31:53 +02:00
dominik-zeglen
7aebb67cfd Do not allow negative values and display errors 2020-10-13 13:29:42 +02:00
dominik-zeglen
8625660db3 Fix overlapping input placeholder 2020-10-12 16:45:21 +02:00
dominik-zeglen
450b3bf15c Limit slug to 255 characters 2020-10-12 16:32:19 +02:00
dominik-zeglen
85099e1113 Fix delete icon placement 2020-10-12 15:15:00 +02:00
dominik-zeglen
7052027b1d Fix column width 2020-10-12 14:47:44 +02:00
dominik-zeglen
d514cd3d88 Remove unused imports 2020-10-12 12:56:11 +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
dominik-zeglen
c60d5bff56 Update snapshots 2020-10-12 12:56:07 +02:00
dominik-zeglen
60fb2266a9 Use dedicated error fragment 2020-10-12 12:56:05 +02:00
dominik-zeglen
ee1ecff1f8 Handle attribute errors in product views 2020-10-12 12:56:04 +02:00
dominik-zeglen
369fd09853 Display attribute errors in product view 2020-10-12 12:56:03 +02:00
Dawid Tarasiuk
f85ca42d36 Use non negative value change handler for quantity input 2020-10-09 13:15:19 +02:00
Dawid Tarasiuk
8abe279248 Require minimum quantity equals one 2020-10-09 13:09:12 +02:00
Dawid Tarasiuk
484780dcc3 Fix order draft negative quantity 2020-10-09 13:09:11 +02:00
Dawid Tarasiuk
1fda14d2aa Update test snapshots 2020-10-09 13:08:24 +02:00
Dawid Tarasiuk
66a049b2dd Create non negative value change handler 2020-10-09 13:08:24 +02:00
Dawid Tarasiuk
a10fc62819 Update test snapshots 2020-10-09 13:08:23 +02:00
Dawid Tarasiuk
5d1361f352 Prevent negative price setting in input 2020-10-09 13:08:22 +02:00
Dawid Tarasiuk
bf295e4dce
Merge pull request #751 from mirumee/fix/set-default-variant-dalert
Fix set default variant alert
2020-10-09 12:46:04 +02:00
Dawid Tarasiuk
12dab278a6
Merge pull request #749 from mirumee/fix/order-fullfilment-redirect
Fix order fulfillment redirect
2020-10-09 11:05:08 +02:00
Dawid Tarasiuk
3df1f0c041 Fix set default variant alert 2020-10-09 11:00:06 +02:00
Dawid Tarasiuk
12f56b3c96 Fix order draft back button redirect 2020-10-08 12:45:39 +02:00
Dawid Tarasiuk
46cadf0c48
Merge pull request #713 from mirumee/fix/no-warehouses-in-variant-creator
Add no warehouses info when working with stock quantities
2020-10-08 12:42:10 +02:00
Dawid Tarasiuk
992816c641 Update storybook with no warehouses case 2020-10-08 11:54:15 +02:00
Dawid Tarasiuk
758c22770f
Merge pull request #744 from mirumee/fix/product-type-attributes-empty-table
Fix style of product type attributes empty table
2020-10-07 15:54:15 +02:00
Dawid Tarasiuk
62e844449b Fix order fullfilment redirect 2020-10-06 11:44:57 +02:00
Dawid Tarasiuk
2c18669a16
Merge pull request #740 from mirumee/fix/shipping-weight-error-label
Fix shipping weight error label state
2020-10-02 17:25:36 +02:00
Dawid Tarasiuk
8dcb263cd3 Update product type test snapshot 2020-10-02 12:50:58 +02:00
Dawid Tarasiuk
5adcc77e14 Fix style of product type attributes empty table 2020-10-02 12:36:41 +02:00
Dominik Żegleń
769f30e135
Use regex instead of string to replace all "\n" occurences (#736)
* Use regex instead of string to replace all

* Add global flag to regex to replace all occurences

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-10-02 11:05:52 +02:00
Krzysztof Wolski
7e95d53155
Fix Variant Details console errors (#742)
* Add default empty unit when there is no specified one

* Add index required in draggable tables

* Select fields should get undefined value instead of null
2020-10-02 11:04:54 +02:00
Dominik Żegleń
287a2eb8ed
Hide save bar if no action is available (#735) 2020-10-01 17:50:17 +02:00
Dawid Tarasiuk
1df93cddaf Fix shipping weight error label state 2020-09-30 13:33:25 +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
Dawid Tarasiuk
61723bd045 Fix warehouse configure link translation 2020-09-29 18:01:36 +02:00
Dawid Tarasiuk
dc43578d5a Update configure warehouse link 2020-09-29 15:18:07 +02:00
Dominik Żegleń
30c411179f
Merge pull request #733 from mirumee/fix/table-layout
Fix staff members table
2020-09-29 12:56:45 +02:00
Dawid Tarasiuk
bf18651f7d Remove leave screen dialog 2020-09-29 12:08:54 +02:00
Dawid Tarasiuk
4b01781157 Use ref to persist leave action 2020-09-29 11:06:42 +02:00
Dawid Tarasiuk
b9bccd07f3 Refactor leave action in product update 2020-09-28 17:41:24 +02:00
Dawid Tarasiuk
4aefafda9c Remove unused callback 2020-09-28 14:50:46 +02:00
Dawid Tarasiuk
ce812aaab4 Fix translations 2020-09-28 14:46:56 +02:00
Dawid Tarasiuk
73fe19011b Update submit next action handling 2020-09-28 14:46:55 +02:00
Dawid Tarasiuk
6d39899db3 Revert changes of product urls 2020-09-28 14:46:55 +02:00
Dawid Tarasiuk
e8e1162698 Update submit next action logic 2020-09-28 14:46:54 +02:00
Dawid Tarasiuk
1aaa5c5c3a Add redirect on warehouse configuration action 2020-09-28 14:45:38 +02:00
Dawid Tarasiuk
6065c5ded6 Add no warehouses info in variant and product details 2020-09-28 14:43:36 +02:00
Dawid Tarasiuk
9e8f453c99 Add no warehouses info in variant creator 2020-09-28 14:40:53 +02:00
dominik-zeglen
3d3f2fa924 Fix staff members table 2020-09-28 12:32:32 +02:00
Marcin Gębala
7e24e4a14f
Merge pull request #720 from mirumee/feat/add-slug-to-seo-form
Add slug field to category, product, collection & page details
2020-09-25 18:44:08 +02:00
Marcin Gębala
354b0f5b90
Merge pull request #732 from mirumee/fix/table-layout
Fix exploding table layout
2020-09-25 18:43:44 +02:00
dominik-zeglen
dd6695070c Update snapshots 2020-09-25 18:18:07 +02:00
Marcin Gębala
55d748e3c6
Merge pull request #731 from mirumee/revert-menu
Revert menu
2020-09-25 18:16:18 +02:00
Magdalena Markusik
70815b0d51 fixes 2020-09-25 18:02:28 +02:00
Magdalena Markusik
8f43226e95 Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-25 17:41:58 +02:00
Dominik Żegleń
b571eef598
Merge pull request #728 from mirumee/add/taxes-per-product
Allow taxes to be configured per product
2020-09-25 17:28:56 +02:00
dominik-zeglen
85b4d13ba2 Hide navigator button on mobile devices 2020-09-25 17:27:50 +02:00
dominik-zeglen
80c57ae0c0 Revert "Fix return to previous page on screen size change (#710)"
This reverts commit 45d33c3920.
2020-09-25 17:23:07 +02:00
dominik-zeglen
56b331aef2 Fix typo 2020-09-25 17:02:27 +02:00
dominik-zeglen
45f12f4f72 Update snapshots 2020-09-25 17:00:18 +02:00
dominik-zeglen
4849adbe8f Fix colSpan 2020-09-25 17:00:18 +02:00
dominik-zeglen
e13086fef3 Fix exploding table layout 2020-09-25 17:00:17 +02:00
Marcin Gębala
cf91edaaf9 Revert "Merge pull request #697 from mirumee/ref/sidebar"
This reverts commit b1623eaaf5, reversing
changes made to 14da39ebfa.
2020-09-25 16:45:27 +02:00
Magdalena Markusik
f956be3fbc refactor after review 2020-09-25 16:44:11 +02:00
Marcin Gębala
42931a1d31 Revert "Merge pull request #703 from mirumee/ref/sidebar-mobile"
This reverts commit acfd04e81a, reversing
changes made to 40d27a9280.
2020-09-25 16:38:59 +02:00
mmarkusik
c8e06812e6
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-25 15:39:05 +02:00
Magdalena Markusik
cc166f463c refactor after review 2020-09-25 15:27:57 +02:00
Tomasz Szymański
4cecf238d6
Allow product variant to be set as default (#721)
* Add drag-and-drop to allow variants reordering

* Handle variants reordering

* Allow product variant to be set as default

* Display default variant and perform refresing after set

* Move ProductVariantSetDefault to separate component

* Changes to new schema


Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-09-25 14:33:01 +02:00
Dawid Tarasiuk
4da205bb24
Merge pull request #730 from mirumee/fix/disable-autocomplete-in-email-field
add autocomplete off to email field in site settings
2020-09-25 13:50:57 +02:00
Dawid Tarasiuk
388c4c97ec
Merge pull request #729 from mirumee/fix/showing-skeleton-for-price-in-product-list
Fix skeleton showing for price in product list
2020-09-25 13:49:30 +02:00
Magdalena Markusik
4457da981e update tests 2020-09-24 16:07:48 +02:00
Magdalena Markusik
cb977c4516 add type url to email field in site settings 2020-09-24 15:56:44 +02:00
Magdalena Markusik
c2039f751e add autocomplete off to email field in site settings 2020-09-24 15:38:21 +02:00
Magdalena Markusik
c0d02d6943 refactor 2020-09-24 15:31:29 +02:00
Magdalena Markusik
2519ed9496 add pattern matching for slug field not to use special characters 2020-09-24 15:30:16 +02:00
Magdalena Markusik
dbbb0ac990 fix tests 2020-09-24 14:56:42 +02:00
Magdalena Markusik
41209ce8dc fix types 2020-09-24 14:33:14 +02:00
Magdalena Markusik
4a8b8e3c2f Fix mutation for simple product update 2020-09-24 14:17:26 +02:00
Magdalena Markusik
828e207209 add error handling to seo form 2020-09-24 14:11:30 +02:00
dominik-zeglen
5b6a420199 Update changelog, stories and messages 2020-09-24 13:49:49 +02:00
dominik-zeglen
9a9c6a01a1 Fix stories 2020-09-24 13:49:48 +02:00
dominik-zeglen
a028c69810 Add support for changing tax type for products 2020-09-24 13:46:51 +02:00
dominik-zeglen
baff4413a5 Improve rendering of large lists 2020-09-24 13:46:50 +02:00
dominik-zeglen
2b92211b99 Add tax section to product view 2020-09-24 13:46:48 +02:00
Dawid Tarasiuk
2805b752f0
Merge pull request #726 from mirumee/disable-autocomplete-for-auth-keys-inputs
Disable autocomplete for plugin auth key field and site settings auth field
2020-09-24 09:08:09 +02:00
Dawid Tarasiuk
30ab1bb439 Fix misaligned rich text draft controls 2020-09-23 17:58:25 +02:00
Magdalena Markusik
0faf70aea6 wip 2020-09-23 14:03:15 +02:00
Magdalena Markusik
edb03e81b0 Disable autocomplete for plugin auth key field and site settings auth fields 2020-09-23 10:19:18 +02:00
mmarkusik
8093876c7b
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-23 09:39:29 +02:00
mmarkusik
ce77c9df10
Fix strings containing "informations" (#722)
* update

* update changelog

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-09-22 18:04:06 +02:00
Magdalena Markusik
c20c84da35 refactor 2020-09-22 13:10:53 +02:00
mmarkusik
c7124ffc41
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-22 09:58:33 +02:00
dominik-zeglen
b0053e1f92 Fix table horizontal scrolling 2020-09-21 17:19:33 +02:00
Magdalena Markusik
e69c7057bd fix lint 2020-09-21 16:30:18 +02:00
Magdalena Markusik
ca644c9bb0 refactor 2020-09-21 15:34:32 +02:00
dominik-zeglen
35624d3008 Fix uncontrolled to controlled input change 2020-09-21 15:34:15 +02:00
Magdalena Markusik
0f4d0f1195 fix types and lint 2020-09-21 14:57:12 +02:00
Magdalena Markusik
77063deb4f fix seo form to work with null values from some props 2020-09-21 14:45:57 +02:00
Magdalena Markusik
37e0ecce26 add slug field to category update and create 2020-09-21 12:47:03 +02:00
Magdalena Markusik
6ae8fcebcd update product create mutation create handler 2020-09-21 12:24:11 +02:00
Magdalena Markusik
52cf01ed72 update mutation and fixtures 2020-09-21 12:05:43 +02:00
Dominik Żegleń
a78af2b9db
Merge branch 'master' into fix/avatar-change-button 2020-09-21 11:12:56 +02:00
Dawid Tarasiuk
8d9162cd1d Update test snapshots 2020-09-21 10:34:34 +02:00
Dawid Tarasiuk
ffaf56a51b Handle variants reordering 2020-09-21 10:33:25 +02:00
Dawid Tarasiuk
88b8950408 Add drag-and-drop to allow variants reordering 2020-09-21 10:33:24 +02:00
Dawid Tarasiuk
e474f90a8e Update test snapshots 2020-09-18 17:01:36 +02:00
Dawid Tarasiuk
f7936fa3fc Fix avatar change button 2020-09-18 17:01:17 +02:00
Magdalena Markusik
d20b58dd79 fixes afer merge 2020-09-18 16:40:48 +02:00
Magdalena Markusik
7631a7a281 Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-18 15:35:22 +02:00
Dawid Tarasiuk
45d33c3920
Fix return to previous page on screen size change (#710)
* Fix header responsiveness

* Update changelog
2020-09-18 15:08:50 +02:00
AlicjaSzu
cd88102af7
fix product availability date (#696)
* VisibilityCard - fix product availability date

* revert changes in VisibilityCard, refetch data on successfully updated availability

* fix availability in ProductCreate and ProductUpdate

* ProductUpdate - remove unneeded refetch

* create  getProductAvailabilityVariables handler
2020-09-18 15:01:00 +02:00
Dawid Tarasiuk
acfd04e81a
Merge pull request #703 from mirumee/ref/sidebar-mobile
Improve sidebar responsiveness
2020-09-18 12:16:27 +02:00
Dawid Tarasiuk
62b5219af8 Update translations 2020-09-18 11:42:36 +02:00
Dawid Tarasiuk
40d27a9280
Merge pull request #711 from mirumee/fix/order-details-update
Fix updating order details on address change
2020-09-17 16:16:21 +02:00
Magdalena Markusik
8a80f3dd4d Add slug field for page details wip 2020-09-17 16:06:13 +02:00
Maciej Korycinski
24ea28f987
Pass missing isVisibleListing variable to mutation (#712)
* Pass missing arguments

* Update types
2020-09-16 15:28:05 +02:00
Dawid Tarasiuk
d3102c2a62 Update order details on address change 2020-09-15 15:18:50 +02:00
Dominik Żegleń
2600767431
Add error info when fetching taxes (#701)
* Add error info

* Update changelog
2020-09-15 14:03:39 +02:00
dominik-zeglen
bf752d1ee7 Add mobile drawer menu 2020-09-11 15:58:15 +02:00
dominik-zeglen
989f66f7de Add SquareButton component 2020-09-11 12:43:55 +02:00
dominik-zeglen
6fcc0eaf79 Improve userbar styles 2020-09-11 12:29:08 +02:00
dominik-zeglen
95f11a3032 Fix app header responsiveness 2020-09-10 17:37:25 +02:00
dominik-zeglen
a7c65f77e4 Move userbar to separate component 2020-09-10 17:20:22 +02:00
dominik-zeglen
ed3d168d22 Fix app header 2020-09-10 17:11:36 +02:00
dominik-zeglen
668290d500 Update snapshots 2020-09-09 13:21:29 +02:00
dominik-zeglen
14b32db8ec Fix test selectors 2020-09-09 13:15:18 +02:00
dominik-zeglen
297fa35edd Fix menu hiding 2020-09-09 12:59:59 +02:00
dominik-zeglen
155dcbecb3 Listen to all clickAways 2020-09-09 12:59:58 +02:00
dominik-zeglen
89c33deb3d Fix submenu shadow 2020-09-09 12:59:56 +02:00
dominik-zeglen
a1b8cba07b Do not break white space 2020-09-09 12:59:55 +02:00
dominik-zeglen
c862cc1eae Align text to left 2020-09-09 12:59:54 +02:00
dominik-zeglen
4fa7730611 Improve dom nesting 2020-09-09 12:59:53 +02:00
dominik-zeglen
3d571e3f4f Visual improvements 2020-09-09 12:59:52 +02:00
dominik-zeglen
e8a69cd9fc Fix sidebar positiion 2020-09-09 12:59:51 +02:00
dominik-zeglen
da0677ca42 Fix submenu text color 2020-09-09 12:59:49 +02:00
dominik-zeglen
ac0e8f03fc Remove obsolete files 2020-09-09 12:59:47 +02:00