Lukasz Ostrowski
5b945162a7
Remove legacy Marketplace code and env variables that it was using ( #3342 )
...
* Remove legacy Marketplace code and env variables that it was using
* Update locales
2023-03-14 12:17:19 +01:00
Paweł Chyła
183a523e50
Fix custom app cruch whe no permissions ( #3347 )
2023-03-14 09:25:21 +01:00
Krzysztof Żuraw
48fb75423a
Fix staff avatars ( #3314 )
2023-03-13 15:20:58 +01:00
Krzysztof Żuraw
d33db9f2f5
Fix add product to order modal title & subtitle ( #3337 )
2023-03-13 12:45:02 +01:00
Krzysztof Żuraw
93c2459013
Fix allow click on webhook checkbox ( #3327 )
2023-03-13 11:55:03 +01:00
Krzysztof Żuraw
9b4fb2d553
Fix scrolling issues on Firefox ( #3332 )
2023-03-13 10:36:04 +01:00
Krzysztof Żuraw
71d5ac3992
Fix fonts for safari & order settings page ( #3316 )
2023-03-10 10:38:14 +01:00
Michał Droń
228fe4d802
Fix overflowing integrations in app view ( #3313 )
...
* Bump lockfile
* Add flex-wrap to integrations
* Add flex-wrap to links
* Move integrations sections to upper card block
2023-03-10 09:08:08 +01:00
Jonatan Witoszek
2532426c20
Support for new transactions API ( #2233 )
...
* Revert "🦄 Simple taxes (#2072 )"
This reverts commit 5c1a62171d
.
* Revert "Revert "🦄 Simple taxes (#2072 )""
This reverts commit 3c8289cba657debc676bb6ff677d9494cb308d19.
* SALEOR-7898: Split payments - transactions list #2234
commit 0742eee71765caa9c7084f6f3eb9be90808ff29c
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 10:18:06 2022 +0200
Remove too long font size
commit 2724965127b591e703acb966ecc50c018124cb3f
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 15:03:35 2022 +0200
Replace custom styles with Typography component
commit b94a616953bbef878bdd5d958eb6debda53aa524
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:54:39 2022 +0200
Fix formatting
commit 2a2a22692473290b3b566d89e85b265f7b8e0670
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:24:38 2022 +0200
Update messages
commit bdde8a0d54429d0d2d01d619ddde8a88fd29f0e1
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:23:37 2022 +0200
Fix failing prettier check
commit 2f98b3bccc59bdcd978cc9cee8bede76f45f47a6
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:07:46 2022 +0200
Remove !important from styles
commit dfce53ba5add1e1a6b175caa2e1c5a03fa9dffe8
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 13:46:08 2022 +0200
Refactor PR comments
commit 43781d792603c59031c75164415443f3b68f86d0
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 13:02:11 2022 +0200
Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
commit 51e89a0f46059bd6d19513abee128503f818c2f8
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 13:01:15 2022 +0200
Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
commit 9565cab4a408845de40882ee564c4c7e79a3d5d6
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 8 14:13:11 2022 +0200
Update messages
commit ebf3b7a5f7a2b49d571d4cd6df2f74027e3d8304
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 8 14:11:59 2022 +0200
Update snapshots
commit 854b21d7af3f14e3f7c4e53812c2d30490e0a675
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 7 17:36:55 2022 +0200
Add copy icon to PspReference
commit 0124657acf623870773abecdf03b9b5ae3381757
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 7 15:38:45 2022 +0200
Fix order saved when copying PSP reference
commit adf151fb56d06d9ee12d13bdef1b324395a86b4a
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 14:44:00 2022 +0200
Update snapshots, fix inline styles in PSP reference
commit bfae5d9476e61e27b91ffa64e594a86b82e8f670
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 12:59:57 2022 +0200
Fix transactions table sizing on `md` screen sizing
commit cdbb439f80534706a0a2e588f033ae94af04cb72
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 12:38:27 2022 +0200
Fix PSP reference sizing issues
commit a2be62f8f2db11319c8843cdd4b6431d7518b389
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 10:06:28 2022 +0200
Add parameter to clear additional params in modals
commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 5 15:42:46 2022 +0200
Update prettier to latest version (TS syntax parsing issues)
commit 261879696f594b1e09b4a0c112dfce801b1cf6bd
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 5 15:39:08 2022 +0200
Add buttons to void or capture transactions
commit ba89cca5ec3e5c61d9468f983ea7b7ab9eea8c14
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 14:13:13 2022 +0200
Add copy feature to psp reference pill
commit 7f3ff30a2738bcfa773a5abce7e53828ce4b276e
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:35:02 2022 +0200
Update snapshots
commit 4bee083c839ca5d141b8845131dba506a0745a79
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:29:38 2022 +0200
Update messages
commit c86431abb6015a28b1cfeddc91cda69cc0c3e06b
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:16:37 2022 +0200
Fix transaction events list when no pspReference is provided
commit a7127123556677206864aa3a9683c19645724a36
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:09:48 2022 +0200
Fix spacing between transactions
commit dc224e2c7ebd2af438f2e997eb1ba3430ca5ffcc
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:06:32 2022 +0200
Highlight rows that have the same pspReference on hover
commit 2e9aaed9599a5e5a0064c6140e6b6f48c0587850
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 1 17:33:06 2022 +0200
Update macaw to unreleased version
commit a818c1b0ebeb4e17ea65aa6698c2c9d29be6cc2f
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 1 17:21:24 2022 +0200
Fix transactions list table layout
commit 50ae82b961f653dd8b2ba9b9cc4ece5c691fe39b
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 1 16:34:52 2022 +0200
Use Intl.DateTimeFormat to format dates instead of moment.js
commit c0f54100cb476637a8d0145ac00ccd5e017a9665
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Aug 31 17:21:34 2022 +0200
Add transaction events
commit c34279d5c195734df604605481e3d84c5e81f764
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:53:01 2022 +0200
Fix alignment when amount is <10
commit d3362c24e8bcf0263582dbcc324c2fe403a6f72a
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:42:41 2022 +0200
Fix conditional display logic, add story for long numbers
commit 73cce9edd5e25c2cca68411ccebdfd3918099ae5
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:27:18 2022 +0200
Fix IMoney to use new import
commit b0cf154c94139be726451ce52b0e4421928ebf80
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:15:37 2022 +0200
Add order transactions component
commit 87808f66482448d4301d13196be84cb55912d994
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:28:02 2022 +0200
Don't hide transaction balance when order is not confirmed
commit 6818c88b5b26be901ec56fae3302d5ba7b5fa504
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:22:47 2022 +0200
Update lockfile
commit 9046b5f56cc293516e578c527abda4a30a66b079
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:20:50 2022 +0200
Update GraphQL schema
* SALEOR-7898: Split payments - transactions list #2234
commit 0742eee71765caa9c7084f6f3eb9be90808ff29c
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 10:18:06 2022 +0200
Remove too long font size
commit 2724965127b591e703acb966ecc50c018124cb3f
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 15:03:35 2022 +0200
Replace custom styles with Typography component
commit b94a616953bbef878bdd5d958eb6debda53aa524
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:54:39 2022 +0200
Fix formatting
commit 2a2a22692473290b3b566d89e85b265f7b8e0670
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:24:38 2022 +0200
Update messages
commit bdde8a0d54429d0d2d01d619ddde8a88fd29f0e1
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:23:37 2022 +0200
Fix failing prettier check
commit 2f98b3bccc59bdcd978cc9cee8bede76f45f47a6
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 14:07:46 2022 +0200
Remove !important from styles
commit dfce53ba5add1e1a6b175caa2e1c5a03fa9dffe8
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 13:46:08 2022 +0200
Refactor PR comments
commit 43781d792603c59031c75164415443f3b68f86d0
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 13:02:11 2022 +0200
Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
commit 51e89a0f46059bd6d19513abee128503f818c2f8
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 9 13:01:15 2022 +0200
Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
commit 9565cab4a408845de40882ee564c4c7e79a3d5d6
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 8 14:13:11 2022 +0200
Update messages
commit ebf3b7a5f7a2b49d571d4cd6df2f74027e3d8304
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 8 14:11:59 2022 +0200
Update snapshots
commit 854b21d7af3f14e3f7c4e53812c2d30490e0a675
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 7 17:36:55 2022 +0200
Add copy icon to PspReference
commit 0124657acf623870773abecdf03b9b5ae3381757
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 7 15:38:45 2022 +0200
Fix order saved when copying PSP reference
commit adf151fb56d06d9ee12d13bdef1b324395a86b4a
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 14:44:00 2022 +0200
Update snapshots, fix inline styles in PSP reference
commit bfae5d9476e61e27b91ffa64e594a86b82e8f670
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 12:59:57 2022 +0200
Fix transactions table sizing on `md` screen sizing
commit cdbb439f80534706a0a2e588f033ae94af04cb72
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 12:38:27 2022 +0200
Fix PSP reference sizing issues
commit a2be62f8f2db11319c8843cdd4b6431d7518b389
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 6 10:06:28 2022 +0200
Add parameter to clear additional params in modals
commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 5 15:42:46 2022 +0200
Update prettier to latest version (TS syntax parsing issues)
commit 261879696f594b1e09b4a0c112dfce801b1cf6bd
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 5 15:39:08 2022 +0200
Add buttons to void or capture transactions
commit ba89cca5ec3e5c61d9468f983ea7b7ab9eea8c14
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 14:13:13 2022 +0200
Add copy feature to psp reference pill
commit 7f3ff30a2738bcfa773a5abce7e53828ce4b276e
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:35:02 2022 +0200
Update snapshots
commit 4bee083c839ca5d141b8845131dba506a0745a79
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:29:38 2022 +0200
Update messages
commit c86431abb6015a28b1cfeddc91cda69cc0c3e06b
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:16:37 2022 +0200
Fix transaction events list when no pspReference is provided
commit a7127123556677206864aa3a9683c19645724a36
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:09:48 2022 +0200
Fix spacing between transactions
commit dc224e2c7ebd2af438f2e997eb1ba3430ca5ffcc
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 2 12:06:32 2022 +0200
Highlight rows that have the same pspReference on hover
commit 2e9aaed9599a5e5a0064c6140e6b6f48c0587850
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 1 17:33:06 2022 +0200
Update macaw to unreleased version
commit a818c1b0ebeb4e17ea65aa6698c2c9d29be6cc2f
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 1 17:21:24 2022 +0200
Fix transactions list table layout
commit 50ae82b961f653dd8b2ba9b9cc4ece5c691fe39b
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 1 16:34:52 2022 +0200
Use Intl.DateTimeFormat to format dates instead of moment.js
commit c0f54100cb476637a8d0145ac00ccd5e017a9665
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Aug 31 17:21:34 2022 +0200
Add transaction events
commit c34279d5c195734df604605481e3d84c5e81f764
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:53:01 2022 +0200
Fix alignment when amount is <10
commit d3362c24e8bcf0263582dbcc324c2fe403a6f72a
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:42:41 2022 +0200
Fix conditional display logic, add story for long numbers
commit 73cce9edd5e25c2cca68411ccebdfd3918099ae5
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:27:18 2022 +0200
Fix IMoney to use new import
commit b0cf154c94139be726451ce52b0e4421928ebf80
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 26 16:15:37 2022 +0200
Add order transactions component
commit 87808f66482448d4301d13196be84cb55912d994
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:28:02 2022 +0200
Don't hide transaction balance when order is not confirmed
commit 6818c88b5b26be901ec56fae3302d5ba7b5fa504
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:22:47 2022 +0200
Update lockfile
commit 9046b5f56cc293516e578c527abda4a30a66b079
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:20:50 2022 +0200
Update GraphQL schema
* SALEOR-7901: Split payments - order summary and payments balance #2310
commit 8d5be6ae4c46dffe9cca5e20cfe4b458d2cc7f2f
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Oct 5 14:17:20 2022 +0200
update snapshots
commit 7b84da1566a92811e0cf3424085219221ff8876c
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Tue Oct 4 16:10:40 2022 +0200
Refactor inlined functions to separate file
commit 798c8cc87fda9ac48837013336d94291b5d87fb4
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Tue Oct 4 16:08:27 2022 +0200
Refactor tax amount turnary operator expression
commit 001d16d3c4010489fbf8a2872d5d80195797ef7d
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Sep 28 16:15:12 2022 +0200
Apply suggestions from code review
commit 274c6f9f68630d8c91a588a77975d8d519c84e24
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 28 16:07:46 2022 +0200
Apply suggestions from code review
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
commit ab13210f62b00dc68478ee94a30d5b0d5424cc09
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Sep 28 13:21:46 2022 +0200
Hide "no payment" text when order has gift cards
commit 9159cf1913cec93a7960ba8d5ad29914d11d7a63
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Sep 28 13:11:52 2022 +0200
Fix "Copied" text doesn't fit on short psp reference
commit a7eea637484c010b91b265df8eba5a729bec8e6b
Merge: 97f128b1f 3ac5e6304
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Mon Sep 26 16:44:52 2022 +0200
Merge branch 'feature/split-payments' into split-payments/balance
commit 3ac5e6304e2d114288ae21d7def120b7cb669887
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 10:51:05 2022 +0200
Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
commit 97f128b1f7b9376708f3d98a1a5131d5c0acc2be
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Mon Sep 26 11:46:29 2022 +0200
force deploy
commit b97d93d8930cb2063772bace0ad5c779852a5c5c
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:08:27 2022 +0200
Fix TS errors
commit b679bc91b670661c205ed2bd9c5b209d777173cc
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:00:35 2022 +0200
Update snapshots
commit a6f3d3c50a46325011bba242b431cbf3cb81ac8b
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:00:21 2022 +0200
Update messages
commit 99ec7ca736666b669eb215e463362fd2fe27c690
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:00:08 2022 +0200
Fix story - gift card
commit 3c254dce2386dcbe544810948a86c5cf128d4cb4
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 15:34:07 2022 +0200
Improve loading layout
commit b1adf9d580d39b3301a8f56d0677a5ccf9608126
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 15:05:37 2022 +0200
Display message in payment card when there are no transactions
commit e9bb8b22a95c7e2416ed5e457db7cbddc004fa3d
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 14:11:35 2022 +0200
Handle gift cards edge case: lowered total amount
commit 115f56fb6f9e44f7f8bbec84d110a8e1c2af47d2
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 13:56:41 2022 +0200
Filter out payments that are inactive and don't contain any transaction
commit e790aadca2a13fcccb8bb3a3c52967b90856c3e4
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:57:24 2022 +0200
Remove order level actions, move buttons to payment level
commit fd4a158c5aba32f4a7ed31daa54bc37274d1cdbe
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:31:23 2022 +0200
Simplify OrderAddTransaction button
commit 6b298357933033df42745d6db465617963b181d6
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:26:40 2022 +0200
Hide grant refund and send refund when there is no payment
commit b3c6532d299932bceafcbe48b06aaaf693dc21be
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:14:10 2022 +0200
Add Stories for payments in order, fix edge cases for payments
commit 2db8efe628df5c647d36f2b97a48a40bd7c98eaf
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 14:46:54 2022 +0200
Add payments displayed as transactions in order details
commit 3751cbf4fecf22c6624d39ca894190abb77363a6
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 21 14:03:42 2022 +0200
Add gift card Storybook example, fix spacing between OrderTransaction
commit 77a1647c0c7afe38298778372cace06e2dc428fb
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 20 17:00:18 2022 +0200
Remove gift card from OrderSummaryCard
commit 85a4894d28d88c386a9b61fe09b517ac7ff8ad60
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 20 16:58:25 2022 +0200
Display gift cards as transactions in order details
commit 1e36a176bab8c57c527f5e19ae05e46cf0cefa03
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 15 14:13:47 2022 +0200
Fix logic for displaying "Mark as paid" button
commit 5aeca84a40c8d0a6df03315b56e48dcc1fc39cab
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 15 13:18:24 2022 +0200
Fix order details page when loading
commit a6dc8f13ded5a4d7f5bf0b0778bb52c31b97028f
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 15 13:11:50 2022 +0200
Add "Mark as paid" / Add transaction button
commit 7ad01b66dc4b639ae24bbc58a4364eee89e4cf4c
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 14 16:52:38 2022 +0200
Fix logic of showing / hiding capture & authorize amounts
commit b4328e4cbf09290f5d1a29ecc3ca88f33fb83142
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 14 13:17:27 2022 +0200
Style payment + summary cards in order, style summary card
commit e4bdd44beea265899dbc70db6470ca9307becb5b
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 13 15:25:54 2022 +0200
Add payments to order query, add more Storybook cases for orders
commit 67dc47d5c19125442f1cf954b9b7d4b4e7d3eff7
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 13 10:53:26 2022 +0200
Add new OrderPayment card
commit 093490a01bff3fd7aaaac270d74742a22e0b8885
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 14:46:35 2022 +0200
Refactor OrderPayment -> OrderSummaryCard
commit 7eb73e2650d9602ef635a4b6b8a4aefd4ad89730
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 10:51:05 2022 +0200
Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
commit 6818c88b5b26be901ec56fae3302d5ba7b5fa504
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:22:47 2022 +0200
Update lockfile
commit 9046b5f56cc293516e578c527abda4a30a66b079
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:20:50 2022 +0200
Update GraphQL schema
* SALEOR-7904: Split payments - Grant refund #2336
commit 4681481fc163683936a53fa8436a0eecad26f9c1
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Nov 2 16:49:45 2022 +0100
Update snapshots
commit 0831c4f75670009bc0a17fe1e9dae94646927866
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Nov 2 15:24:43 2022 +0100
Pin macaw version
commit b588948fa260509c5e13362b48f72d277897f7bb
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Oct 17 17:31:53 2022 +0200
Fix refund card not working while loading
commit fccd15c73b40231423e544256541ddc4ebc4b37a
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Oct 7 15:23:39 2022 +0200
Add exhaustiveness check to switch...case statemet
commit 62e6c03b02bea5c2fb785e9cccbaf024b4ffa6cb
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Oct 7 14:09:31 2022 +0200
Remove USD as default currency
commit 586f91a6c87375544223dc666e1a358cbd3c814c
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Oct 7 14:08:30 2022 +0200
Refactor ProductCard event handlers into separate functions
commit 8b242905c7b787102ef764adc5f574ab3e9c77de
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Oct 7 14:05:35 2022 +0200
Refactor fulfilment subtitle into helper function
commit 1cdba397497e59aa89d2d4fb05816631e69f0ef6
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Oct 7 14:01:05 2022 +0200
Refactor payments summary logic
commit 5ca4709d3e902186005901f1ee68c3cb2b80df64
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Oct 7 13:10:58 2022 +0200
Refactor iterator spread to Array.from for more readability
commit d47098ce8cdc0c8ec6b7f49e5a7476cfebde62b7
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Oct 7 10:52:59 2022 +0200
Update snapshots, messages
commit 53228797377f7dfeb830eb2e7176ea70c4dd3fec
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 16:33:09 2022 +0200
Refactor ProductCard to use TableRowLink
commit f08d2c717a04a4e45a59b0d80b95f7b949f3ebb1
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 16:32:49 2022 +0200
Disable hover effect when TableRow is not clickable
commit 0a7c75223e0a7c4cf7e01eb6e3d6644090be8b08
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 15:52:05 2022 +0200
Refactor payments summary line into separate component
commit e2bc2ec506e5045d08560c6105685665820830de
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 15:41:49 2022 +0200
Show granted, pending and refunded amounts
commit f9a47a4c7c48e479f4748d4bf8d373d2d1e6d3ea
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 15:18:33 2022 +0200
Fix selected refund value calculated to NaN
commit 43bd259208359d1c2862c5493a16758de6970430
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 15:16:41 2022 +0200
Don't prefill refund amount, disable submit when amount is 0
commit 41d461a40b09723f880200796eab4c6a0895969f
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 14:14:55 2022 +0200
Remove warning text in Refund Card
commit 14cd616fdd8b6ae93b4563c87af33adf4b86c922
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Oct 6 14:13:54 2022 +0200
Fix spacing in the Refund Card
commit 825bd16752795749fba20043772b3b862005da49
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Oct 5 17:13:55 2022 +0200
Update snapshots
commit 74427bb29a44cba6cb2c9b8d8db9997cfa6dd68b
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Oct 5 16:59:06 2022 +0200
Update messages
commit ddc6f8d09ecf82763c9ab3b4e9ed282863a5c970
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Oct 5 16:52:36 2022 +0200
redeploy
commit ee6341347ba95e06e18760a40b1c9aa03a0794a4
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Oct 5 16:47:02 2022 +0200
Improve loading state of grant refund view, add input labels
commit 186caa1d243c2c9a92b4badb99a07f8275d61000
Merge: 319f2094b d21e75ead
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Oct 5 16:17:57 2022 +0200
Merge branch 'feature/split-payments' into split-payments/grant-refund
commit d21e75ead0a9222c3ab7884b73c00c652a605ea4
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Oct 5 14:35:00 2022 +0200
SALEOR-7901: Split payments - order summary and payments balance (#2310 )
* Update GraphQL schema
* Update lockfile
* Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Refactor OrderPayment -> OrderSummaryCard
* Add new OrderPayment card
* Add payments to order query, add more Storybook cases for orders
* Style payment + summary cards in order, style summary card
* Fix logic of showing / hiding capture & authorize amounts
* Add "Mark as paid" / Add transaction button
* Fix order details page when loading
* Fix logic for displaying "Mark as paid" button
* Display gift cards as transactions in order details
* Remove gift card from OrderSummaryCard
* Add gift card Storybook example, fix spacing between OrderTransaction
* Add payments displayed as transactions in order details
* Add Stories for payments in order, fix edge cases for payments
* Hide grant refund and send refund when there is no payment
* Simplify OrderAddTransaction button
* Remove order level actions, move buttons to payment level
* Filter out payments that are inactive and don't contain any transaction
* Handle gift cards edge case: lowered total amount
* Display message in payment card when there are no transactions
* Improve loading layout
* Fix story - gift card
* Update messages
* Update snapshots
* Fix TS errors
* force deploy
* Fix "Copied" text doesn't fit on short psp reference
* Hide "no payment" text when order has gift cards
* Apply suggestions from code review
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
* Apply suggestions from code review
* Refactor tax amount turnary operator expression
* Refactor inlined functions to separate file
* update snapshots
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
commit 90c55d5775e7acdbbe0dc75014effa09776bae8e
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 10:51:05 2022 +0200
Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
commit 319f2094bb5f61be7de3d1f329a04d7556aaa9c6
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Oct 5 10:47:13 2022 +0200
Add edit grant refund view
commit f01a0692308030466260f54a372f57a272ff7d6a
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Tue Oct 4 12:58:44 2022 +0200
Fix form leave confirm dialog
commit e3844037a67577a5b6407a65df4a20c58fca8835
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Tue Oct 4 10:40:42 2022 +0200
Handle form submission
commit a7472a526fb5ba869bca03b418242cab6cc33036
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Mon Oct 3 15:57:35 2022 +0200
Write query for grant refund view, add product card
commit 9942a125458f4185cce6c6338b1f28f505792c82
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Sep 30 17:01:19 2022 +0200
Calculate shipping cost, refactor refund card into component
commit 351901c3072450b98bde03d45eba119336b3cb2a
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 30 15:07:42 2022 +0200
Add grant refund form and price calculation logic
commit b19854d8ef77fc3449e041986008799b63c4ba21
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Sep 28 15:49:21 2022 +0200
Add grant refund create mutation
commit df0ad7c78d75ea38ee6349f226c573f833c53800
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Wed Sep 28 15:49:01 2022 +0200
Add OrderGrantRefundPage
commit afc496add5038224e4a971bcaadfc60a5a17bd10
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Tue Sep 27 15:58:17 2022 +0200
Add granted refunds list
commit 3d78fbf28318733b71c423e0e0f359d85002bf07
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Mon Sep 26 13:37:48 2022 +0200
Add grant refund to order query
commit b97d93d8930cb2063772bace0ad5c779852a5c5c
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:08:27 2022 +0200
Fix TS errors
commit b679bc91b670661c205ed2bd9c5b209d777173cc
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:00:35 2022 +0200
Update snapshots
commit a6f3d3c50a46325011bba242b431cbf3cb81ac8b
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:00:21 2022 +0200
Update messages
commit 99ec7ca736666b669eb215e463362fd2fe27c690
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 16:00:08 2022 +0200
Fix story - gift card
commit 3c254dce2386dcbe544810948a86c5cf128d4cb4
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 15:34:07 2022 +0200
Improve loading layout
commit b1adf9d580d39b3301a8f56d0677a5ccf9608126
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 15:05:37 2022 +0200
Display message in payment card when there are no transactions
commit e9bb8b22a95c7e2416ed5e457db7cbddc004fa3d
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 14:11:35 2022 +0200
Handle gift cards edge case: lowered total amount
commit 115f56fb6f9e44f7f8bbec84d110a8e1c2af47d2
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Fri Sep 23 13:56:41 2022 +0200
Filter out payments that are inactive and don't contain any transaction
commit e790aadca2a13fcccb8bb3a3c52967b90856c3e4
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:57:24 2022 +0200
Remove order level actions, move buttons to payment level
commit fd4a158c5aba32f4a7ed31daa54bc37274d1cdbe
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:31:23 2022 +0200
Simplify OrderAddTransaction button
commit 6b298357933033df42745d6db465617963b181d6
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:26:40 2022 +0200
Hide grant refund and send refund when there is no payment
commit b3c6532d299932bceafcbe48b06aaaf693dc21be
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 16:14:10 2022 +0200
Add Stories for payments in order, fix edge cases for payments
commit 2db8efe628df5c647d36f2b97a48a40bd7c98eaf
Author: Jonatan Witoszek <jonatan.witoszek@saleor.io>
Date: Thu Sep 22 14:46:54 2022 +0200
Add payments displayed as transactions in order details
commit 3751cbf4fecf22c6624d39ca894190abb77363a6
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 21 14:03:42 2022 +0200
Add gift card Storybook example, fix spacing between OrderTransaction
commit 77a1647c0c7afe38298778372cace06e2dc428fb
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 20 17:00:18 2022 +0200
Remove gift card from OrderSummaryCard
commit 85a4894d28d88c386a9b61fe09b517ac7ff8ad60
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 20 16:58:25 2022 +0200
Display gift cards as transactions in order details
commit 1e36a176bab8c57c527f5e19ae05e46cf0cefa03
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 15 14:13:47 2022 +0200
Fix logic for displaying "Mark as paid" button
commit 5aeca84a40c8d0a6df03315b56e48dcc1fc39cab
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 15 13:18:24 2022 +0200
Fix order details page when loading
commit a6dc8f13ded5a4d7f5bf0b0778bb52c31b97028f
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Thu Sep 15 13:11:50 2022 +0200
Add "Mark as paid" / Add transaction button
commit 7ad01b66dc4b639ae24bbc58a4364eee89e4cf4c
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 14 16:52:38 2022 +0200
Fix logic of showing / hiding capture & authorize amounts
commit b4328e4cbf09290f5d1a29ecc3ca88f33fb83142
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Wed Sep 14 13:17:27 2022 +0200
Style payment + summary cards in order, style summary card
commit e4bdd44beea265899dbc70db6470ca9307becb5b
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 13 15:25:54 2022 +0200
Add payments to order query, add more Storybook cases for orders
commit 67dc47d5c19125442f1cf954b9b7d4b4e7d3eff7
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Tue Sep 13 10:53:26 2022 +0200
Add new OrderPayment card
commit 093490a01bff3fd7aaaac270d74742a22e0b8885
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 14:46:35 2022 +0200
Refactor OrderPayment -> OrderSummaryCard
commit 7eb73e2650d9602ef635a4b6b8a4aefd4ad89730
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Mon Sep 12 10:51:05 2022 +0200
Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
commit 6818c88b5b26be901ec56fae3302d5ba7b5fa504
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:22:47 2022 +0200
Update lockfile
commit 9046b5f56cc293516e578c527abda4a30a66b079
Author: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Date: Fri Aug 12 17:20:50 2022 +0200
Update GraphQL schema
* Fix TS issues
* Fix EditorJS TS issues
* Fix Apollo & apollo-upload-client type mismatch
* SALEOR-7900 - Grant refund: Send refund view (#2359 )
* Update GraphQL schema
* Update lockfile
* Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Refactor OrderPayment -> OrderSummaryCard
* Add new OrderPayment card
* Add payments to order query, add more Storybook cases for orders
* Style payment + summary cards in order, style summary card
* Fix logic of showing / hiding capture & authorize amounts
* Add "Mark as paid" / Add transaction button
* Fix order details page when loading
* Fix logic for displaying "Mark as paid" button
* Display gift cards as transactions in order details
* Remove gift card from OrderSummaryCard
* Add gift card Storybook example, fix spacing between OrderTransaction
* Add payments displayed as transactions in order details
* Add Stories for payments in order, fix edge cases for payments
* Hide grant refund and send refund when there is no payment
* Simplify OrderAddTransaction button
* Remove order level actions, move buttons to payment level
* Filter out payments that are inactive and don't contain any transaction
* Handle gift cards edge case: lowered total amount
* Display message in payment card when there are no transactions
* Improve loading layout
* Fix story - gift card
* Update messages
* Update snapshots
* Fix TS errors
* Add grant refund to order query
* Add granted refunds list
* Add OrderGrantRefundPage
* Add grant refund create mutation
* Add grant refund form and price calculation logic
* Calculate shipping cost, refactor refund card into component
* Write query for grant refund view, add product card
* Handle form submission
* Fix form leave confirm dialog
* Add edit grant refund view
* Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* SALEOR-7901: Split payments - order summary and payments balance (#2310 )
* Update GraphQL schema
* Update lockfile
* Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Refactor OrderPayment -> OrderSummaryCard
* Add new OrderPayment card
* Add payments to order query, add more Storybook cases for orders
* Style payment + summary cards in order, style summary card
* Fix logic of showing / hiding capture & authorize amounts
* Add "Mark as paid" / Add transaction button
* Fix order details page when loading
* Fix logic for displaying "Mark as paid" button
* Display gift cards as transactions in order details
* Remove gift card from OrderSummaryCard
* Add gift card Storybook example, fix spacing between OrderTransaction
* Add payments displayed as transactions in order details
* Add Stories for payments in order, fix edge cases for payments
* Hide grant refund and send refund when there is no payment
* Simplify OrderAddTransaction button
* Remove order level actions, move buttons to payment level
* Filter out payments that are inactive and don't contain any transaction
* Handle gift cards edge case: lowered total amount
* Display message in payment card when there are no transactions
* Improve loading layout
* Fix story - gift card
* Update messages
* Update snapshots
* Fix TS errors
* force deploy
* Fix "Copied" text doesn't fit on short psp reference
* Hide "no payment" text when order has gift cards
* Apply suggestions from code review
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
* Apply suggestions from code review
* Refactor tax amount turnary operator expression
* Refactor inlined functions to separate file
* update snapshots
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
* Improve loading state of grant refund view, add input labels
* redeploy
* Update messages
* Update snapshots
* Fix spacing in the Refund Card
* Remove warning text in Refund Card
* Don't prefill refund amount, disable submit when amount is 0
* Fix selected refund value calculated to NaN
* Show granted, pending and refunded amounts
* Refactor payments summary line into separate component
* Disable hover effect when TableRow is not clickable
* Refactor ProductCard to use TableRowLink
* Update snapshots, messages
* Refactor iterator spread to Array.from for more readability
* Refactor payments summary logic
* Refactor fulfilment subtitle into helper function
* Refactor ProductCard event handlers into separate functions
* Remove USD as default currency
* Add exhaustiveness check to switch...case statemet
* Update snapshots, messages
* Add new page [wip]
* Fix refund card not working while loading
* Add new page [wip]
* Refactor order transaction component structure
* [WIP] Send refund page
* Add button to set max amount of refund
* Update GraphQL schema
* Update components after changing GraphQL schema
* Add manual refunds
* Disable refunds when transaction doesn't have appropriate actions
* Update macaw
* Update messages
* Update snapshots
* SALEOR-7904: Split payments - Grant refund (#2336 )
* Update GraphQL schema
* Update lockfile
* Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Refactor OrderPayment -> OrderSummaryCard
* Add new OrderPayment card
* Add payments to order query, add more Storybook cases for orders
* Style payment + summary cards in order, style summary card
* Fix logic of showing / hiding capture & authorize amounts
* Add "Mark as paid" / Add transaction button
* Fix order details page when loading
* Fix logic for displaying "Mark as paid" button
* Display gift cards as transactions in order details
* Remove gift card from OrderSummaryCard
* Add gift card Storybook example, fix spacing between OrderTransaction
* Add payments displayed as transactions in order details
* Add Stories for payments in order, fix edge cases for payments
* Hide grant refund and send refund when there is no payment
* Simplify OrderAddTransaction button
* Remove order level actions, move buttons to payment level
* Filter out payments that are inactive and don't contain any transaction
* Handle gift cards edge case: lowered total amount
* Display message in payment card when there are no transactions
* Improve loading layout
* Fix story - gift card
* Update messages
* Update snapshots
* Fix TS errors
* Add grant refund to order query
* Add granted refunds list
* Add OrderGrantRefundPage
* Add grant refund create mutation
* Add grant refund form and price calculation logic
* Calculate shipping cost, refactor refund card into component
* Write query for grant refund view, add product card
* Handle form submission
* Fix form leave confirm dialog
* Add edit grant refund view
* Improve loading state of grant refund view, add input labels
* redeploy
* Update messages
* Update snapshots
* Fix spacing in the Refund Card
* Remove warning text in Refund Card
* Don't prefill refund amount, disable submit when amount is 0
* Fix selected refund value calculated to NaN
* Show granted, pending and refunded amounts
* Refactor payments summary line into separate component
* Disable hover effect when TableRow is not clickable
* Refactor ProductCard to use TableRowLink
* Update snapshots, messages
* Refactor iterator spread to Array.from for more readability
* Refactor payments summary logic
* Refactor fulfilment subtitle into helper function
* Refactor ProductCard event handlers into separate functions
* Remove USD as default currency
* Add exhaustiveness check to switch...case statemet
* Fix refund card not working while loading
* Pin macaw version
* Update snapshots
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Remove OrderRefund view
* Update messages
* Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* SALEOR-7901: Split payments - order summary and payments balance (#2310 )
* Update GraphQL schema
* Update lockfile
* Split payments - transactions list (#2234 )
* Don't hide transaction balance when order is not confirmed
* Add order transactions component
* Fix IMoney to use new import
* Fix conditional display logic, add story for long numbers
* Fix alignment when amount is <10
* Add transaction events
* Use Intl.DateTimeFormat to format dates instead of moment.js
* Fix transactions list table layout
* Update macaw to unreleased version
* Highlight rows that have the same pspReference on hover
* Fix spacing between transactions
* Fix transaction events list when no pspReference is provided
* Update messages
* Update snapshots
* Add copy feature to psp reference pill
* Add buttons to void or capture transactions
* Update prettier to latest version (TS syntax parsing issues)
* Add parameter to clear additional params in modals
* Fix PSP reference sizing issues
* Fix transactions table sizing on `md` screen sizing
* Update snapshots, fix inline styles in PSP reference
* Fix order saved when copying PSP reference
* Add copy icon to PspReference
* Update snapshots
* Update messages
* Fix typo
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Revert "Update prettier to latest version (TS syntax parsing issues)"
This reverts commit 5784b47ee20e8d77d8ebf63557769fa27b9a2562.
* Refactor PR comments
* Remove !important from styles
* Fix failing prettier check
* Update messages
* Fix formatting
* Replace custom styles with Typography component
* Remove too long font size
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Refactor OrderPayment -> OrderSummaryCard
* Add new OrderPayment card
* Add payments to order query, add more Storybook cases for orders
* Style payment + summary cards in order, style summary card
* Fix logic of showing / hiding capture & authorize amounts
* Add "Mark as paid" / Add transaction button
* Fix order details page when loading
* Fix logic for displaying "Mark as paid" button
* Display gift cards as transactions in order details
* Remove gift card from OrderSummaryCard
* Add gift card Storybook example, fix spacing between OrderTransaction
* Add payments displayed as transactions in order details
* Add Stories for payments in order, fix edge cases for payments
* Hide grant refund and send refund when there is no payment
* Simplify OrderAddTransaction button
* Remove order level actions, move buttons to payment level
* Filter out payments that are inactive and don't contain any transaction
* Handle gift cards edge case: lowered total amount
* Display message in payment card when there are no transactions
* Improve loading layout
* Fix story - gift card
* Update messages
* Update snapshots
* Fix TS errors
* force deploy
* Fix "Copied" text doesn't fit on short psp reference
* Hide "no payment" text when order has gift cards
* Apply suggestions from code review
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
* Apply suggestions from code review
* Refactor tax amount turnary operator expression
* Refactor inlined functions to separate file
* update snapshots
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
* Fix types after merge
* Remove comment
* Refactor common messages
* Refactor inline formatted message
* Resolve CR
* Update src/utils/errors/transaction.ts
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Refactor money format function
* Fix EditorJS TS issues
* Fix Apollo & apollo-upload-client type mismatch
* Add loading state to OrderSendRefund
* Fix messages
* Fix storybook not building
* Fix stories, update snapshots, fix currency formatting
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
* Fix grant refund page not loading
* Replace classnames with clsx
* Add missing fields to transactions list, new psp reference design (#2769 )
* Add modal to create manual capture transactions in OrderDetails (#2880 )
* Add manual capture transaction mutation
* Add manual transaction capture modal
* Refactor common elements of manual transaction into shared component
* Rewrite OrderManualTransactionForm to export form components separately
* Add tests for OrderManualTransactionForm hook
* Add tests to OrderManualTransactionForm Form component
* Fix polly recording ids, read replay / record config from env vars
* Add missing messages
* Remove refund functionality in Return & Replace (#2876 )
* Refactor messages
* Remove old compoennts related to return + refund functionality
* Refactor return & replace internal components structure
* Add new submit card to OrderReturn
* Replace onRefundPayment with href
* add missing test
* Update messages
* Fix TS errors after merge
* Update imports @saleor -> @dashboard
* Update dashboard OrderDetails after changes in core (#2933 )
* Fix TS errors after merge
* Update transaction events to use new `type` field
* Remove unused styles
* Fix table row hover effect
* Update messages
* Add "createdBy" to order transaction fixtures
* Add "createdBy" to TransactionEvent list
* Fix crash when transaction event has invalid data
* Add styles for PspReference link
* Update messages
* Add no events message to transaction events list
* Add PSP Reference field to manual transactions, update mutations
* Remove hiding from add manual transaction button
* Fix styling of ManualRefundCard
* Fix TS error
* Rename OrderPayment -> OrderPaymentSummaryCard
* Add pending amounts to OrderPaymentSummaryCard
* Refactor PaymentsSummary
* Add tests for OrderAddTransaction
* Extract messages
* Add tests for PaymentSummary calculation
* Add tests to EventCreatedBy
* Add tests to EventItem
* Add tests for transaction event status mapping
* Fix TS error
* Update schema
* Add missing fields to TransactionItem fragment
* Add missing fields to OrderTransaction
* fixup! Update schema
* Fix CR comments
* Update imports @saleor -> @dashboard, fix types
* Fix CR comments
* Fix Jest wrong timezone when run locally
* Fix EventItem test using invalid date
* Add feature flags to split payments PR (#3044 )
* Remove transactions related changes from GraphQL files
* Fix issues with build-types, when feature flags are used
* Generate transactions only GraphQL files
* Update GraphQL imports
* Fix issue with dependencies
* Restore deleted views
* Add feature flags to OrderReturn
* Add feature flags to OrderSendRefund
* Add feature flag to OrderDetailsPage
* Add feature flag check in new order routes
* Update messages
* Fix TS error
* Add tests for OrderPaymentOrTransaction
* Update schema
* Use different query for order when FF is enabled
* Fix failing CI
* Fix CR
* fixup! Merge branch 'feature/split-payments' into split-payments/feature-flag
* Regenerate types after merge
* Transactions small fixes (#3110 )
* Fix transaction action modal not closing on scucess
* Fix layout shift on OrderSendRefund
* Update schema behind feature flag
* Update types
* Add missing props
* Fix order event types
* Update OrderDetails to fix spacing in new macaw redesign
* Update GrantRefund page with new pages layout
* Update SendRefundPage with new page layout
* Update transactions feature flag schema
* Rollback fetch-schema to default values
* Add opacity to transactions that cannot be refunded
* Fix return & replace button message
* Add missing messages
* Add tooltip with event message
* Add missing status: info for transaction events
* Add markAsPaidStrategy configuration to ChannelDetails (#3239 )
* Fix fulfilment titles, use the same text from OrderDetails
* Add back old payments UI (#3238 )
* Remove Refund button from fulfilments in order with transactions
* Show old payments UI if order has payments
* Respect channel's markAsPaidStrategy when displaying new UI
* Rename onPaymentPaid to onMarkAsPaid prop
* Update messages
* CR
* Update snapshotsUpdate snapshotsUpdate snapshotsUpdate snapshotsUpdate
snapshotsUpdate snapshotsUpdate snapshotsUpdate snapshotsUpdate
snapshots
* Resolve TS errors
* Fetch transaction ids in old order query to fix detection
* run e2e
* fix test should be able to update shipping zone. TC: SALEOR_0808
* CR: Remove funny comment
---------
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
Co-authored-by: Anna Szczech <anna.m.szczech@gmail.com>
2023-03-09 16:51:19 +01:00
Krzysztof Żuraw
2391491d59
Fix storybook not having styles ( #3304 )
2023-03-09 11:27:37 +01:00
wojteknowacki
6dfdf46b48
fixed test SALEOR_0810 ( #3312 )
2023-03-09 11:05:25 +01:00
wojteknowacki
bf532939e2
Test navigation refactor ( #3294 )
...
* naviagtion aka permissions refactor
2023-03-09 09:18:07 +01:00
Krzysztof Żuraw
5de9526350
Fix webhook permission alert ( #3299 )
2023-03-09 08:16:27 +01:00
Patryk Andrzejewski
300b57ace0
Set open graph for demo ( #3267 )
2023-03-08 10:13:00 +01:00
Krzysztof Żuraw
c7eb4f0622
Fix limit reached alert position ( #3297 )
...
* fix: limit reached alert
* fix: icon background
2023-03-08 09:58:07 +01:00
Lukasz Ostrowski
75a6edd864
Hide AppFrame loader when app handshaked ( #3303 )
2023-03-07 16:23:51 +01:00
Patryk Andrzejewski
a70ddd39fa
Fix navigation stacking ( #3300 )
2023-03-07 16:15:12 +01:00
Patryk Andrzejewski
276df19b21
Fix loader to be always on the top ( #3298 )
2023-03-07 16:14:55 +01:00
Patryk Andrzejewski
8d5331fd2f
Fix history back on taxes ( #3286 )
2023-03-07 16:14:41 +01:00
Patryk Andrzejewski
322cf70499
Fix theme togle, sidebar menu styling ( #3293 )
...
* Sync storage, style sidebar
* Remove comments
2023-03-07 13:30:57 +01:00
Jakub Neander
b7abf57a05
Sort permissions and add enum name ( #3268 )
2023-03-07 10:50:11 +01:00
Dawid
d79e21349a
Migrate new-apps to apps ( #3253 )
2023-03-06 10:57:25 +01:00
Lukasz Ostrowski
c335e44f3c
ADd "disabled" label on app list, when app is disabled ( #3282 )
2023-03-03 19:22:10 +01:00
Bartłomiej Wiaduch
e7ce3000f3
Webhook details imoprovements ( #3229 )
...
* partial regex for custom headers
* disabled attribute for `Add custom request header` button
* align styles for new macaw ui
* add `Webhook events` header text
* add a pointer to objects & events lists
* sort webhook events & objects
2023-03-03 09:53:13 +01:00
Lukasz Ostrowski
12706a86e0
Expose IS_CLOUD_INSTANCE in saleor config ( #3264 )
2023-03-03 09:34:18 +01:00
Lukasz Ostrowski
7fcc71839a
Appstore improvements for non-cloud dashboard ( #3258 )
...
* Add empty screen message if no apps are installed
* Add .env.template with Appstore and Demo set by default
* Change how section is resolved
* Add message that Saleor apps can be installed only in Cloud
* Add apps.saleor.io url be default Appstore url in Dockerfile
* Show cloud only message for apps with manifest
* Extract messages
* Fix test
* Change message to tooltip
* Update readme
2023-03-03 08:51:35 +01:00
Krzysztof Żuraw
82caef0689
Fix timeline ( #3262 )
2023-03-02 16:45:44 +01:00
Patryk Andrzejewski
f5c4a5ad49
Remove old macaw theme key ( #3251 )
...
* Remove old macaw theme key
* Handle cases when mixed values are enabled
* Handle cases when mixed values are enabled
* Handle cases when mixed values are enabled
2023-03-02 15:34:00 +01:00
Lukasz Ostrowski
5b7ad12ef0
Fix how disabled app rows in Apps work and look ( #3263 )
2023-03-02 14:56:39 +01:00
Krzysztof Żuraw
8a0e57578c
Fix app list layout on tablet ( #3255 )
2023-03-02 13:57:45 +01:00
Patryk Andrzejewski
78f0de0a22
Disable inactive apps ( #3254 )
2023-03-02 12:41:32 +01:00
Krzysztof Żuraw
97a60b4c09
Fix right sidebar border width ( #3252 )
2023-03-02 12:01:33 +01:00
Krzysztof Żuraw
035ee8d284
Add copy icon from new Macaw ( #3248 )
2023-03-02 10:22:43 +01:00
Dawid
ffa44f8b85
Remove app list view from old apps dir ( #3241 )
2023-03-02 10:22:01 +01:00
Dawid
a7d37ecd46
Migrate app install view to new-apps ( #3240 )
2023-03-02 09:33:40 +01:00
Krzysztof Żuraw
0c1053beb8
Fix iframe height + manifest url ( #3247 )
2023-03-01 16:16:32 +01:00
Dawid
dfb5f167d4
Migrate app details view (settings view) to new-apps ( #3167 )
...
* Migrate app details view to new-apps
* Fix data privacy card
2023-03-01 15:04:53 +01:00
Krzysztof Żuraw
3c082b3386
Fix App page layout ( #3242 )
2023-03-01 10:21:17 +01:00
Krzysztof Żuraw
c741ba3bf1
Add app header ( #3223 )
2023-02-28 16:19:56 +01:00
Krzysztof Żuraw
81881c4a47
Add small fixes ( #3232 )
2023-02-28 14:53:48 +01:00
Patryk Andrzejewski
9f67666f7a
Container value ( #3236 )
2023-02-28 14:49:48 +01:00
Dawid
9803202e75
Migrate app view to new-apps ( #3161 )
2023-02-28 14:20:17 +01:00
Paweł Chyła
c5a25f9cb6
Remove double submenus from the sidebar ( #3218 )
2023-02-28 13:15:25 +01:00
Paweł Chyła
67c674126a
Show absolute dates ( #3186 )
2023-02-28 10:50:54 +01:00
Krzysztof Żuraw
9c88e17f34
Add new Layout structure ( #3213 )
2023-02-28 10:33:16 +01:00
Lukasz Ostrowski
b9acfe6214
Improve AppPage ( #3216 )
...
* WIP - reduce rerenders and change how dashboard sends events to app
* Cleanup
* Refactor
* Add loader behind the iframe
* Fix linter
2023-02-27 16:35:35 +01:00
Bartłomiej Wiaduch
0fef41b04f
Allow subscription query for sync events ( #3099 )
...
Allow subscription query for sync events
2023-02-23 10:03:41 +01:00
Krzysztof Żuraw
9f54a7840c
Add padding to install page ( #3210 )
2023-02-22 16:31:22 +01:00
Paweł Chyła
a0663475f6
Fix styles issues after reshaping ( #3201 )
...
* Fix style issues after reshaping
* Fix remove button padding
2023-02-22 16:20:42 +01:00
Bartłomiej Wiaduch
ab2ce01c8a
Add WebhookHeaders component ( #3107 )
...
* Add custom request headers to webhook form
2023-02-22 14:14:51 +01:00
Krzysztof Żuraw
0f81e158ce
Do not show sidebar if it is not needed ( #3198 )
2023-02-22 14:00:03 +01:00
Timur Carpeev
6434f277e8
Metadata by default no expanded ( #3172 )
2023-02-21 16:14:00 +01:00
Lukasz Ostrowski
82071f4b88
Handle Appstore app empty manifest URL ( #3177 )
2023-02-21 12:50:37 +01:00
Jakub Neander
d4d9b1b91c
Extract permissions for subscription query ( #3155 )
2023-02-21 12:38:28 +01:00
Timur Carpeev
1410919c6f
Remove awkward uppercase in filters ( #3170 )
2023-02-21 11:26:34 +01:00
Patryk Andrzejewski
3789f5bb52
New macaw ui ( #3069 )
...
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
2023-02-20 16:21:28 +01:00
Jakub Neander
91bd9c772d
Fix the menu title for GraphiQL redirect ( #3175 )
2023-02-17 11:11:22 +01:00
Paweł Chyła
b040a0deb8
Product variants bulk update ( #3032 )
2023-02-15 14:31:45 +01:00
Paweł Chyła
15a0b812a6
Fix show full date insted of date with toolip in orders ( #3149 )
2023-02-13 10:40:05 +01:00
Jakub Neander
6cdf378532
Fix the API URL construction ( #3142 )
2023-02-09 10:33:02 -05:00
Timur Carpeev
696aeb7010
Add multiline ( #3134 )
2023-02-09 15:18:00 +01:00
Michał Droń
e69bf63498
Disable failing product update test ( #3121 )
2023-02-07 12:39:29 +01:00
Lukasz Ostrowski
477de5c3dc
Change Vercel deployment button to fork on github button ( #3119 )
...
* Change vercel deployment button to fork on github button
* Extract translations
2023-02-07 11:59:06 +01:00
Lukasz Ostrowski
3d1fa0df35
Remove MARKETPLACE_URL env which was used for previous AppStore implementation ( #3086 )
2023-02-06 15:05:06 +01:00
poulch
c8bb645ae8
Fix edit user settings ( #3079 )
...
* Prepare mutation for change password nad user first nad last name
* User mutations
* User and staff mutation hooks
* Split mution for user and staff specific
* Ad props types and refetch after user mutations
* Add save button status for user mutation
* Get rid of maybe
* Improve hooks naming
* useProfileOperations
2023-02-01 16:50:43 +01:00
Michał Droń
34cdd75b60
Change tax configurations amount from 20 to 100 ( #3088 )
2023-02-01 15:25:51 +01:00
Lukasz Ostrowski
7321ca959f
Encode appID when updateRouting action handled ( #3064 )
2023-01-30 17:12:21 +01:00
poulch
83962d6e93
Fix cut numbers ( #3072 )
2023-01-30 14:49:08 +01:00
Bartłomiej Wiaduch
6dbb8e4ecc
Webhook query dry run ( #2960 )
2023-01-30 13:06:54 +01:00
Jakub Neander
7b8ececc3d
Make webhook active by default ( #3067 )
2023-01-30 12:59:24 +01:00
Anna Szczęch
1baa9d35a7
Fix test should not be able to create staff member with not unique email. TC: SALEOR_3508 ( #3055 )
...
* add data-test-id for error text and update test SALEOR_3508
* undo xit
* move selector form test body to elements
2023-01-30 11:54:58 +01:00
Lukasz Ostrowski
4ae2748e8e
Refactor app actions handling ( #3042 )
...
* Update app-sdk
* extract useHandleNotificationAction
* Extract useUpdateRoutingAction hook
* extract redirect action
* Extract isAppDeepUrlChange to AppUrls
* Rewrite redirection logic
* Remove useCallback
* add tests
* finish tests
* refactor trycatch
* Fix actions respond calls
* Fix how route is resolved for updateRouting
2023-01-27 16:21:19 +01:00
poulch
301b488277
Fix sending type when new attribute ( #3058 )
2023-01-26 16:21:22 +01:00
Jakub Neander
b510d68fa9
Add redirect to GraphiQL from product & order ( #2940 )
2023-01-26 12:04:39 +01:00
Patryk Andrzejewski
ffb16ff1ed
Cover optional error property ( #3004 )
2023-01-26 11:11:50 +01:00
Lukasz Ostrowski
f1d13dd264
Provide active theme to app in iframe URL ( #3028 )
2023-01-26 11:09:39 +01:00
Krzysztof Żuraw
71d0e4a980
Revert feature flag for sidebar from main ( #3047 )
2023-01-26 11:01:15 +01:00
poulch
993595caac
Fix strict null check in attributes ( #3005 )
2023-01-26 09:38:19 +01:00
Karolina Rakoczy
d413c8e852
update tax configuration before creating vouchers ( #2939 )
2023-01-25 13:32:30 +01:00
Krzysztof Żuraw
ee00b27795
Revert "Basic sidebar version" ( #3046 )
2023-01-25 12:21:36 +01:00
poulch
7593e6378a
Fix crash staff page when access property of undefined ( #3038 )
2023-01-25 08:34:01 +01:00
Krzysztof Żuraw
1e6b53e249
Basic sidebar version ( #3039 )
2023-01-24 16:48:51 +01:00
Jakub Neander
112747a51c
Add GraphiQL for defining subscription queries for webhooks ( #2885 )
...
Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: Michał Droń <dron.official@yahoo.com>
2023-01-24 14:59:14 +01:00
Bartłomiej Wiaduch
93df011c7b
Fix data-test-id
for TokenCreateDialog
( #3034 )
2023-01-24 13:18:53 +01:00
poulch
167274d361
Remove flagsmith ( #3025 )
2023-01-24 11:50:14 +01:00
poulch
0c704cf1d7
Improve feature flags ( #3027 )
...
* Fix checking if env flag is enabled
* Restrict flag value to string
* Flagsmit to string value
2023-01-24 11:27:04 +01:00
Timur Carpeev
8e09d15522
Add playground headers ( #3016 )
...
* Add playground headers
* Small refactor, messages generation
* Small refactor, messages generation
* Ci
* Ci
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-24 09:35:29 +01:00
Krzysztof Żuraw
373c9e9ac3
Add sidebar feature flag ( #3019 )
...
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-23 12:16:02 +01:00
Michał Droń
abbe76442d
Fix strict null errors in utils ( #3007 )
...
* Fix strict null in utils/errors
* Fix auth-related src/utils strict null errors
* Fix data, maps and tables utils
* Fix utils/urls
* Fix filters
* Fix strict null errors in utils/handlers
* Fix strict nulls in utils/menu
* Fix strict nulls in utils/sort
* Fix strict nulls in utils/richText
* Fix search handler
* Fix siteSettings leftover type mismatch
* Fix page map error for attribute case
* Fix type error for sdk error codes
* Fix Choice type in page maps
* Fix error types mismatch
* Remove addressType from type union in auth error message
2023-01-23 09:30:04 +01:00
poulch
221adf25d6
Paginate tax rates in the tax class view ( #2997 )
2023-01-20 13:51:46 +01:00
Dawid
05b2da8082
Uncover new apps marketplace ( #2993 )
...
* Uncover new apps marketplace
* Update apps marketplace GitHub workflows envs
2023-01-19 14:15:46 +01:00
Dawid
513655f3a1
Improve contextual actions in new apps marketplace ( #2975 )
2023-01-19 12:54:57 +01:00
Krzysztof Żuraw
b88ee3c3b9
Add Feature Flags support to storybook ( #2994 )
2023-01-18 14:23:43 +01:00
Michał Droń
931467a73a
Fix strict null checks in warehouses ( #2945 )
...
* Fix strict nulls in warehouse details
* Fix strict null check in warehouse list
* Fix stcit null checks in warehouse create view
* Fix overlapping label in textfields
* Improve labels in warehouse details
* Improve function description
2023-01-18 10:23:24 +01:00
Patryk Andrzejewski
53806abc10
Staff member cannot chnge its own settings ( #2968 )
2023-01-17 09:51:18 +01:00
poulch
d5ed6fb202
Feature flags ( #2961 )
...
* [Feature Flags] Abstraction over flags provider (#2928 )
* Remove useFlag hook
* [Feature Flags] GraphQL build multiple schemas (#2937 )
* Build script
* Refactor build types script
* Remove old codegen.yml
* Clean feature flags in script
* Refactor schema path
* Restore useAuthProvider
* Update configuration file
* encapsulate details for feature flags provider
* Add proper env to flagsmith provider
* Remove flagsmith mocks
* Vite config define global variables
* Render flagmisth provider only when is used
* Keep name service agnostic
* Test with mocked flagsmith
* Use global FLAGS varaible for env flags
* Fix type issue with FLAGS
* Fix build issue
* Remove duplicate translations
* Fix typo
* Prepare for QA tests
* Remove test feature flag
2023-01-16 14:55:38 +01:00
Patryk Andrzejewski
7a43421af5
Use mount uri in redirect ( #2979 )
...
* Reflect mount uri in the app redirect
* use URL constructor
2023-01-16 11:09:24 +01:00
Krzysztof Żuraw
04247d3f95
Migrate from @saleor alias to @dashboard ( #2981 )
2023-01-16 10:45:12 +01:00
Anna Szczęch
d90abd4f8b
Fix test related to saving variant ( #2962 )
...
* Update test after changes in variant name behaviour
* remove comment
* Add data-test-id and update tests
2023-01-13 09:21:18 +01:00
Michał Droń
2714ac82b6
Fix duplicate attributes type error ( #2977 )
...
* Fix intl.ts
* Disable failing tests
2023-01-12 14:26:28 +01:00
Michał Droń
88d0cecfed
Replace order line total calculation with API value ( #2969 )
...
* Query total price in order line data
* Add order line total to discount context consumer
* Replace frontend calculations with api value for order line totals
* Split logic for order discount and order line discount contexts
* Pass extra props to money component
* Add unit test
* Do not pass all props to Money's span
2023-01-12 13:57:39 +01:00
Timur Carpeev
b17f6e735b
Align label to dropdown ( #2822 )
2023-01-12 09:24:06 +01:00
Dawid
eb01b84412
Improve apps contextual actions ( #2943 )
2023-01-12 09:19:13 +01:00
Michał Droń
ddf4adda9d
Mark taxes as preview ( #2971 )
...
* Create dedicated TaxPageTitle component
* Change page headers in taxes views
* Apply CR fixes
2023-01-11 17:10:04 +01:00
poulch
e619866338
fix: datagrid does not save prices without decimal prices ( #2955 )
2023-01-11 10:49:21 +01:00
Dawid
5bc8e39eb7
Hide toolbar in app page ( #2938 )
...
* Hide toolbar in app page
* Remove back button from app frame page
2023-01-10 15:24:24 +01:00
Dawid
1621feb691
Apps marketplace ( #2850 )
...
* Add new Apps List
* Update apps routing
* Add marketplace apps list
* Update apps urls
* Update app list style
* Add installed apps section
* Update apps sections and connect actions with mutations
* Add latest missing buttons and labels to installed apps list
* Update installed apps list
* Update installed apps list
* Add tests and marketplace error handling
* Update environment configuration
* Update GitHub actions env configuration
* Refactor AppListCard component
* Test InstallWithManifestFormButton
* Test AppListCard
* Extract InstalledAppListRow with tests
* Update GitHub actions env configuration
* Tests of apps dialogs
* Update GitHub actions env configuration
* Update messages
* Update GitHub actions env configuration
* Quote untrusted GitHub actions variables
* Change useFetch to useMarketplaceApps and add tests
* Fix strict null check errors
* Refactor apps details components
* Add strict null checks for /new-apps/ components
2023-01-10 11:04:30 +01:00
İlkay Kısayol
3f94803c79
Update ProductVariantName components "name" form field into "variantName" ( #2903 )
2023-01-05 14:33:17 +01:00
Krzysztof Żuraw
fe709db82b
Clean up storybook ( #2941 )
2023-01-05 13:34:34 +01:00
Krzysztof Żuraw
c60f6f870c
Remove isDevelopment
flag and cleanup a code in Form component ( #2912 )
2023-01-03 11:04:42 +01:00
Karol
00757a50d1
2865 standardize test ids for elements ( #2931 )
...
* done
* done
2023-01-03 09:18:56 +01:00
poulch
bf2a2035d3
Fix strict null check in Apps ( #2911 )
...
* Fix apps strict null checks
* Set strictNullChecks to false
* Improve strict null checks
* Replace typ to Extension
2022-12-29 13:51:54 +01:00
Patryk Andrzejewski
4e0528146b
Fix displaying ountry are as readable name ( #2910 )
...
* Fix displaying country area
* Fix displaying country area
* Remove local code
2022-12-23 13:17:41 +01:00
Karol
e69eb9cc5f
Cypress 2608 staff member tests ( #2902 )
...
* fix existing
* add SALEOR_3508
* add data-test-id needed for 3509
* add TODOs
* 3509 done, work on 3510
* done 3510
* found bug blocking test 3507, gh 2847
* pr review adjustments
* pr adjustments
* additional pr adjustments
2022-12-23 11:30:21 +01:00
Michał Droń
402069f464
Fix dialog maxHeight on short viewports ( #2881 )
2022-12-21 13:17:33 +01:00
Patryk Andrzejewski
6db5dfa94a
Implement dropdown for province/country area selection based on allowedFields from the API ( #2833 )
...
* Dropdown for province / country area
* Remove unused ref
* Implementation for settings and warehouses
* Disable autocomplete
2022-12-21 09:54:45 +01:00
Endo
3669f45061
replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751 ( #2772 )
...
* replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751
* added fuse.js and replace filter of fuzzaldrin with search of fuse.js to fix country select issue #2751
* use original array if query is empty in SingleAutocompleteSelectField, not use fusejs result
2022-12-20 14:18:50 +01:00
Patryk Andrzejewski
2327d92b41
Fix search in reference attributes ( #2878 )
...
* Fix attribute reference search
* Fix attribute reference search
2022-12-20 11:55:28 +01:00
poulch
1d4c4d878e
Datagrid - show icon button when single menu item with icon ( #2862 )
...
* RowMenu component
* Show first menu item as icon
* RowAction tests
* Change Edit button
* Remove outline from colum picker
* Change ghost color
* Update enterVariantEditPage test
* Update test id in test for edit button
* Update editVariant selector in test
2022-12-16 20:59:39 +01:00
Michał Droń
e90a2fd757
Remove submitting from exit dirty form modal ( #2820 )
...
* Remove submit from exit dirty form util
* Extract messages
* Change data-test-id attributes
* Add a unit test
* Change given when then to AAA
* Mock packages
* Change button click to user events
2022-12-16 15:54:41 +01:00
Dawid
bba95a8fb4
Extract "webhooks & events" to separate page ( #2818 )
...
* Extract "webhooks & events" to separate page
* Create separate /custom-app/ path for custom apps with webhooks
* Change all /webhooks/ paths to /custom-apps/
* Update messages
* Update generated graphql types
* Create findById util
* Refactor consts and resolvers for custom app urls
* Fix app graphql fragment
* Update Miscellaneous icon for Webhooks and Events
* Add tests for custom apps utils
* Fix dark-mode Miscellaneous icon for Webhooks and Events
* adjustments for autotests
Co-authored-by: karolm-saleor <karol.macheta@saleor.io>
2022-12-15 14:51:05 +01:00
poulch
ef35e5149b
Fix strict null check in SiteSettings module ( #2851 )
...
* Fix strict null check in SiteSettings
* Improve urls
2022-12-14 18:11:24 +01:00
poulch
769268a9a7
Restore expand-icon test id ( #2856 )
...
* Remove expand icon in ChannelList
* Update macaw ui to 0.7.1
2022-12-14 13:48:43 +01:00
Patryk Andrzejewski
550ef12ab2
Fix assign attribute for pages ( #2843 )
...
* Fix assign attribute for pages
* Fix assign attribute for pages
* Fix assign attribute for pages
* Fix assign reference for edit page
2022-12-14 12:15:39 +01:00
Karol
9c605f8d1b
[cypress] add tests for gift cards bulk create and export ( #2801 )
...
* first draft
* fixed data-test-id
* done
* restore port for cypress
* change email
* pr improvments
* add csv check
* adjustments
* added check for xlsx
* change name
* change name
* remove cy log
* remove cy log
* add yaml cypress mailhog var
2022-12-13 08:04:54 +01:00
Krzysztof Żuraw
6b685b109c
Remove double pkgs in pkg.json ( #2826 )
2022-12-12 10:45:14 +01:00
Dawid
6725f6fde2
Fix products filtering ( #2746 )
...
* Fix products filtering
* Refactor products filtering functions
* Update filter test snapshots
* Add tests for attribute filtering
2022-12-09 15:18:59 +01:00
Patryk Andrzejewski
15105f77ce
Demo mode improvements ( #2825 )
...
* Enable DEMO_MODE env
* Set GH star button
2022-12-08 16:34:46 +01:00
Patryk Andrzejewski
e803c1980e
Fix overlapping cells in product list view ( #2657 )
...
* Fix breaking words on table cells
* Update snapshots
2022-12-08 13:08:35 +01:00
Patryk Andrzejewski
81615ab6a6
Fix broken HRM on the apps page ( #2794 )
...
* Split context to the separate file
* Split context to the separate file
2022-12-07 13:10:51 +01:00
Krzysztof Żuraw
422feec2b7
Remove enzyme and react-test-renderer ( #2788 )
2022-12-07 11:20:09 +01:00
Michał Droń
8634aa4542
Fix exit form issue in product translations ( #2644 )
...
* Fix rich text exit form issue
* Add unit test for rich text submit hook
* Extract logic
* Fix tests
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2022-12-07 11:02:02 +01:00
Michał Droń
b0ba5cc2ab
Enable use unknown in catch variables ( #2784 )
...
* Enable use unknown in catch variables rule
* Add type guards in useAuthProvider
* Add type cast in FilterErrorsList
* Handle error in tasks
2022-12-07 11:00:42 +01:00
Dawid
0741d3ca2c
Improve saving variant images ( #2640 )
...
* Improve saving variant images
* Update storybook types
* Add getSelectedMedia function for products
* Add test for handleAssignMedia in products
* Follow AAA test convention
* Add confirm button to media dialog selector
* Move dialog styles to separate file
2022-12-06 12:03:41 +01:00
Dawid
b98d5d57ef
Fix visual regression in datetime attribute ( #2787 )
2022-12-06 12:02:45 +01:00
Patryk Andrzejewski
018b93aaa6
Prevent infinite reloading service worker ( #2785 )
...
* Respect interval for service worker
* Do not load sw by vie plugin
* Move comment above
2022-12-06 11:12:19 +01:00
Patryk Andrzejewski
c4f6a18d38
Remove snapshots ( #2754 )
...
* Remove snapshots
* Remove setup file
* Keep config
2022-12-02 12:58:43 +01:00
Michał Droń
347e32ef4a
Replace classnames with clsx ( #2759 )
...
* Replace classnames with clsx
* Add clsx to package.json
* Remove classnames
* Remove classnames types
* Restrict classnames in eslint rules
2022-12-02 11:45:19 +01:00
Karol
d2496679c0
[cypress] Add tests for delete several gift cards ( #2646 )
...
* done
* pr fixes part1
* wip
* pr adjustments
* remove cy log
2022-12-02 10:37:09 +01:00
Michał Droń
e900f2e1df
Fix strict null checks in webhooks ( #2678 )
...
* Fix strict null errors in webhooks
* Disable strict null checks
* Update snapshots
* Add migration comment in tsconfig
* Fix 404 on loading
* Fix loading case
2022-12-01 14:42:18 +01:00
Patryk Andrzejewski
9bd69248d4
Fix service worker ( #2760 )
2022-12-01 11:55:46 +01:00
Lukasz Ostrowski
e06d3bdf0d
Improve dashboard and marketplace connection ( #2666 )
...
* Change env variables related to marketplace, add navigation item
* Change apps order
* Add button to browse marketplace
* Add redirect to Saleor Apps Marketplace on button click
* Move apps tabs state to URL
* Pass theme for initial marketplace iframe load
* Improve marketplace mount
* fix types
* fix cr
* Update env variables to disable marketplace on envs other than master staging
* Extract locales
* update snapshots
2022-11-30 17:20:20 +01:00
Dawid
f2af4a1b23
Metadata settings in tax classes ( #2680 )
...
* feat: added metadata settings to tax classes
* test: update test snapshots
* refactor: update taxes error handling
* refactor: add TaxClassBase fragment
* refactor: update tax classes initial values definition
2022-11-30 17:18:44 +01:00
Michał Droń
20c69efe16
Enable no implicit this ( #2709 )
...
* Enable no implicit this
* Fix this reference in order return utils
2022-11-30 11:11:28 +01:00
Lukasz Ostrowski
46b0adec0e
Construct full API URL in case not full provided ( #2738 )
...
* Construct full API URL in case not full provided
* Resolve URL from base path
* Fix types
2022-11-29 11:45:51 +01:00
Michał Fijołek
3c260557a7
order list metadata filter can be saved ( #2259 )
2022-11-29 10:41:39 +01:00
Patryk Andrzejewski
aa10a1d08e
Introduce vite ( #2677 )
...
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2022-11-28 14:56:46 +01:00
Lukasz Ostrowski
17e3c4c8f2
Resolve saleor host/domain from full saleor api url ( #2613 )
2022-11-28 12:15:48 +01:00
Michał Droń
4f78d00534
Remove warehouse selection for preorder cases on fulfill page ( #2515 )
2022-11-25 14:59:11 +01:00
Dawid
7c1c7933e3
Fix account settings page when logged in with external auth ( #2478 )
...
* Fix account settings page when logged in with external auth
* Update staff details page types
* refactor: staff member page utils
2022-11-25 10:35:53 +01:00
Patryk Andrzejewski
9ef4d4c6ee
Revert "Introduce vite ( #2580 )" ( #2676 )
...
This reverts commit 9de945d61a
.
2022-11-24 16:24:04 +01:00
Patryk Andrzejewski
9de945d61a
Introduce vite ( #2580 )
...
* Vite, remove webpack
* Clean deps
* Fix apollo types
* Fix types
* CI
* Fix types
* Fix types
* Keep required deps for storybook
* Rename build dir
* Sentry config, fix react-virtualized issue
* Set NODE_OPTIONS
* Fast-refresh rule for eslint
* Update deps
* Update deps
* Update deps
* Remove webpack
* Add sw
* Update dockerfile
* Update dockerfile
* Update readme, dev port
2022-11-24 15:24:08 +01:00
Wojciech Mista
9574e6a92c
Macaw UI update ( #2512 )
...
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2022-11-24 13:16:51 +01:00
Dawid
dbe394f2a8
Fix images overflow in media picker ( #2625 )
...
* Fix scroll bar in media picker
* Update storybook types
2022-11-24 11:54:25 +01:00
Timur Carpeev
93b70cb2b7
Spacing nudges ( #2472 )
...
* Spacing nudges
* Use flex
* Added wrapping
* Update snapshot
2022-11-23 18:17:19 +01:00
Dawid
2e45f04802
Fix improper double attempt to get external access token ( #2504 )
...
* Fix improper double attempt to get external access token
* Update messages
* Add auth error types
2022-11-23 12:09:48 +01:00
Lukasz Ostrowski
1fa9213871
Add support for synchronizing App's routing with Dashboard path ( #2551 )
...
* Add draft redirection fix
* Update SDK
2022-11-22 10:29:29 +01:00
Krzysztof Żuraw
056aab2560
Allow to send 0 as price ( #2620 )
2022-11-18 15:59:58 +01:00
Dawid
e1b3d5b4f3
Add names of attributes translations ( #2566 )
...
* Add names of attributes translations
* Support plain text attributes translation
* Fix translation field type
* Refactor attribute translations input data
* Refactor translation fields code
* Fix translation fields invalid skeleton display
2022-11-17 15:14:45 +01:00
Lukasz Ostrowski
8ab43fd519
Provide full API URL of Saleor to app iframe, add test ( #2579 )
...
* Provide full API URL of Saleor to app iframe, add test
* Fix imports after refactor
2022-11-17 15:10:33 +01:00
Michał Droń
5c1a62171d
🦄 Simple taxes ( #2072 )
...
* Tax configuration - implement channels view (#2048 )
* Add channels view
* Fix channels view import
* Remove legacy stories references
* Fix link in configuration
* Update snapshots
* Remove sample checkboxes props
* Disable hover in country exceptions
* Update snapshots
* Extract country exception rows to seperate component
* Extract components to seperate files
* Remove duplicated section name
* Remove backlink
* Add translations to section names
* Extract messages
* Add ListItemLink component
* Replace navigator with link in TaxChannelsMenu
* Fix horizontal scroll in TaxChannelsMenu
* Change codegen to build from custom schema
* Build types
* Update fragments
* Add fixtures
* Change any to proper types
* Add story for tax channels page
* Replace MUI Skeleton with Saleor Skeleton
* Change clsx import to classnames
* Fix checkboxes shadows in settings card
* Update IDs in fixtures
* Fix offset in TaxChannelsMenu
* Update snapshots
* Remove any from TaxSettings
* Fix todos
* Change relative marginLeft to before pseudoelement
* Extract styles to seperate files
* Change folder structure
* Extract redirect logic to custom hook
* Update snapshots
* Fix comment
* Add early return in channels view
* Tax configuration - implement countries view (#2053 )
* Add channels view
* Remove sample checkboxes props
* Disable hover in country exceptions
* Extract country exception rows to seperate component
* Extract components to seperate files
* Remove duplicated section name
* Remove backlink
* Add translations to section names
* Replace navigator with link in TaxChannelsMenu
* Fix horizontal scroll in TaxChannelsMenu
* Change any to proper types
* Add story for tax channels page
* Replace MUI Skeleton with Saleor Skeleton
* Change clsx import to classnames
* Fix checkboxes shadows in settings card
* Update IDs in fixtures
* Fix offset in TaxChannelsMenu
* Remove any from TaxSettings
* Add countries list view
* Add TaxCountryMenu component
* Add CountryList page
* Change channels menu rows height
* Change countries menu rows height
* Add TaxInput component
* Add tax classes rates to countries page
* Fix search input padding
* Add minmax to TaxInput
* Add searching through tax class rates
* Extract messages
* Add better handlers
* Add fullWidth to TaxInput
* Specify type for TaxInputs
* Remove spinboxes on firefox
* Remove custom spinboxes
* Remove maxHeight from menu rows
* Post-rebase fix
* Change setter to formchagne
* Add TaxConfiguration fragment
* Add isDefault field to taxClass
* Add fixtures
* Shape data
* Replace useEffect with useTaxUrlRedirect
* Fix country names in menu
* Add country page story
* Add early return in countries view
* Unify loading states between channels and countries pages
* Handle special chars and case insensitiveness in local search
* Replace navigate function with ListItemLink
* Move styles to seperate file
* Move styles to seperate file
* Migrate to strict null checks
* Remove unnecessary optional chaining
* Change overflow scroll to Y only
* Add useMemo on finding selected country
* Add useMemo on local search
* Translate labels in page tabs
* Change url from /taxes/classes to /taxes/tax-classes
* Remove capitalization from strings
* Extract messages
* Bump macaw to 0.6.2
* Update snapshots
* Add spinboxes explanation comment
* Handle empty state
* Add tax classes view (#2093 )
* Add TaxClass fragment
* Build types
* Add tax classes to fixtures
* Add tax classes view
* wip Add tax classes page
* Add tax classes menu
* Add TaxRate fragment
* Extract logic
* Handle loading state & add story
* Extract messages
* Update snapshots
* Change schema building from schema back to introspection
* Update schema
* Update fragments
* Build types
* Update fixtures
* Reshape data
* Move styles to seperate file
* Use getById
* Add explicit undefined
* Comment out unfinished modal stories
* Update snapshots
* Taxes - add API calls in channels view (#2106 )
* Build types
* Add TaxRate fragment
* Update snapshots
* Add taxConfigurationList query
* Add taxCountriesList query
* Add TaxClassesList query
* Rename TaxConfigurationsList query
* Handle empty state
* Fix types post-rebase
* Add form to TaxChannelsPage
* wip Add dialog for handling country exceptions
* wip Fix dialog url
* wip Add update exceptions handlers
* Add dialog story
* Fix type errors
* Add mutation support
* Fix types in story
* Add transition state to submit button
* Add notifier
* Extract messages
* Remove unused import
* Add backlink in savebar
* Update snapshots
* Fix link in navigation
* Update snapshots
* Remove message from tax config error fragment
* Add hook description
* Use useStateFromProps
* Remove error handling
* Improve url & path function names
* Use theme.spacing in TaxCountryDialog styles
* Remove redundant key modification
* Revert "Use useStateFromProps"
This reverts commit d3c68b04701cf935e917d7baa3ed1361ca3446d5.
* Move initial map to parent & add open dependency to countries state
* Use useModalDialogOpen
* Fix state update
* Remove scrolls & add ellipsis in side menu
* Center checkboxes
* Update snapshots
* Add fake div for list alignment
* Trigger deployment
* Close modal on submit
* Remove divider on last ListItem
* Align add country button
* Wrap grid child in div to avoid card stretching
* Update snapshots
* Trigger changes in add/delete exceptions
* Trigger change on expcetion checkboxes
* Add trailing commas
* Connect countries view to API (#2178 )
* Add empty states
* Update countries view urls
* Remove unused import
* Add country modal to countries view
* Update schema
* Implement country view mutations & error fragments
* Implement tax class update mutation
* Add sidebar temporary state for new configs
* Remove unused imports
* Wrap in form
* Add savebar & fix search
* Update schema
* Add form wrapper
* Fix types
* Extract messages
* Bump macaw
* Update snapshots
* Fix comma dangles
* Update snapshots
* Notify about mutation success
* Add logic for mixing current and new rates
* Workaround for sending null rates
* Fix filling form with correct data after submitting
* Handle deleting configuration
* Fix selected banner
* Remove leftover comment
* Add handler for country configuration delete
* Trigger deployment
* Clean up useEffects causing infinite render loops
* Sort countries from api by name
* Fix card bottom padding
* Remove bottom divider & fix padding
* Remove scroll wrapper in side menu
* Update snapshots
* Remove scroll wrapper from tax classes menu
* Update snapshots
* Refresh form to initial onSubmit
* Revert "Refresh form to initial onSubmit"
This reverts commit 42414237d35086da63f4aa088c8072411429b1d8.
* Allow only 3 decimal characters in tax inputs
* Update snapshots
* Update schema
* Update types
* Change logic from default tax class to null class
* Fix sorting
* Send empty country rates as nulls in mutation
* Extract messages
* Update lockfile
* Update schema
* Drop default tax classes
* Update snapshots
* Post-rebase fixes
* Connect tax classes view to API (#2334 )
* Add mutations
* Handle empty state
* Wrap page in form
* Update stories
* Build types
* Handle tax class delete
* Handle update tax class
* Update stories
* Handle tax class change name
* Add mutation state to savebar
* Handle creating new tax classes
* Extract messages
* Specify type
* Update stories
* Sort rates
* Fix skeleton rendering
* Remove placeholders
* Fix skeleton rendering on country list
* Update snapshots
* Change initial pagination to 100
* Disallow creating multiple new tax classes
* Disallow creating multiple country configurations
* Fix messages
* Autofocus on new tax class name
* Add country name to header
* Temporarily comment out broken code in tax channels
* Update snapshots
* Update snapshots post-rebase
* Add tax strategies & assigning tax classes (#2369 )
* Update fragments
* Add optional merging in useForm
* Handle tax strategies
* Update snapshots
* Update fixtures
* Extract messages
* Remove unused shop query fields
* Fix breaking bug when fetchMore is used in non-searchable SingleAutocompleteSelectFields
* Migrate product types to tax classes
* Add tax classes to shipping methods
* Use encapsulated logic in product types
* Fix product type stories
* Fix shipping fixtures
* Fix product type type mismatch
* Fix shipping stories
* Fix product type fixtures
* Fix mismatching types
* Extract messages
* Update snapshots
* Update snapshots
* Fix comment
* Drop deprecated graphql fields
* Replace tax types with tax classes in product create view
* Replace tax types with tax classes in product update view
* Fix tests, stories, fixtures
* Extract messages
* Update snapshots
* Move status messages to commonStatusMessages
* Handle empty array case in tax class change handler
* Reuse messages
* Simple taxes bugfixes (#2395 )
* Fix tax channels menu - dense layout
* Change view names to fit convention
* Fix per country exceptions in tax channels view
* Fix skeleton rendering on tax countries card title
* Filter out existing countries from modal
* Update snapshots
* Fix deleting country configuration
* Disallow negative values in tax inputs
* Handle empty tax classes view
* Allow empty options in shipping & product types views tax class assignment field
* Modify undefined rates in tax classes view
* Update macaw-ui
* Fix UI on channels view
* Fix UI on countries view
* Fix UI on countries view
* Align tax class rate label to the right
* Updaste snapshots
* Extract messages
* Fix adding rates on new tax class
* Fix key errors
* Update schema
* Build types
* Allow empty rates in taxClassUpdate mutation
* Extract tax channels change country function as a handler
* Deprecate useStateFromProps
* Change useStateFromProps to useStateUpdate
* Fix dividers
* Delete delete icon on new tax classes
* Update snapshots
* Update lockfile
* Update macaw to 0.6.6
* Update snapshots
* Specify type of input in country change handler
* Extract autofocus logic to custom hook
* Replace alternative with switch statement
* Extract country exclusion logic from JSX
* Update lockfile
* Update lockfile
* Trigger deployment
* Fix invisible select markers
* Fix linter issue
* Fix crashing product details page
* Fix e2e error
* Update snapshots
* Allow view taxes with any staff permissions (#2510 )
* Update after rebase
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
2022-11-17 13:48:50 +01:00
Dawid
03f2b5c544
Fix product channels update error ( #2528 )
...
* Fix product channels update error
Fixed error occured after trying to update availability of variant
channel in datagrid, which (channel) was later on removed from being available on
product. Now variant channel availability shouldn't be appended to channel listing
update input when channel has been disabled on product.
* Add test of inferProductChannelsAfterUpdate
2022-11-17 12:47:11 +01:00
Krzysztof Żuraw
ac063c6410
Update Dockerfile ( #2523 )
...
Co-authored-by: Francisco Marques <franciscopcmarques@gmail.com>
2022-11-16 16:01:34 +01:00
Krzysztof Żuraw
32cc9c9bdb
Do not send availableForPurchaseDate if channel is unavailable ( #2506 )
2022-11-09 17:41:11 +01:00
Krzysztof Żuraw
5fdb51c0ee
Close datagrid modal by esc key ( #2507 )
2022-11-09 17:40:57 +01:00
Dawid
7fd2eb2a2c
Revert "Add names of attributes translations ( #2433 )" ( #2531 )
...
This reverts commit 796383637c
.
2022-11-07 12:20:58 +00:00
Dawid
796383637c
Add names of attributes translations ( #2433 )
...
* Add names of attributes translations
* Support plain text attributes translation
* Fix translation field type
* Refactor attribute translations input data
* Refactor translation fields code
* Fix translation fields invalid skeleton display
2022-11-04 11:11:47 +01:00
Michał Droń
dc5a6ac76b
Update Typescript ( #2494 )
...
* Update TypeScript
* Fix recursive typing in navigation
* Fix linter issue
* Update lockfile
2022-11-03 11:43:44 +01:00
Dawid
3a3a4a7ae6
Add metadata webhook events ( #2375 )
2022-11-02 13:31:17 +01:00
Michał Droń
7387019288
Use single price value instead of range in product list ( #2386 )
...
* Render single value when amount of money is matching
* Use Intl.NumberFormat in money formatting
* Extract messages
2022-11-02 12:20:25 +01:00
Krzysztof Żuraw
da8e4e5a9c
Fallback data length to 0 on product dialog ( #2485 )
2022-10-31 11:39:42 +01:00
Krzysztof Żuraw
cac3e43702
Disable spellcheck for PII fields ( #2416 )
2022-10-31 11:37:07 +01:00
Patryk Andrzejewski
802524744b
Set different version of macaw ( #2501 )
...
* Set different version of macaw
* Spanshots
2022-10-28 11:29:07 +02:00
Patryk Andrzejewski
992aa64937
Update Macaw-UI ( #2495 )
...
* Update Macaw-UI
* Update snapshots
2022-10-27 17:52:13 +02:00
Patryk Andrzejewski
c009f07581
DataGrid full-screen mode ( #2453 )
...
* full screen mode
* add product title, review
* update snapshots
* Update messages
2022-10-27 17:26:09 +02:00
Timur Carpeev
cfb8be1893
Made headers smaller ( #2466 )
...
* Made headers smaller
* Changed to h3
* update snapshots
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2022-10-27 15:04:29 +02:00
Michał Droń
96650bb237
Update macaw to 0.6.6 ( #2459 )
...
* Update macaw-ui
* Update snapshots
* Change caret to tilde
2022-10-27 14:02:51 +02:00
Jonatan Witoszek
11a990d197
Remove hover from non-interactive table rows ( #2358 )
...
* Disable hover effect when TableRow is not clickable
* Replace TableRow with TableRowLink
* Update snapshots
2022-10-27 12:58:17 +02:00
Karolina Rakoczy
4dcc38cf48
Fix tests for products ( #2447 )
2022-10-27 11:27:34 +02:00
Patryk Andrzejewski
ea0d213683
handle the case when quantities are null ( #2465 )
2022-10-26 16:54:31 +02:00
Krzysztof Wolski
d3e2be165d
Add customer extensions mount points and pass object IDs to extensions ( #2176 )
...
* Pass additional page context to the popup via URL params
* Add customerID to available app params
* Handle the new customer app extensions
* Add extensions to the customer list
* Fix missing extensions from sidebar when no permission is required for them
* Pass selected products and customers to extension view
2022-10-26 13:19:20 +02:00
Krzysztof Żuraw
3c63b0baf1
Display all error messages on new-password page ( #2410 )
2022-10-26 12:12:37 +02:00
Krzysztof Żuraw
1fc82a08a0
Edit variant name on variant edit/create ( #2388 )
...
Co-authored-by: Michał Droń <dron.official@yahoo.com>
2022-10-25 14:19:48 +02:00
Lukasz Ostrowski
8f1a291c65
Change order of apps list and apps installations ( #2452 )
2022-10-24 15:56:03 +02:00
Dawid
158188002a
Update React to 17 and related packages ( #2370 )
...
* Update React to 17
* Update types for React 17
* Update references in useEffect cleanup functions
* Update react-error-boundary
* Update react-inlinesvg
* Update Apollo Client and Upload Link
* Update apollo-upload-client types
* Fix comment about csstypes
* Downgrade apollo-client version due to log-in bug
* Add missing apollo link
* Update package-lock version
* Fix button type
* Fix datagrid test after react update
* Fix polish language letter bug
2022-10-24 11:49:11 +02:00
Karolina Rakoczy
4b46b4891c
Fix test for creating app ( #2439 )
2022-10-24 10:22:45 +02:00
Lukasz Ostrowski
7a20c12d22
remove dead link ( #2435 )
2022-10-21 15:16:36 +02:00
Lukasz Ostrowski
cb9d6ad471
Ensure app doesnt break when manifestUrl in app doesnt exist ( #2434 )
2022-10-20 16:36:21 +02:00
Patryk Andrzejewski
faa41039fe
Add policy for use name instead of slug ( #2402 )
2022-10-20 13:55:55 +02:00
Lukasz Ostrowski
d67e4799b2
Apps tabs ( #2380 )
...
* Add tabs to apps page
* Detect app in tunnel
* Disable manifest install if Saleor Apps context
* Show only app origin instead full manifest
* Add copy manifest feature
* Update tests
* Add ENV with marketplace endpoint for fetching saleor apps
* Fetch Saleor apps for Marketplace and display them in the tab, otherwise hide
* Code review fixes
* Extract translation messages
* Update tests
2022-10-20 13:35:31 +02:00
Dominik Żegleń
31e0c11fea
New datagrid view for product variant management ( #2162 )
...
* New datagrid view for product variant management (#2040 )
* Split simple and product with variants updates
* Simplify code
* Change selectedVariantsIds to availableVariants
selectedVariantsIds suggested that these variants *were just* selected
* Add datagrid component
Add datagrid component
Add actions column
Add column picker
Add ts-ignore comment
Remove unused import
Fix after rebase
Add story
Fix column picking
Fix column dragging
Add column resizing
Extract components to own files
Apply styles from class
Improve data storage
Extract state to hook
Expose handlers
Fix styles
Fix header overflow
Add select all option
Add cell types
Fix types
Add number type cell
Add min to stocks
Fix types
Generate columns from shop data
Add number type editor
Fix tests
Update src/components/Datagrid/Datagrid.tsx
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Reconstruct data after column toggling
Minor fixes
Add missing id
Remove unused import
Fix container width
Keep changes in state
Drop onChange usage
Use glide datagrid
* Add column picker
* Memoize callbacks
* Add right toolbar
* Make toolbar as prop
* Clean up code
* Fix styling
* Lint files
* Save variant data in datagrid (#2161 )
* Allow rows to be deleted
* Add row adding
* Clean up code
* Improve mutations
* Add stock saving
* Add sku and attribute saving
* Display notification after all mutations
* Fix types
* Save channels in datagrid (#2197 )
* wip
* Merge simple and variantable handlers
* Move channel setting to form
* Link availability card to form
* Extract listing management to hook
* Update only touched channels
* Improve channel listing managemend
* Display channel data in datagrid
* Save variant channels
* Save changes in channel listings
* Group columns
* Fix types
* Display touched fields
* Return errors from hook
* Display errors in cells
* Improve naming
* Improve naming
* Use reliable called/loading state
* Update src/components/Datagrid/cells.ts
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Apply fixes from review
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Fix type error
* Trigger CI
* Trigger CI
* Save added and deleted variants (#2237 )
* Save new variants
* Update channel data
* Remove bulk variant delete dialog
* Do not fetch products from api after save
* Extract types
* Reset errors after api response
* Display error when creating variants
* Fix variant reordering
* Remove commented code
* Fix imports
* Edit attributes in datagrid (#2305 )
* Add basic dropdown cell
* Fix clickaway
* Add choice customization
* Add callback to fetch choices
* Add attriute value search
* wip
* Pass getSuggestions cb using props
* Fix row adding
* Fix choice creation
* Add styles to datagrid (#2315 )
* Improve cell styling
* Prevent navigation when scrolling horizontally
* Fix text editor styles
* Remove unused variable
* Update whole row after editing cell
* Translate column names
* Improve empty message
* Highlight newly created rows
* Add name editing
* Add disabled context menu to added rows
* Add column groups
* Translate column groups names
* Save edited name
* Fix missing column id error
* Add card to datagrid
* Improve shadow on scroll
* Improve fonts
* Fix toolbar placement
* Update api type definitions
* Fix copypasting from excel
* Fix editor font weight
* Improve dark theme
* Improve cell coloring
* Drop styling from story
* Add docs to datagrid (#2339 )
* Add docs
* Add summary
* Datagrid fix bugs (#2341 )
* Pass refetch to form to avoid double calls
* Add missing prop
* Remove paddings (#2352 )
* remove paddings
* remove paddings
* remove paddings
* remove vertical scroll
* update tests
* styles, currency
* Fix variants tests in datagrid (#2365 )
* refactor variant test after adding datagrid
* adding assertion to check if datagrid table is visible
* adding check for datagrid
* fix flaky tests in variants
* fix flaky tests in variants
* small changes
* amedments
* update styles
* refactoring, handle prices
* update snapshots
* messages
* snap
* scrolling handle, css for safari
* snap, random mock
* update overflow
* history back hook
* fix cross-price changing, scroll optimization
* trigger ci
* channel checking when adding new variant
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2022-10-18 11:10:15 +02:00
Lukasz Ostrowski
1fb4479058
Add quick app install from manifest ( #2378 )
...
* Create a button that navigates to app install page
* Add translations keys
* Extract messages
* Change type literal to enum
* Update snapshots
2022-10-13 17:13:08 +02:00
Dawid
be76836e12
Add format tip for text attribute rows ( #2340 )
...
* Add format tip for text attribute rows
* Update changelog with added attribute tip
* Update attributes test snapshots
* Update question-help icons for dark mode
2022-10-13 12:41:26 +02:00
Dawid
943b96436c
Enable save button on channel pages ( #2328 )
...
* Enable save button on channel pages
* Update changelog with enable save button
* Remove disabling save while updating channel
* Trigger CI
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-10-13 10:34:21 +02:00
Dawid
2c49ea1af0
Revert "Update React to 17 and update related packages ( #2344 )" ( #2367 )
...
This reverts commit 3ba3dac2a7
.
2022-10-11 12:01:17 +02:00
Lukasz Ostrowski
44eb27fed3
Hide app privacy URL if not provided ( #2357 )
2022-10-10 13:22:16 +02:00
Dawid
3ba3dac2a7
Update React to 17 and update related packages ( #2344 )
...
* Update React to 17
* Update types for React 17
* Update references in useEffect cleanup functions
* Update react-error-boundary
* Update react-inlinesvg
* Update Apollo Client and Upload Link
* Update apollo-upload-client types
* Trigger CI
* Fix comment about csstypes
2022-10-07 12:50:02 +02:00
Patryk Andrzejewski
f349bbc86a
prevent duplicated queries (channels, siteinfo) ( #2343 )
2022-10-06 13:46:23 +02:00
Timur Carpeev
0db6ef6377
Increase breakpoints ( #2346 )
2022-10-06 10:15:16 +02:00
Patryk Andrzejewski
636d6ce416
pick explicitly fields for mutation ( #2353 )
2022-10-05 12:35:37 +02:00
Dawid
1002a11f41
Fix pagination errors on voucher and sale pages ( #2317 )
...
* Fix pagination errors on voucher and sale pages
* Update messages on voucher and sale pages
* Update changelog with pagination fix
* Update test snapshots of voucher and sale pages
* Update types of voucher and sale pages
2022-10-04 16:45:24 +02:00
Dawid
43fb52bc56
Enable save button on page pages ( #2325 )
...
* Enable save button on page edit pages
* Update e2e page create tests
* Update page create tests snapshots
* Update changelog with enable save button
* Update messages of pages views
* Update page details messages
2022-10-04 16:02:17 +02:00
Jonatan Witoszek
aceae75ce7
Add rel=noopener to links that take users to external sites ( #1980 )
...
* Add rel=noopener to links that take users to external sites
* Update Storyshots for Link changes
* Fix invalid isExternalURL function usage
* Update snapshots
2022-10-04 14:28:26 +02:00
Jonatan Witoszek
58d2a2b438
ESLint: No unused variables ( #1981 )
...
* Update eslint config to inform about unused variables
* Remove unused variables
2022-10-04 13:30:51 +02:00
Michał Droń
ed59fe423f
Fix message in voucher view ( #2338 )
...
* Fix message
* Extract messages
* Update snapshots
2022-10-03 11:41:00 +02:00
Patryk Andrzejewski
2d2151abc0
Hide shipping zones when you do not have access ( #2333 )
...
* hide shipping zones when you do not have access
* use single style hook
* cover warehouses
* snapshot
2022-09-29 10:40:19 +02:00
Patryk Andrzejewski
02c4e8d6e2
reset pagination state once we change number of rows ( #2337 )
2022-09-29 10:14:57 +02:00
Patryk Andrzejewski
7dc06cef91
firefox checkbox overlap workaround ( #2329 )
2022-09-28 15:14:31 +02:00
Dawid
575a91b5e9
Enable save button on discount pages ( #2319 )
...
* Enable save button on discount pages
* Update changelog with save button enable update
* Refactor channel input map
2022-09-28 10:42:28 +02:00
Dawid
6738467304
Handle form errors before product creation ( #2299 )
...
* Handle form errors before product creation
* Update e2e product create tests
* Handle channel errors in product update
* Update changelog
* Fix invalid values of product type picker
* Refactor product create utils
* trigger ci
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 14:15:59 +02:00
Dawid
9f7c934dec
Fix dropdown select arrow clicks bugs ( #2301 )
...
* Fix dropdown arrow click
* Fix multi-select dropdown arrow click
* Update changelog
* Update test snapshots of select inputs
* Grey out select dropdowns bottom arrow
* Prevent clearing input value in multiselect on item select
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 13:39:25 +02:00
Dawid
4c62ebe45d
Fix invalid values of channel picker ( #2313 )
...
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 13:21:30 +02:00
Dawid
214b677684
Fix missing metadata and payment balance on unconfirmed orders ( #2314 )
...
* Fix missing metadata and payment balance on unconfirmed orders
* Update changelog with fix missing fields on order page
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 12:25:56 +02:00
Patryk Andrzejewski
32c2ff5f13
fix assign modal when we no pass selectedids ( #2330 )
2022-09-22 13:44:06 +02:00
Patryk Andrzejewski
ae9b7b31dc
Add UI to enable channel listing in variants view ( #2303 )
...
* syncg
* manage channels modal, price editing
* fix typings
* fix typings, splitting components
* fix typings, splitting components
* update snapshot
* update types
* update messages
* use toggle
* update e2e tests
* update messages
* add manage button to edit page
* add manage button to edit page
* re-organize components
* update modals
* fix toggle all
* cover scenario when we have no channels
2022-09-22 12:00:13 +02:00
Dawid
61fe80bb7a
Fix no product error on unconfirmed order lines ( #2324 )
...
* Fix no product error onunconfirmed order lines
* Update changelog with fix no product error
2022-09-22 11:03:21 +02:00
Michał Droń
88a0db22e1
Fix broken pagination in swatch attributes ( #2282 )
...
* Fix broken pagination in swatch attributes
* Do not apply styling when value is undefined
* Extract logic to function
2022-09-21 17:35:04 +02:00
Michał Droń
5dbd6fed8a
Fix assigning products to collection ( #2320 )
...
* Reset modal state in collection details
* cover initial state
* modal updates
* cover case when there is no items to add
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2022-09-21 15:35:05 +02:00
Dawid
20920f3cf2
Fix exit form dialog false positive ( #2311 )
...
* Fix exit form dialog false positive.
Fixed:
- saving legacy data due to assigned legacy ref of function data assigned to form
- lack of clearing dirty status of form data on successful submit
causing improperly displaying exit form dialog
* Update changelog with exit form dialog fix
2022-09-16 16:16:26 +02:00
Michał Droń
ed95c423ae
Remove errors on fulfilling insufficient stock ( #2298 )
...
* Add error handling override for queries
* Handle errors in order fulfill view
* Handle errors in order details view
* Disable errors in approval mutation
2022-09-15 11:45:46 +02:00
Lukasz Ostrowski
a4804e2f3d
Inform App iframe about current and changed locale ( #2304 )
...
* Inform App iframe about current and changed locale
* Install production app-sdk@0.11.0
2022-09-15 08:18:43 +02:00
Michał Droń
b7a809f1fc
Improve error page message ( #2287 )
...
* Change error page content message
* Extract messages
* Update snapshots
2022-09-13 15:42:13 +02:00
Michał Droń
a989996b1f
Remove product type from product name cell in product list ( #2283 )
...
* Remove simple/configurable info from product list
* Update snapshots
* Remove unused import
* Extract messages
* Trigger deployment
2022-09-13 15:41:46 +02:00
Michał Droń
8f0cdf0134
Add fulfillment approve webhook ( #2300 )
...
* Update schema
* Update types
* Trigger deployment
2022-09-13 15:41:00 +02:00
Michał Droń
19d5e7e71d
Add product variant reference attribute ( #2268 )
...
* Handle variant references
* Update schema & types
* Update changelog
* Extract messages
* Fix handlers
* Update schema
* Build types
* Update types
* Improve assign reference value modals
2022-09-13 12:07:41 +02:00
Lukasz Ostrowski
ff09d04660
Send theme update event to marketplace app on theme change detected ( #2289 )
2022-09-13 09:15:48 +02:00
Michał Droń
7d3a0a776a
Fix overflowing error notifications ( #2286 )
2022-09-12 14:54:26 +02:00
Dominik Żegleń
fedf276e68
Do not confirm after removing fulfillment ( #2296 )
2022-09-09 14:09:31 +02:00
Dominik Żegleń
4ee5eb7795
Fix fulfillment page if not tracking stock ( #2290 )
...
* Fix fulfillment page if not tracking stock
* Update snapshots and messages
2022-09-07 16:08:41 +02:00
Michał Droń
884ea78cf5
Fix invisible popup in darkmode ( #2274 )
...
* Fix invisible popup
* Move styles to a separate file
2022-09-07 11:42:12 +02:00
Lukasz Ostrowski
84e179604d
Migrate @saleor/app-bridge to @saleor/app-sdk ( #2266 )
...
* Migrate @saleor/app-bridge to @saleor/app-sdk
app-bridge is deprecated and was merged into app-sdk.
This commit fixes imports and points to new package
* Downgrade package-lock version
* Update app-sdk to 0.9.1
* Change sdk version to production
* Refresh app-sdk install
2022-09-06 13:11:06 +02:00
Lukasz Ostrowski
daba8a381f
Fix styling of app install ui ( #2254 )
...
* Fix styling of app install ui
* Fix dark mode colors
2022-09-06 10:22:33 +02:00
Michał Droń
c1185198f5
Payment status card improvements ( #2222 )
...
* Change table layout to flexbox
* Move taxes before total
* Move discounts above subtotal
* Add type to util function
* Remove maybes
* Improve discounts
* Change taxes message
* Make font smaller
* Query total balance in order details
* Use totalBalance from api
* Show refunded when more than 0
* Make taxes grey
* Delete unused import
* Update fixtures
* Update snapshots
* Extract messages
* Move styles to seperate file
* Fix refunded amount
* Add settled message for zero balances
* Change payment status to payment balance
* Update snapshots
* Fix messages post rebase
2022-09-01 13:47:13 +02:00
Karolina Rakoczy
24d77b984a
Add test for thumbnails ( #2219 )
...
* Add test for thumbnails
* Add test for thumbnails
* split into functions
* update snapshot
2022-09-01 10:35:19 +02:00
Michał Droń
6789b73f00
Fix saving permission groups ( #2239 )
...
* Allow saving regardless of membersChanged value
* Fix in-place sorting on readonly value
* Fix capital letter in button message
* Update snapshots
* Fix stories
* Remove unused import
2022-08-29 13:37:42 +02:00
Dawid
e610aefcfa
Add allocation strategies with sortable warehouses ( #2258 )
...
* Add allocation strategy options in channel view
* Update schema with channel allocation strategy
* Reorder channel warehouses after channel saving
* Refactor and clean code of allocation strategy options
* Update schema with allocation strategy
* Trigger CI
* Update allocation starategy options UI
* Update allocation strategy messages
* Trigger CI
* Fix shipping zones and warehouses cards style
* Fix message
* Fix snapshots
Co-authored-by: Michał Droń <dron.official@yahoo.com>
2022-08-29 13:35:55 +02:00
Timur Carpeev
15274e14d7
[Small improvements] Fix webhook docs URL and change settings icon ( #2235 )
...
* Swap more icon with settings icon, to make settings more discoverable
* Update snapshot
2022-08-26 11:33:41 +02:00
Dominik Żegleń
ea87abda3c
Drop "manage products" permission requirement to view orders ( #2248 )
...
* Bump version
* Remove useless styles
* Ise isAvailableForPurchase field
2022-08-25 10:35:07 +02:00
Timur Carpeev
3684a55ba9
Add correct URL ( #2253 )
2022-08-24 11:41:59 +02:00
Dawid
df55dba571
Update product and page default availability settings ( #2165 )
...
* Update product and page default settings
* Update product and page test snapshots
* Update product create errors handling
* Fix preselected publication info of product with variant without any channel listing
* Update package lock file
* Fix page publication state and its date on page view
* Update page tests
2022-08-22 14:53:17 +01:00
Dominik Żegleń
8e2a3e0c75
Minor fixes to gift card list ( #2218 )
...
* Fix paginator interface
* Fix link to product
* Fix dropdown in gift card tags
* Do not pass trash to components
2022-08-18 12:50:09 +02:00
RyanTamulevicz
bf4b5f70a7
Fixes inability to update site settings ( #2228 )
2022-08-17 14:23:56 +02:00
Dominik Żegleń
f058f4d01f
Update types ( #2229 )
2022-08-11 17:52:55 +02:00
Wojciech Mista
c6e8537174
Update app actions for new action type ( #2200 )
2022-08-10 15:26:09 +02:00
Dawid
eea1ba235f
Remove bulk variant creator ( #2179 )
...
* Remove bulk vaariant creator
* Update variant test snapshots
* Update variant E2E tests
* fixed test for products variants (#2187 )
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2022-08-10 11:29:17 +01:00
Dawid
6fdec6e5f1
Update simple product availability card ( #2144 )
...
* Update simple product availability card
* Update channel availability messages
2022-08-10 10:15:01 +01:00
Dawid
f01966f0d4
Handle errors on finalizing draft order ( #2191 )
...
* Add warning alert before finilizing draft order
* Add line error indicators in draft order view
* Handle unfilled fields errors before draft order finalize
* Handle draft order line errors
* Differentiate line alert severity
* Fix order line alert margin
* Remove unnecessairy comment
* Refactor order draft alert components
* Update order draft test snapshots
* Refaactor order details code
* Hide add products button when no products available on order draft page
* Hide no shipping methods warning if they cannot be determined
* Update product assignment dialog messaages
* Update order channel error messages
* Fix missing order lines in error crash
2022-08-10 10:11:32 +01:00
Wojciech Mista
b0d7342e1f
Fix "Add Staff Member" form errors on inputs ( #2186 )
...
* Fix input errors in staff member forms
* Remove unused import
2022-08-04 08:40:14 +02:00
Dawid
2c97b2da41
Move fulfillment warehouse selection to fulfilll page ( #2199 )
...
* Move order fulfillment warehouse selection to fulfill page
* Use modal to select warehouse on fulfill order page
* Remove tracking number input from fulfill order page
* Update visual structure of fulfill order page
* Fix fulfill order page styles
* Update order fulfill utils
2022-08-02 14:57:18 +02:00
Michał Droń
804e14768b
Add sync webhooks for tax calculations ( #2204 )
...
* Update schema
* Build types
* Add badgesto MultiAutocompleteSelectField
* Reduce z-index on MultiAutocompleteSelectField
* Add preview pills for new webhooks
* Change grid variant to uniform in Webhook details view to reduce clipping
* Update snapshots
* Change isWebhookInPreview to more scalable solution
2022-08-02 14:50:37 +02:00