saleor-dashboard/locale/defaultMessages.json

8885 lines
216 KiB
JSON
Raw Normal View History

{
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"++8ZWj": {
"context": "Transaction event status - requested",
"string": "Requested"
},
🦄 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 12:48:50 +00:00
"+2VydL": {
"context": "card title",
"string": "Country exceptions"
},
"+2VzH4": {
"context": "avatar change button",
"string": "Change"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"+43JV5": {
"context": "header",
"string": "Products in {categoryName}"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"+5HkZN": {
"context": "order, button",
"string": "Mark as paid"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"+7OsyM": {
"context": "button",
"string": "Set as default shipping address"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"+8v1ny": {
"context": "discount button",
"string": "Discount"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"+B25o/": {
"context": "dialog header",
"string": "Mark Order as Paid"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"+CeEe3": {
"context": "order shipping method name",
"string": "Shipping"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"+HuipK": {
"context": "variant sku",
"string": "SKU {sku}"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
🦄 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 12:48:50 +00:00
"+Jgot0": {
"context": "tax class for a product type",
"string": "Tax class"
},
"+MJW+8": {
"context": "button",
"string": "Create Discount"
},
"+NUzaQ": {
"context": "check to mark this account as active",
"string": "User account active"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"+PbHKD": {
"context": "dialog header",
"string": "Capture Payment"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"+PclgM": {
"context": "tabel column header",
"string": "Total"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
2023-01-30 12:06:54 +00:00
"+RffqY": {
"context": "Dry run dialog object title",
"string": "Select object type to perform dry run on provided query"
},
"+RjQjs": {
"context": "return button",
"string": "Return / Replace order"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"+SYLEL": {
"context": "refunded fulfillment, section header",
"string": "Refunded"
},
"+T0oJ7": {
"context": "input label",
"string": "Stock reservation for anonymous user (in minutes)"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"+U6ozc": {
"string": "Type"
},
"+VEhV8": {
"context": "product channels",
"string": "Availability"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"+WTmpr": {
"context": "disabled status option label",
"string": "Disabled"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"+a+2ug": {
"string": "Members"
},
"+b/qJ9": {
"string": "Delete draft orders"
},
"+b3KCV": {
"context": "button",
"string": "Activate"
},
"+bhokL": {
"string": "Search discounts..."
},
"+do3gl": {
"context": "input helper text",
"string": "This number defines quantity of items in checkout line that can be bought. You can override this setting per variant. Leaving this setting empty mean that there is no limits."
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"+hib+V": {
"context": "error message",
"string": "This attribute is already assigned."
},
"+iV0gu": {
"string": "Internal Apps"
},
"+iVKR1": {
"context": "assign attribute value button",
"string": "Assign value"
},
"+jCDvp": {
"context": "section header",
"string": "Store Information"
},
"+jHXT3": {
"context": "limit voucher",
"string": "Limit to staff only"
},
"+kb2lM": {
"context": "dialog header",
"string": "Change Password"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"+mmPxn": {
"context": "page header",
"string": "Grant refund"
},
"+pLi+M": {
"context": "issued by app label",
"string": "Issued by app"
},
"+sX7yS": {
"string": "Fulfillment successfully approved"
2020-04-29 01:47:07 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"+sXiWx": {
"context": "window title",
"string": "Edit grant refund"
},
"+svQBN": {
"context": "alert",
"string": "Order limit reached"
},
"+tIkAe": {
"context": "status",
"string": "Status"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"+wpvnk": {
"context": "dialog title",
"string": "Delete Collection"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"+x4cZH": {
"string": "Only staff members can be assigned"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"+x84Ji": {
"context": "order status",
"string": "Unconfirmed"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"+xTpT1": {
"string": "Attributes"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"//k1GX": {
"context": "expired on label",
"string": "Expired on {date}"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"/0JckE": {
2021-01-25 10:28:44 +00:00
"context": "order marked as paid event title",
"string": "Order was marked as paid by"
},
"/0gMCW": {
"string": "Try to refresh the page or go navigate to a different page and back."
},
"/2OOMe": {
"context": "product type shipping settings, section header",
"string": "Shipping"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"/4bJkA": {
"context": "header field value, header",
"string": "Value"
},
🦄 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 12:48:50 +00:00
"/5r4he": {
"context": "label for button",
"string": "Add country"
},
"/68iG8": {
"context": "product export to csv file, header",
"string": "Information exported"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"/6uK4C": {
"context": "button",
"string": "Assign collections"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"/8/Ffn": {
"context": "button",
"string": "Show"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"/AbHy4": {
"context": "creation label",
"string": "Creation"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"/BJQIq": {
"context": "dialog header",
"string": "Add Tracking Code"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"/C//FB": {
"context": "header, allocated product quantity",
"string": "Allocated"
},
"/DzBc6": {
"context": "section description",
"string": "Strategy defines the preference of warehouses for stock allocations and reservations."
},
🦄 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 12:48:50 +00:00
"/ILyIf": {
"context": "tax classes menu header",
"string": "Tax class label"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"/KWNJW": {
"context": "order discount was updated event title",
"string": "Order discount was updated by"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"/L8wzi": {
"context": "dialog header",
"string": "Unassign Attribute From Page Type"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"/Mcvt4": {
"context": "section header",
"string": "Media"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"/PhkXi": {
"context": "section header",
"string": "Installed Apps"
},
"/TF6BZ": {
"string": "Search Products"
},
"/TK7QD": {
"context": "page label",
"string": "Hidden"
},
"/V7UOC": {
"context": "unassign category from sale and save, button",
"string": "Unassign and save"
},
"/WXs6H": {
"context": "collection name",
"string": "Name"
},
"/Xwjww": {
"context": "button",
"string": "Fulfill"
},
"/Zee1r": {
"string": "Only added postal codes will be able to use this shipping rate"
},
"/cow4T": {
"context": "WarehousesSection select field placeholder",
"string": "Select Warehouse"
},
"/dnWE8": {
"context": "products in collection",
"string": "Products in {name}"
},
"/eTYOp": {
"context": "app support",
"string": "Support"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"/eWPsp": {
"string": "Invalid currency used to create transaction"
},
"/glQgs": {
"string": "No channels found"
},
"/iijFq": {
"context": "input label",
"string": "Global threshold"
},
"/kWzY1": {
"string": "Are you sure you want to delete this address from users address book?"
},
"/lBLBI": {
"context": "channels alphabetically title",
"string": "Channels from A to Z"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"/nZy6A": {
"context": "page subtitle",
"string": "Issue refund"
},
"/oaqFS": {
"context": "section header",
"string": "Value"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"/oyr6M": {
"context": "no variants",
"string": "No variants found"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"/qk66u": {
"context": "window title",
"string": "Grant refund #{orderNumber}"
},
"/vCXIP": {
"string": "Translation"
},
"/w919H": {
"context": "OrderCustomer Fulfillment from Local Warehouse",
"string": "Fulfill from Local Stock"
},
"/xJSe8": {
"context": "When users confirm their email account, all previous anonymous orders placed under the same email would be added to their order history.",
"string": "When users confirm their email account, all previous anonymous orders placed under the same email would be added to their order history."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"/xXvjF": {
"context": "section header",
"string": "Unfulfilled"
},
"/yJJvI": {
"context": "dialog header",
"string": "Select a product type"
},
"/z9uo1": {
"context": "order returned success message",
"string": "Successfully returned products!"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"01+5kQ": {
"string": "Mark as paid"
},
"05hqq6": {
"context": "checkbox label",
"string": "Automatically approve all fulfillments"
},
"06bR4Z": {
"context": "order history message",
"string": "Order cancel information was sent to customer"
},
"0AQH0Q": {
"string": "Plugin is misconfigured and cannot be activated"
},
"0DRBjg": {
"string": "Token Note"
},
"0DgA8v": {
"context": "swatch attribute color picker label",
"string": "Picker"
},
"0FexL7": {
"context": "min price in channel",
"string": "Min. value"
},
"0HBlkO": {
"string": "Search channels"
},
"0KmZCN": {
"context": "button",
"string": "Open playground"
},
"0MetrR": {
"context": "webhook input help text",
"string": "This URL will receive webhook POST requests"
},
"0Mg8o5": {
"context": "header",
"string": "Tokens"
},
"0OfZJA": {
"context": "button",
"string": "Back"
},
"0OtaXa": {
"context": "dialog header",
"string": "Create Menu"
},
"0TQuo4": {
"context": "dialog header",
"string": "Unassign Collection From Sale"
},
🦄 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 12:48:50 +00:00
"0V1q0d": {
"context": "add country dialog header",
"string": "Choose country you want to add"
},
"0VDwAP": {
"context": "checkbox label",
"string": "Send shipment details to customer"
},
"0VkxrS": {
"string": "GraphQL Playground"
},
"0Vyr8h": {
"context": "menu item name",
"string": "Name"
},
"0XHXTZ": {
"context": "column header",
"string": "Title"
},
🦄 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 12:48:50 +00:00
"0a0fLZ": {
"context": "countries list menu label when no countries are assigned",
"string": "There are no countries assigned"
},
"0dPP8O": {
"string": "Order #{orderId} was placed"
},
"0em8tI": {
"context": "ProductTypeDeleteWarningDialog multiple consent label",
"string": "Yes, I want to delete those products types and assigned products"
},
"0fM/pV": {
"context": "message title",
"string": "App installed"
},
"0iMYc+": {
"context": "field is optional",
"string": "(Optional)"
},
"0kPdlb": {
"context": "deprecated secret key toolbar label",
"string": "Use RS256 signature instead."
},
"0krqBj": {
"context": "page header",
"string": "Order no. {orderNumber} - Refund"
},
"0mhR+F": {
"context": "Header row quantity label",
"string": "Quantity"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"0nL1D6": {
"context": "number of menu items",
"string": "Items"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"0nLsyM": {
"string": "No product types found"
},
"0oo+BT": {
"context": "section header",
"string": "Refunded Amount"
},
"0qg33z": {
"context": "table column header",
"string": "Return"
},
"0sd4ez": {
"context": "selected customer channel subtitle",
"string": "Customer will be sent the gift card code via this channels email address"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
2023-01-30 12:06:54 +00:00
"0u9Ng0": {
"context": "Dry run no objects found",
"string": "No objects found in the provided query"
},
"0vsMRq": {
"context": "delete custom app",
"string": "Deleting this app, you will delete all the data and webhooks regarding this app."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"0whAeC": {
"context": "sum of all pending refunds inside an order",
"string": "Pending refunds"
},
"1+ROfp": {
"string": "Transaction"
},
"1/oG76": {
"context": "dialog header",
"string": "Delete Sale"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"1/oauz": {
"context": "grant refund table, column header",
"string": "Qty to refund"
},
"11lR5V": {
"context": "avatar delete button",
"string": "Delete"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"129wyQ": {
"context": "dialog header",
"string": "Change customer shipping address"
2020-08-13 11:28:29 +00:00
},
"142MJn": {
"context": "select visible columns button",
"string": "Columns"
},
"15PiOX": {
"context": "button title",
"string": "Unassign"
2020-08-13 11:28:29 +00:00
},
"15fg+o": {
"context": "weeks after label",
"string": "weeks after issue"
2020-08-13 11:28:29 +00:00
},
"16Dpgb": {
"context": "Synchronous events description",
"string": "Synchronous webhook sends payload and waits for a response from the target URL to continue processing."
},
"16PGt9": {
"context": "WarehouseSettings all warehouses label",
"string": "All warehouses"
2020-08-13 11:28:29 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"16iwCI": {
"context": "section header",
"string": "Fulfilled"
},
"16sza6": {
"string": "Refund grants reserve a money which later can be sent to customers via original payment methods or a manual transaction."
},
"18wvf7": {
"context": "section header",
"string": "Order Details"
2020-08-13 11:28:29 +00:00
},
"19/lwV": {
"string": "Determine attributes used to create product types"
2020-08-13 11:28:29 +00:00
},
"1BNKCZ": {
"context": "sale channel",
"string": "Channel"
2020-08-13 11:28:29 +00:00
},
"1GTU/3": {
"context": "replaced event title",
"string": "Products were replaced by"
2020-08-13 11:28:29 +00:00
},
"1H+V6k": {
"context": "error message",
"string": "Page with these attributes already exists."
},
"1J/bhZ": {
"context": "expiry date section header",
"string": "Expiry date"
2020-08-13 11:28:29 +00:00
},
"1KSqnn": {
"context": "tab name",
"string": "All Product Types"
2020-08-13 11:28:29 +00:00
},
"1LBYpE": {
"context": "dialog header",
"string": "Delete Menus"
2020-08-13 11:28:29 +00:00
},
"1LiVhv": {
"context": "section header",
"string": "Recent Orders"
},
"1T1fP8": {
"context": "range input label",
"string": "Postal codes (start)"
},
"1UKx20": {
"context": "header",
"string": "Translation ShippingMethod \"{shippingMethodName}\" - {languageCode}"
},
"1Uj0Wd": {
"context": "order draft total price",
"string": "Total"
},
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 09:10:15 +00:00
"1WbTJ5": {
"context": "product variants, title",
"string": "Variants"
},
"1X6HtI": {
"string": "All Categories"
},
"1gzck6": {
"string": "{firstName} {lastName}"
},
"1lk/oS": {
"context": "button",
"string": "Add postal code range"
},
"1n1tOR": {
"string": "Group is out of your permission scope"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"1oYjZc": {
"context": "sum of all granted refunds for an order",
"string": "Granted refund"
},
"1rpzrM": {
"context": "search placeholder",
"string": "Search by country name"
},
"1shOIS": {
"context": "column title",
"string": "Price"
},
"1tXSSK": {
2020-04-29 01:47:07 +00:00
"context": "header",
"string": "Translation Voucher \"{voucherName}\" - {languageCode}"
},
"1wyZpQ": {
"string": "These passwords are too similar"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"1zuQ2P": {
"context": "unassign country",
"string": "Are you sure you want to remove {countryName} from this shipping zone?"
},
"2+v1wX": {
"context": "number of metadata fields in model",
"string": "{number,plural,one{{number} string} other{{number} strings}}"
},
"2/L4zZ": {
"string": "Select all channels"
},
"22x9tu": {
"context": "header",
"string": "Translation Product \"{productName}\" - {languageCode}"
},
"23g7PY": {
"context": "dialog header",
"string": "Invite Staff Member"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"26+K4N": {
"string": "There was a poblem with the file you uploaded as an image and it couldn't be used. Please try a different file."
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"26BKkX": {
"context": "order status",
"string": "Partially returned"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"28GZnc": {
"string": "Start typing to begin search..."
},
"29L5Yq": {
"context": "gift card not found message",
"string": "Couldn't find gift card"
},
"2BHjVL": {
"context": "header",
"string": "Custom request headers"
},
"2CBcub": {
"context": "CreateVariantTitle manage",
"string": "Manage"
},
"2FQsYj": {
2020-04-29 01:47:07 +00:00
"context": "button",
"string": "Clear"
2020-04-29 01:47:07 +00:00
},
"2HfSiT": {
"context": "pagination",
"string": "No. of rows"
},
"2J6EFz": {
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
"context": "button",
"string": "Choose media"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2MKBk2": {
"context": "window title",
"string": "Fulfill Order #{orderNumber}"
},
"2MKkgX": {
"context": "checkbox label",
"string": "Allow fulfillment without payment"
},
"2NgTCJ": {
"string": "A product with this SKU already exists"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2OH46U": {
"context": "search modal shipping title",
"string": "Shipping address"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2RYRdr": {
"context": "webhooks active label",
"string": "Active"
},
"2Sx05f": {
"context": "Previous discount label",
"string": "Previous discount value"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2VSP8C": {
"context": "delete token",
"string": "Are you sure you want to delete token {token}?"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2W4EBM": {
"context": "button",
"string": "Set maximal quantities"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"2WenNh": {
"string": "Send refund"
},
"2Xt+sw": {
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
"context": "dialog header",
"string": "Add postal codes"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2Zyit2": {
"context": "delete page types with its pages",
"string": "{counter,plural,one{Page Type you want to delete is used by some pages. Deleting this page type will also delete those pages. Are you sure you want to delete this page type? After doing so you wont be able to revert changes.} other{Page Types you want to delete are used by some pages. Deleting these page types will also delete those pages. Are you sure you want to delete {displayQuantity} page types? After doing so you wont be able to revert changes.}}"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2atspc": {
"string": "Drafts"
},
"2cjt25": {
"context": "window title",
"string": "Install App"
},
"2gsiR1": {
"string": "No warehouses found"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2i81/P": {
"context": "section header button",
"string": "Manage"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2ob30/": {
"string": "Success! In a few minutes youll receive a message with instructions on how to reset your password."
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2oyWT9": {
"context": "button",
"string": "Back to login"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2p0tZx": {
"context": "delete customer, dialog content",
"string": "Are you sure you want to delete {email}?"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2pw5dQ": {
"context": "payment status",
"string": "Fully paid"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2rJcFa": {
"context": "delete app",
"string": "Deleting this app, you will remove installation of the app. If you are paying for app subscription, remember to unsubscribe from the app in Saleor Marketplace."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"2x9ZgK": {
"context": "card title",
"string": "Refund balance"
},
"2yU+q9": {
"context": "tab name",
"string": "All Warehouses"
},
"2yV+s8": {
"context": "order history message",
"string": "Payment was captured"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"2zCmiR": {
"context": "tabel column header",
"string": "Cost price"
},
"3+990c": {
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
"context": "button",
"string": "View all orders"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3+KwtP": {
"context": "VariantDetailsChannelsAvailabilityCard subtitle",
"string": "Available in {publishedInChannelsCount} out of {availableChannelsCount}"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"30X9S8": {
"context": "gift card history message",
"string": "Gift card was issued by {issuedBy}"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"31hYP2": {
"context": "alert card message",
"string": "Gift cards will appear after their order is fullfilled. <link>View Orders with Gift Cards</link>"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"32dfzI": {
"context": "price or ordered products",
"string": "Price"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"34F7Jk": {
"context": "filter range separator",
"string": "and"
},
"38dS1A": {
"context": "code ending with label",
"string": "Code ending with {last4CodeChars}"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"39yi8w": {
"context": "selected currency",
"string": "Selected currency"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3AqOxp": {
"context": "no category set error",
"string": "Product category not set"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3C3Nj5": {
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
"context": "button",
"string": "Add variant"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3DGvA/": {
"string": "Remember this will also unpin all products assigned to this category, making them unavailable in storefront."
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
2023-04-12 07:11:11 +00:00
"3PVGWj": {
"string": "Filter preset"
},
"3SVI5p": {
"string": "Warning"
},
"3Sz1/t": {
"context": "dialog header",
"string": "Delete Pages"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3TlhJS": {
"context": "navigator command mode description",
"string": "Search Command"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3Z8972": {
"context": "product",
"string": "Stock quantity"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3a5wL8": {
"string": "Active"
},
"3bQz2o": {
"context": "bulk issue gift cards success alert title",
"string": "Gift Cards Issued"
},
"3d1RXL": {
"string": "This customer has no addresses yet"
},
"3dVKNR": {
"context": "ProductTypeDeleteWarningDialog with items multiple description",
"string": "You are about to delete multiple product types. Some of them are assigned to products. Deleting those product types will also delete those products"
},
"3evXPj": {
"string": "Leave your note here..."
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3fgyFh": {
"context": "order history message",
"string": "Payment was refunded"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3kwdxJ": {
"context": "gift card export type label",
"string": "gift cards"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3oQzWR": {
"context": "product availability",
"string": "Set publication date"
},
"3psvRS": {
"context": "attribute values list: slug column header",
"string": "Admin"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3rIMq/": {
"context": "product shipping",
"string": "Shipping"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3tbL7x": {
"context": "description",
"string": "Forgot password?"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3u+4NZ": {
"string": "Invoice email sent"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3ukd9/": {
"context": "attributes, section header",
"string": "Attributes"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"3y4r+z": {
"context": "channel settings",
"string": "Channel Settings"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"3zdm8A": {
"context": "Dialog title",
"string": "Transaction {actionType}"
},
"408KSO": {
"context": "gift card history message",
"string": "Gift card was used as a payment method on order {orderLink}"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"41z2Qi": {
"context": "notification",
"string": "Removed pages"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"423QsF": {
"context": "option title",
"string": "Prioritize warehouses with highest stock"
},
"43AOvZ": {
"context": "alert group message",
"string": "You will not be able to finalize this draft because:"
},
"43Nlay": {
"context": "warehouse",
"string": "Address Information"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"43QkTW": {
"context": "Transaction capture button - charge preauthorized transaction amount",
"string": "Capture"
},
"450Fty": {
"string": "None"
},
"45aV8u": {
"context": "gift card bulk create modal bottom explanation",
"string": "After creation Saleor will create a list of gift card codes that you will be able to download."
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"45zP+r": {
"context": "voucher discount",
"string": "Specific products"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"47hJzu": {
"string": "Updated app permissions"
},
"483Xnh": {
"context": "open full-screen",
"string": "Open"
},
2023-01-30 12:06:54 +00:00
"48dMqY": {
"context": "Dry run trigger button",
"string": "Run"
},
"4B32Ba": {
"context": "delete page",
"string": "Are you sure you want to delete {title}?"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4C7I61": {
"context": "sale Details delete button",
"string": "Removed sale"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4Dc2j0": {
"context": "order status",
"string": "Returned"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
🏛️ Implement new column picker (#3514) * (wip) basic column picker implementation * (wip) fix stories error * (wip) fix custom column cells & sorting * (wip) Group attributes query values in props * (wip) Add docs * (wip) fix story error * Implement new column picker in order list * Fix search input padding * Fix empty settings crash * Fix empty settings crash * Portalize popover * Preselect category when there is only one * Remove legacy code * Move product column adapters to proper directory * Improve file structure * Rename custom columns to dynamic columns * Improve strings * (wip) Implement pagination logic * Beautify pagination * Update macaw-ui * Add unit test for useColumns * Improve naming * Code review style fixes * Update docs * Remove empty column * Remove unexpected padding from attribute columns * Add min height to prevent jumping * Fix typo in column picker files * CSS fixes to popover content * Implement auto-scroll to new column * Improve docs * Improve type in useColumns reducer * Extract dynamic columns from NewColumnPicker as a smaller component * Disable movement of empty column * Fix circular loader * Do not persist expanded state when closing picker * Fix dynamic columns with long names line break * Prevent user from disabling all static columns * Simplify dynamic column reducer into flatMap * Optimistic UIbasic implementation * Make available attributes query lazy * Fix displaying arrow next to sorted column * Add explainatory comment * Fix product list stories * Fix dynamic columns and query handling for empty lists * Remove jump on first attribute selection * Remove jump on first attribute selection * Fix search * Add debounce to search * CR - base state change on previous in popover * Extract search into separate component * Rename useDynamicColumnSettings to useColumnPickerSettings * Use difference from lodash * Improve static column rendering * Improve order list * Fix stories error * Improve search for edge cases * Extract messages * Calculate more complex dynamic column adapter parameters in separate functions * Fix url pointing to CardMenu substitute * Extract nodes to separate component * Move files, remove New prefix * Extract to static columns * Refactor utility functions * Render column picker categories only when provided in props * Replace switch with if statements * Refactor to hooks * Remove comments with legacy stacing * Add spaces for better readibility * Tighten types * Add space * Add extra comments to useColumns optimistic update logic * Fix paddings * Add arbitrary min/max height for handling various resolutions * Add full-width hover & click effect on candidate columns labels * Handle long attribute names * Make column picker popover a modal * Bump macaw-ui * Fix macaw-ui type mismatch * Update types * Add data-test-id * Fix closing picker with trigger button * Replace list settings deep merging with shallow merging * Fix list settings deep merging behaviour for arrays * Replace conditional data-test-id- with close-search * Rename targetArray to columnsToCheck * Rename filterColumns to filterSelectedColumns * Rename gridAttributes query objects to more descriptive * Add explainatory comment to customizer function in useListSettings * Update strictness * Fix rendering dynamic columns
2023-06-26 09:36:01 +00:00
"4ELCCk": {
"context": "column picker section default header",
"string": "Categories"
},
"4IgzXs": {
"context": "label",
"string": "App Manifest URL"
},
"4JW9iJ": {
"context": "home section name",
"string": "Home"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4JcNaA": {
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
"context": "button",
"string": "Invite staff member"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4Jp83O": {
"context": "subheader",
"string": "Contact Information"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4Kq3O6": {
"string": "This unit will be used as default shipping weight"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4PlW0w": {
"context": "tracking number",
"string": "Tracking Number: {trackingNumber}"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4T/RzC": {
"string": "Make sure to save token, you wont be able to see it again."
},
"4VOIum": {
"context": "product availability",
"string": "Enabling this checkbox will remove product from search and category pages. It will be available on collection pages."
},
"4W/CKn": {
"context": "modal button",
"string": "Upload URL"
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"4XhJY+": {
"context": "dialog header",
"string": "Add product from {channelName}"
},
"4Z0O2B": {
"context": "section header title",
"string": "Gift Card Timeline"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4Z14xW": {
"context": "button",
"string": "Finalize"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4Z6BtA": {
"context": "order history message",
"string": "Payment confirmation was sent to customer"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"4fJ17F": {
"context": "Charge in progress transaction amount, data display header",
"string": "Pending charge"
},
"4gT3eD": {
"context": "navigator section header",
"string": "Search in Customers"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
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 09:10:15 +00:00
"4hl9rS": {
"context": "variant price in channel",
"string": "Price"
},
"4k9rMQ": {
"context": "variant attribute checkbox",
"string": "Variant Selection"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
🦄 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 12:48:50 +00:00
"4p3bjX": {
"context": "tax strategy combobox choice",
"string": "Use flat rates"
},
"4prRLv": {
"string": "Permission is out of your scope"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4qe6hO": {
"context": "product stock, section header",
"string": "Inventory"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4v5gfh": {
"context": "account information, header",
"string": "Account Information"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"4yRwN+": {
"context": "content",
"string": "Saleor couldnt fetch crucial information regarding installation. Without those System cant install the app in your Saleor. Please use the button below to get back to systems dashboard."
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"50lR2F": {
"string": "- used by Payment Plugins"
},
"54KYgS": {
"context": "months after label",
"string": "months after issue"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"54M0Gu": {
"string": "Provide us with an email - if we find it in our database we will send you a link to reset your password. You should be able to find it in your inbox in the next couple of minutes."
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"55LMJv": {
"context": "country list header",
"string": "Countries"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"56vUeQ": {
"string": "Added product to collection"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"577R2r": {
"string": "Invalid value"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"57IYpr": {
"context": "error message",
"string": "Value is invalid"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"59XppT": {
"context": "button",
"string": "Approve"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"5A6/2C": {
"context": "section header",
"string": "Availability"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"5BajZK": {
"string": "View and update your site settings"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"5HwLx9": {
"context": "alert",
"string": "Warehouse limit reached"
},
"5I7Lc2": {
"context": "dialog header",
"string": "Assign page"
},
"5JT4v2": {
"context": "dialog header",
"string": "Send Invoice"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"5JUEIh": {
"context": "field label, refund amount",
"string": "Refund amount"
},
"5Jo3C5": {
"context": "vat not included in order price",
"string": "does not apply"
2021-12-16 11:36:03 +00:00
},
"5ObBlW": {
"string": "Dark Mode"
},
"5OtU+V": {
"context": "dialog title",
"string": "Unassign products from collection"
2020-03-17 18:53:58 +00:00
},
"5QKsu+": {
"context": "waiting for export to end, header",
"string": "Exporting CSV"
2020-03-17 18:53:58 +00:00
},
"5R4VMl": {
"context": "draft created from replace event title",
"string": "Draft was reissued from order"
},
"5RmuD+": {
"string": "Manage and update your warehouse information"
},
"5SPHkk": {
"string": "Order #{orderId} was fully paid"
},
"5TUpjG": {
"context": "product attribute entity type",
"string": "Products"
},
"5Vwnu+": {
"string": "You have reached your SKU limit, you will be no longer able to add SKUs to your store. If you would like to up your limit, contact your administration staff about raising your limits."
},
"5XG1CO": {
"context": "acre-ft unit",
"string": "acre-ft"
},
"5ZYUn5": {
"context": "Filter and element text",
"string": "And"
},
"5ZvuVw": {
"string": "No products matching given query"
},
"5ZxAiY": {
"string": "Token"
},
"5aiFbL": {
"context": "tabel column header",
"string": "Price"
},
2023-01-30 12:06:54 +00:00
"5b0Boq": {
"context": "Dry run items list default message",
"string": "Choose the object"
},
"5bJ26s": {
"string": "Successfully created page type"
},
"5blVMu": {
"context": "e-mail or full name",
"string": "Customer"
},
"5dLpx0": {
"context": "references attribute type",
"string": "References"
},
"5dyOs0": {
"string": "No payments waiting for capture"
},
"5elC9k": {
"context": "taxes section name",
"string": "Taxes"
},
"5fCMUI": {
"context": "translations section name",
"string": "Translations"
},
"5i/InH": {
"context": "open new window button",
"string": "Open this order in GraphiQL"
},
"5kvaFR": {
"context": "product field",
"string": "Export Variant SKU"
},
"5o84YO": {
"context": "Filter where element text",
"string": "Where"
},
"5pHBSU": {
"context": "switch button",
"string": "Product type uses Variant Attributes"
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"5sg7KC": {
"string": "Password"
},
"5t/4um": {
"context": "message title",
"string": "Couldnt Install {name}"
},
"5tMkmJ": {
"context": "dialog header",
"string": "Assign Collection"
},
"5te3Tp": {
"context": "order payment",
"string": "Outstanding Balance"
},
"5u7b3V": {
"context": "voucher is active from date",
"string": "Starts"
},
"5x6yT9": {
"context": "weight",
"string": "{fromValue} {fromUnit} - {toValue} {toUnit}"
},
"62T585": {
"context": "button",
"string": "{languageName} - {languageCode}"
},
"62Ywh2": {
"context": "number of countries",
"string": "{number} Countries"
},
"64aQXZ": {
"context": "product variants, full-screen title",
"string": "Variants for: {name}"
},
"64aYF0": {
"context": "informations about product organization, header",
"string": "Product Organization"
},
"67V0c0": {
"context": "unassign product from collection, button",
"string": "Unassign"
},
"6AMFki": {
"context": "product name",
"string": "Name"
},
"6D+yYX": {
"string": "Payment status"
},
"6G41zU": {
"context": "WarehouseSettings local warehouse description",
"string": "If selected customer will be able to choose this warehouse as pickup point. Ordered products will be only fulfilled from this warehouse stock"
},
🦄 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 12:48:50 +00:00
"6HHPFy": {
"context": "tax strategy combobox hint",
"string": "Select the method of tax calculation"
},
"6JlXeD": {
"context": "button",
"string": "Create page type"
},
"6QjMei": {
"string": "Preorder end time needs to be set in the future"
},
"6RQKxH": {
"context": "order history message",
"string": "Invoice no. {invoiceNumber} was updated"
},
"6RtE2D": {
"context": "unassign collection from sale and save, button",
"string": "Unassign and save"
},
"6SL46U": {
"string": "by {author}"
},
"6WRFp2": {
"context": "order history message",
"string": "Note was added to the order"
},
"6Y1nQd": {
"context": "product is visible",
"string": "Visible"
},
"6aBkJm": {
"context": "section header",
"string": "Authorization"
},
"6cMkfT": {
"context": "table head",
"string": "Product Name"
},
"6cS4Rd": {
"context": "card section description",
"string": "Available permissions"
},
"6cq+c+": {
"context": "header",
"string": "Discount Type"
},
"6fORLY": {
"string": "No page types found"
},
"6fxdUO": {
"context": "section header",
"string": "Create New Shipping Zone"
},
"6hLZNA": {
"context": "delete app",
"string": "Are you sure you want to delete this app?"
},
"6iw4VR": {
"context": "delete variant dialog title",
"string": "Delete Product Variants"
},
"6sjBvJ": {
"context": "input placeholder",
"string": "Search by name, email, etc..."
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"6udlH+": {
"string": "Order draft successfully created"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"6uy2gU": {
"string": "Manually change permission for the app."
},
"6xC/Ls": {
"context": "informations about product seo, header",
"string": "SEO Information"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"6y+k8V": {
"context": "product field",
"string": "Product Images"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"7+GBlj": {
"string": "Error code {errorCode} {fieldError}"
},
🦄 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 12:48:50 +00:00
"720c51": {
"context": "tax classes name input placeholder",
"string": "Tax rate name"
},
"74Cxe8": {
"context": "table header product label",
"string": "Product"
},
"74Zo/H": {
"context": "channel slug",
"string": "Slug"
},
"7Chrsf": {
"string": "Passwords do not match"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"7EDqed": {
"context": "tab name",
"string": "All gift cards"
},
"7FL+WZ": {
"context": "export products to csv file, button",
"string": "Export Products"
},
"7H2D5m": {
"context": "attribute value deleted",
"string": "Value deleted"
},
"7JAAul": {
"context": "product field",
"string": "Export Product Weight"
},
"7Jg9ec": {
"context": "error message",
"string": "You don't have permission to login."
},
"7KRGqz": {
"context": "Payment card title",
"string": "Payment balance"
},
"7NFfmz": {
"string": "Products"
},
"7Oorx5": {
"context": "navigator section header",
"string": "Search in Catalog"
},
🦄 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 12:48:50 +00:00
"7U/NPm": {
"context": "tax class rates list label when no country is selected",
"string": "Add country to access tax classes"
},
"7U8GRy": {
"string": "Shipping method successfully updated"
},
"7UG1Lx": {
"context": "checkbox gift cards label",
"string": "Automatically fulfill non shippable gift cards"
},
"7WzUxn": {
"context": "staff member status",
"string": "Inactive"
},
"7dhhzL": {
"context": "bulk issue gift cards dialog title",
"string": "Bulk Issue Gift Cards"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"7ejEbB": {
"context": "Authorized (amount locked on card, not transfered to store owner) transaction amount, data display header",
"string": "Authorized"
},
"7hNjaI": {
"context": "button",
"string": "Delete Variant"
},
"7l5Bh9": {
"string": "{counter,plural,one{Are you sure you want to delete this product?} other{Are you sure you want to delete {displayQuantity} products?}}"
},
"7nKXni": {
"context": "option description",
"string": "This product will act as a payment method"
},
"7oQUMG": {
"context": "apps about permissions",
"string": "This app has permissions to:"
},
"7qsOwa": {
"context": "action",
"string": "Include postal codes"
},
"7scATx": {
"context": "select title",
"string": "Select channels you want for {contentType} to be available on"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"7t+oJp": {
"context": "orde, granted refunds card, unsettled amount",
"string": "Unsettled {money}"
},
"7u9Ep7": {
"context": "Label when app is disabled",
"string": "Disabled"
},
"7v2oBd": {
"context": "header",
"string": "Error"
},
"7v8suW": {
"context": "info text",
"string": "This rate will apply to all orders"
},
"7yKZvp": {
"context": "section header",
"string": "User Status"
},
"86pLaG": {
"context": "WarehouseSettings public stock label",
"string": "Public Stock"
},
"8B8E+3": {
"context": "navigator placeholder",
"string": "Order Number"
2021-01-26 22:04:54 +00:00
},
🦄 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 12:48:50 +00:00
"8BBMRj": {
"context": "default tax class name for new tax classes",
"string": "New tax class"
},
"8EGagh": {
"context": "search box label",
"string": "Filter Countries"
},
"8F2D1H": {
"context": "order refund amount, input button",
"string": "Refund {currency} {amount}"
},
"8GC/ah": {
"context": "variants section name",
"string": "Variants"
},
"8HRy+U": {
"string": "Category Description"
},
"8Hq18g": {
"context": "create gift card product type alert message",
"string": "Create a gift card product type"
},
"8InCjD": {
"string": "Please provide range of postal codes you want to add to the include/exclude list."
},
"8J81ri": {
"context": "ordered product sku",
"string": "SKU"
},
"8Q504V": {
"string": "Metadata"
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"8RnPGF": {
"context": "order history message",
"string": "Payment was voided"
},
"8aV98y": {
"context": "new version notification content",
"string": "You need to update Saleor to the newest version. Before doing so - save all changes to prevent loss of data. To update use the button below."
},
"8cUEPV": {
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
"context": "page title",
"string": "Create New Attribute"
},
"8hrH/z": {
"context": "dialog header",
"string": "Search Category"
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"8iUzOU": {
"context": "allow unpaid orders checbkox description",
"string": "Enables completing checkout with order before a successful payment."
},
"8oIbMI": {
"string": "Reached limit for this plan"
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"8qL/tV": {
"context": "CannotDefineChannelsAvailabilityCard subtitle",
"string": "You will be able to define availability of product after creating variants."
},
"8u7els": {
"context": "channel config plugin status popup title",
"string": "Assigned to {activeChannelsCount} of {allChannelsCount} channels"
},
"8uLHBY": {
"context": "unassign attribute from object",
"string": "Are you sure you want to unassign {attributeName} from {itemTypeName}?"
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"8uo4v1": {
"context": "title",
"string": "Checkout limits"
},
"8vJCJ4": {
"string": "Define and manage your sales channels"
},
"8vQGO0": {
"context": "tooltip content when line's variant has been deleted",
"string": "This variant no longer exists. You can still fulfill it."
},
"8xsKUv": {
"context": "service accounts section name",
"string": "Service Accounts"
},
"906uUr": {
"context": "button",
"string": "Back to homepage"
},
"945a4a": {
"context": "column header",
"string": "Customer e-mail"
},
"94oZR0": {
"context": "deactivate app billing info",
"string": "You will be still billed for the app."
},
"95oJ5d": {
"context": "button",
"string": "Go back to dashboard"
},
🦄 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 12:48:50 +00:00
"98Nw4g": {
"context": "card subtitle",
"string": "Rendered prices"
},
"98WMlR": {
"context": "header",
"string": "Translation Product Variant \"{productName}\" - {languageCode}"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"9B2mOB": {
"context": "tile view pagination label",
"string": "No. of products"
},
"9C7PZE": {
"context": "navigation section name",
"string": "Navigation"
},
"9CEu8k": {
"context": "modal button images upload",
"string": "Upload Images"
},
"9FGTOt": {
"string": "Allow access to orders of all channels"
},
"9IWg/f": {
"context": "button",
"string": "SETUP END DATE"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"9Mro3c": {
"context": "Transaction event status - pending",
"string": "Pending"
},
"9OtpHt": {
"string": "Order line deleted"
},
"9QtKvB": {
"context": "Product type is shippable",
"string": "Shippable"
},
"9RCuN3": {
"string": "Payment successfully captured"
},
"9RvXNg": {
"context": "section header",
"string": "Media Information"
},
"9ScmSs": {
"string": "Search attributes..."
},
"9Sz0By": {
"context": "channel currency",
"string": "Currency"
},
"9TAzb5": {
"context": "order line discount added title",
"string": "{productName} discount was added by"
},
"9TbDQD": {
"context": "order number label",
"string": "Order number"
},
"9Tl/bT": {
"context": "export items as spreadsheet",
"string": "Spreadsheet for Excel, Numbers etc."
},
"9UHfux": {
"string": "Voucher Specific Information"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"9WhNiN": {
"context": "Pending authorization transaction amount, data display header",
"string": "Pending auth"
},
"9Y5i/8": {
"context": "number of webhook headers in model",
"string": "{number,plural,one{{number} header} other{{number} custom request headers}}"
},
"9YazHG": {
"string": "Company"
},
"9Zlogd": {
"context": "staff member status",
"string": "Active"
},
"9ZtJhn": {
"context": "cancel button",
"string": "Cancel order"
},
"9eC0MZ": {
"context": "collection",
"string": "Hidden"
},
"9g6Y7a": {
"context": "placeholder",
"string": "Nothing installed yet."
},
"9gb9b4": {
"context": "address type",
"string": "Add new address"
},
"9hab/1": {
"context": "bulk issue menu item",
"string": "Bulk Issue"
},
"9kzIFd": {
"context": "WarehouseSettings stock title",
"string": "Stock settings"
},
"9mGA/Q": {
"context": "button linking to dashboard",
"string": "Dashboard"
},
"9mrWKz": {
"context": "no products placeholder",
"string": "No products are available matching query in the channel assigned to this order."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"9pLPLn": {
"context": "refund amounts were unsettled",
"string": "Unsettled"
},
"9piUVz": {
"context": "order history message",
"string": "Order refund information was sent to customer"
},
"9q562c": {
"context": "apps section name",
"string": "Apps"
},
"9scTQ0": {
"context": "section header",
"string": "Product Attributes"
},
"9uNz+T": {
"context": "button",
"string": "Cancel"
},
"9vQR6c": {
"context": "collection label",
"string": "Visible"
},
"9xlPgt": {
"context": "used staff users counter",
"string": "{count}/{max} members"
},
2023-04-12 07:11:11 +00:00
"A+g/VP": {
"string": "Unsaved preset"
},
"A0Wlg7": {
"context": "product discount removed title",
"string": "{productName} discount was removed by"
},
"A9QSur": {
"context": "area units type",
"string": "Area"
},
"AD1PlC": {
"context": "channels availability text",
"string": "In {selectedChannelsCount} out of {allChannelsCount, plural, one {# channel} other {# channels}}"
},
"AHK0K9": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to unassign this product?} other{Are you sure you want to unassign {displayQuantity} products?}}"
2020-08-12 12:09:46 +00:00
},
"AJgl5u": {
"context": "gift card product message",
"string": "gift card product"
},
"AKv2BI": {
"context": "order refund subtitle",
"string": "Refunded items can't be fulfilled"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"AMlXrQ": {
"context": "submit button",
"string": "Create manual transaction"
},
"AOI4LW": {
"context": "navigator placeholder",
"string": "Search in Catalog"
},
"APcoSA": {
"context": "dialog header",
"string": "Delete Daft Order"
},
"AQ+9Ez": {
"string": "Weve encountered an unexpected error"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"AQFMYU": {
"context": "staff section name",
"string": "Staff Members"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AQSmqG": {
"context": "order discount was updated automatically event title",
"string": "Order discount was updated automatically updated"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"ARfw53": {
"context": "description",
"string": "Install apps created by Saleor team or install external apps."
},
"AVF5T5": {
"context": "voucher end date, switch button",
"string": "Set end date"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"AY7Tuz": {
"string": "The same object cannot be in both lists"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"AbyDC7": {
"context": "section header",
"string": "Eligible Categories"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"AcMzwj": {
"string": "Menu items"
},
"AdmPca": {
"context": "error message",
"string": "Max value cannot be less than min value"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"Aeq79M": {
"context": "PluginDetailsChannelsCard no channels subtitle",
"string": "Plugins settings are set common across all channels"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AgY5Mv": {
"context": "attribute properties regarding storefront",
"string": "Storefront Properties"
},
"AijtXU": {
"context": "table header configuration col label",
"string": "Configuration"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AjInNW": {
"context": "dialog description",
"string": "Choose countries you want to add to shipping zone from list below"
},
"AkyGP2": {
"string": "Channel deleted"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AnqH4p": {
"context": "sale status",
"string": "Active"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AqHafs": {
"context": "provided email input placeholder",
"string": "Provided email address"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AqXzM2": {
"string": "Order #{orderNumber}"
},
"ArctEg": {
"context": "requires activation checkbox caption",
"string": "All issued cards require activation by staff before use."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AubJ/S": {
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
"context": "button",
"string": "Sign in"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AulH/n": {
"string": "{counter,plural,one{Are you sure you want to unassign this product?} other{Are you sure you want to unassign {displayQuantity} products?}}"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AuwpCm": {
"string": "Country area"
},
"Av74Fa": {
"context": "section description",
"string": "You can set basic checkout rules that will be applied globally to all your channels"
},
"AyQkmp": {
"string": "Sorting by this column is not available"
},
"AyW1j6": {
"context": "Clear filters button text",
"string": "Clear all fields"
},
"AzMSmb": {
"context": "caption",
"string": "If enabled this attribute can be used as a column in product table."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"AzshS2": {
"context": "notification",
"string": "Published pages"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"B+Ba0R": {
"string": "Requested Permissions"
},
"B/y6LC": {
"context": "section header",
"string": "Unfulfilled Products"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"B06DG8": {
"string": "Transaction wasn't found"
},
"B0PaVS": {
"context": "pint unit",
"string": "pint"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"B2LE7A": {
"context": "menu item loading",
"string": "working..."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"B52Em/": {
"string": "Address line 1"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"B5KI59": {
"context": "Empty filters text",
"string": "Add filter to start"
},
"B5yE8S": {
"context": "dialog header",
"string": "Unassign Categories From Sale"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"B9yrkK": {
"string": "No Channels found"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"BCPrmK": {
"context": "order history message",
"string": "Shipping details was sent to customer"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"BFR6CF": {
"context": "webhooks and events section name",
"string": "Webhooks & Events"
},
🦄 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 12:48:50 +00:00
"BJtUQI": {
"context": "button",
"string": "Add"
},
"BL/Lbk": {
"context": "install app permissions",
"string": "Installing this app will give it following permissions:"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"BLX9dz": {
"context": "fulfill order, button",
"string": "Fulfill"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"BM1JiJ": {
"context": "error message",
"string": "This order cannot be cancelled"
},
"BNTZLv": {
"string": "Order #{orderId} was placed from draft"
},
"BQ2NVl": {
"context": "page type name",
"string": "Content Type Name"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"BUKMzM": {
"string": "Variant removed"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
2023-04-12 07:11:11 +00:00
"BWpuKl": {
"string": "Update"
},
"BXMSl4": {
"context": "currency channel",
"string": "There is no available channel to move order information to. Please create a channel with same currency so that information can be moved to it."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"BXkF8Z": {
"context": "header",
"string": "Activity"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"BYTvv/": {
"context": "Dry run events unavailable",
"string": "The following events from provided query are currently not available for dry run:"
},
"BZ7BkQ": {
"context": "capture payment, button",
"string": "Capture"
},
"BanAhF": {
"context": "sale status",
"string": "Scheduled"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
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 09:10:15 +00:00
"BbP+k3": {
"context": "variant availability in channel",
"string": "Available"
},
"BfJGij": {
"context": "header",
"string": "Address Information"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"BftZHy": {
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
"context": "window title",
"string": "Create Page Type"
},
"BjxQ3u": {
"context": "add shipping address first label",
"string": "add shipping address first"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"BkFke9": {
"context": "section header",
"string": "Unfulfilled Items"
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"Bkxrhw": {
"context": "no webhooks message",
"string": "No webhooks found"
},
"BooQvo": {
"context": "navigator placeholder",
"string": "Type {key} to see available actions"
},
"Bphmwe": {
"context": "header",
"string": "Translation Collection \"{collectionName}\" - {languageCode}"
},
"BtErCZ": {
"string": "Search Plugins..."
},
"BvRyoX": {
"context": "alert message",
"string": "There are no available shipping methods in this channel."
},
"Bx367s": {
"context": "product is hidden",
"string": "Hidden"
},
"By5ZBp": {
"context": "header",
"string": "Hello there, {userName}"
},
"ByYtFB": {
"string": "Invalid or expired token. Please check your token in URL"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"C035fF": {
"context": "grant refund, refund card explanation next to submit button",
"string": "Funds will be returned in a separate step"
},
"C0JLNW": {
"string": "Provided email address does not exist in our database."
},
"C1luwg": {
"context": "dialog header",
"string": "Delete Page"
},
"C4aDMy": {
"context": "description",
"string": "Set up time amount that stock in checkout is reserved for the customer. You can set separate values for authenticated and anonymous customers."
},
"C4hCsD": {
"string": "App is out of your permissions scope"
},
"C50ahv": {
"context": "button",
"string": "Add products"
},
"C6bb6x": {
"context": "order refund amount",
"string": "Refund total amount"
},
"C7I2lg": {
"context": "input label",
"string": "Limit quantity per checkout (optional)"
},
"C7eDb9": {
"string": "Permission groups"
},
"C90nKP": {
"context": "error with deactivatation alert message",
"string": "Errors deactivating gift {count,plural,one{card} other{cards}}"
},
"C9pcQx": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to delete this shipping zone?} other{Are you sure you want to delete {displayQuantity} shipping zones?}}"
},
🦄 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 12:48:50 +00:00
"CFT171": {
"context": "card header title",
"string": "Country list"
},
"CG+awx": {
"context": "dialog content",
"string": "Which address would you like to use as shipping address for selected customer:"
},
"CHoZ8S": {
"context": "app privacy policy link",
"string": "View this apps privacy policy."
},
"CJEIRC": {
"string": "Product export has finished and was sent to your email address."
},
"CJpx4E": {
"context": "page header",
"string": "Order no. {orderNumber} - Add Fulfillment"
},
"CLB1k9": {
"context": "refund type",
"string": "Refund Products"
},
"CLeDae": {
"context": "section header",
"string": "Preferences"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"CRAfpd": {
"context": "gift card export dialog confirm button label",
"string": "Export codes"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"CT5PAn": {
"context": "CannotDefineChannelsAvailabilityCard title",
"string": "Availability"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"CWqmRU": {
"context": "customer's address book when no customer name is available, header",
"string": "Address Book"
},
"CXTIq8": {
"string": "Search engine description"
},
"CXn88q": {
"string": "No permission groups found"
},
"CYEnGq": {
"context": "order fulfilled success message",
"string": "Fulfilled Items"
},
"CYZse9": {
"context": "card description",
"string": "Expand or restrict group's permissions to access certain part of saleor system."
},
"CZmloB": {
"string": "Fulfillment successfully updated"
},
"CcEwXH": {
"context": "dialog header",
"string": "Delete Page Types"
},
"ChAjJu": {
"context": "character limit",
"string": "{numberOfCharacters} of {maxCharacters} characters"
},
"ChGI4V": {
"context": "error message",
"string": "Saleor is unavailable, please check your network connection and try again."
},
"CjSRT1": {
"context": "button",
"string": "Create Category"
},
"ClKKID": {
"context": "channel publication status",
"string": "Not published"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"CmxKIg": {
"context": "window title",
"string": "Grant refund"
},
"Co2U4u": {
"string": "No plugins found"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"CrY98m": {
"context": "button, marks order as paid (legacy payments)",
"string": "Mark order as paid"
},
"CxfKLC": {
"string": "Pages"
},
"D/+84n": {
"context": "snackbar text",
"string": "App activated"
},
"D0KaT6": {
"context": "webhook input label",
"string": "Webhook Name"
},
"D2qihU": {
"string": "Permission is invalid"
},
"D3WUc/": {
"context": "order history message",
"string": "Order was refunded by {refundedBy}"
},
"D3idYv": {
"string": "Settings"
},
"D4CsYK": {
"context": "status filter label",
"string": "Status"
},
"D4W/LE": {
"context": "dialog header",
"string": "Change customer billing address"
},
"D4nzdD": {
"context": "checkbox label",
"string": "Grant this app full access to the store"
},
🦄 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 12:48:50 +00:00
"D5Wtf/": {
"context": "table header column",
"string": "Country name"
},
"D8nsBc": {
"context": "no warehouses info",
"string": "There are no warehouses set up for your store. To add stock quantity to the variant please <a>configure a warehouse</a>"
},
"D95l71": {
"context": "tab name",
"string": "All customers"
},
"D9Rg+F": {
"context": "window title",
"string": "Channel details"
},
"D9ie4n": {
"context": "shipping section name",
"string": "Shipping Methods"
},
"DASYUF": {
"context": "section title",
"string": "Checkout Configuration"
},
"DEa1T1": {
"context": "button",
"string": "Save Search"
},
"DGCzal": {
"string": "This token gives you access to your shop's API, which you'll find here: {url}"
},
"DHBlFi": {
"context": "navigator customer mode description",
"string": "Search Customers"
},
"DILs4b": {
"string": "Unsupported media provider or incorrect URL"
},
"DJFPzq": {
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
"context": "button",
"string": "Confirm"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"DK+8PB": {
"string": "This channel has already been created"
2021-12-16 11:36:03 +00:00
},
"DM/Ha1": {
"context": "add postal code range, button",
"string": "Add"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"DNTxWr": {
"context": "permission groups section name",
"string": "Permission Groups"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"DO8+uV": {
"string": "Product created"
},
"DOVEZF": {
"context": "button",
"string": "Create content"
},
"DOkfyZ": {
"string": "Insufficient permissions"
},
"DP5VOH": {
"string": "Shipping Address"
},
"DP6b8U": {
"context": "section header",
"string": "Background Image (optional)"
},
"DPz5y6": {
"context": "dialog header",
"string": "Assign Staff Members"
},
"DQJnB4": {
"context": "gift card export dialog title",
"string": "Export Gift Card Codes"
},
"DRMMDs": {
"string": "Attribute Name"
},
"DTL7sE": {
"context": "dialog content",
"string": "Are you sure you want to delete {warehouseName}?"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"DVgMit": {
"context": "transaction event type, transaction was chargeback by payment provider",
"string": "Chargeback"
},
"DWs4ba": {
"string": "No menus found"
},
"Dgp38J": {
"context": "checkbox label",
"string": "Restrict order value"
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"DhFqJF": {
"string": "Edit discount"
},
"Dhherd": {
"context": "dialog header, title",
"string": "Invoice Generation"
},
"DnghuS": {
"context": "channel create",
"string": "New Channel"
},
"DovGIa": {
"string": "Permission Group Deleted"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"DyGpz4": {
"context": "unapproved fulfillment, section header",
"string": "Waiting for approval"
},
"DzPVnj": {
"context": "date time attribute type",
"string": "Date Time"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"E1C9pp": {
"context": "transaction event type, authorization amount was changed",
"string": "Authorization amount adjusted"
},
"E22x4H": {
"context": "no card defuned alert message",
"string": "You havent defined a gift card product!"
},
"E54eoT": {
"string": "Creating the navigation structure is done by dragging and dropping. Simply create a new menu item and then drag it into its destined place. You can move items inside one another to create a tree structure and drag items up and down to create a hierarchy"
},
"E8T3e+": {
"string": "Cannot add and remove group the same time"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"E9Dz18": {
"context": "Order summary refunds header",
"string": "Refunds"
},
"E9Jssl": {
"string": "No orders ready to fulfill"
},
"EA7rjI": {
"context": "disabled status label",
"string": "Disabled"
},
"EEW+ND": {
"string": "Navigator"
},
"EHsnZX": {
"context": "dialog description",
"string": "Are you sure you want to approve this fullfillment?"
},
"EIULpW": {
"string": "Manage how your store charges tax"
},
"EKoPNg": {
"context": "shipping method price",
"string": "Price"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"EM+30g": {
"context": "navigator notification",
"string": "Our new feature to help you with your daily tasks. Run Navigator using {keyboardShortcut} shortcut."
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"EM730i": {
"string": "Manage Channel Availability"
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"EP+jcU": {
"context": "checkbox",
"string": "Refund shipment costs"
},
"ER/yBq": {
"context": "max price in channel",
"string": "Max. value"
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"ESDTC/": {
"string": "Manage Sales Channel Availability"
},
"ETHnjq": {
"context": "header",
"string": "Private Metadata"
},
"EWCUdP": {
"string": "Channels A to Z"
},
"EWD/wU": {
"context": "delete app",
"string": "Deleting {name}, you will remove installation of the app. If you are paying for app subscription, remember to unsubscribe from the app in Saleor Marketplace. Are you sure you want to delete the app?"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"EY/jqC": {
"string": "Last delivery attempt:"
},
🦄 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 12:48:50 +00:00
"EYkW1J": {
"context": "checkbox label",
"string": "Charge taxes for this channel"
},
"Eau5AV": {
"string": "Manage Products Channel Availability"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"EbVf0Z": {
"context": "transaction reference",
"string": "Transaction reference"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"Ediw6/": {
"context": "button label",
"string": "Assign references"
},
"EewziG": {
"context": "checkbox gift cards label description",
"string": "When activated non-shippable gift cards will be automatically set as fulfilled and sent to customer"
},
"Egyh2T": {
"context": "section header",
"string": "Plugin Settings"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"Eh6KYS": {
"context": "info card title",
"string": "Card information"
},
"Epm41J": {
"context": "change warehouse dialog warehouse list label",
"string": "Warehouses A to Z"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"ErNH3D": {
"string": "Define where this attribute should be used in Saleor system"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"ErvPaM": {
"context": "header",
"string": "Warehouse Name"
},
"EsZH44": {
"context": "VariantDetailsChannelsAvailabilityCard item subtitle hidden",
"string": "Hidden"
2020-09-03 14:07:03 +00:00
},
"EtGDeK": {
"context": "header",
"string": "{pluginName} Details"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"EuOXmr": {
"context": "add items title",
"string": "Add {itemsName}"
},
"Ev6SEF": {
"string": "New Password"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"F0AXNs": {
"context": "invoice create date prefix",
"string": "created"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"F0N1SC": {
"context": "dialog header",
"string": "Select a page type"
},
"F1VtFa": {
"context": "information",
"string": "Installation is pending..."
},
"F2cR19": {
"context": "error message",
"string": "Error details: {message}"
},
"F3Upht": {
"string": "Product type deleted"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"F4WdSO": {
"context": "dialog header",
"string": "Delete Products"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"F56hOz": {
"context": "sale name",
"string": "Name"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"F69lwk": {
"context": "settings menu item",
"string": "Settings"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"F6LHyk": {
"context": "Webhook details objects",
"string": "Objects"
},
"F7DxHw": {
"string": "Subcategories"
},
"FA+MRz": {
"string": "Set plugin as active"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"FBtqtl": {
"context": "payment status",
"string": "Unpaid"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"FEWgh/": {
"context": "column title tag",
"string": "Tag"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"FIZvTx": {
"context": "dialog content",
"string": "Select method you want to use to change address"
},
"FNAZoh": {
"string": "Last login"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"FNT4b+": {
"context": "tabel column header",
"string": "Product"
},
"FNpv6K": {
"context": "button",
"string": "Filters"
},
"FOa+Xd": {
"context": "voucher value requirement",
"string": "Min. Order Value"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"FOehC/": {
"context": "label",
"string": "Manual Amount"
},
"FPzzh7": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to delete this sale?} other{Are you sure you want to delete {displayQuantity} sales?}}"
},
"FQc5z6": {
"context": "customer gift cards card view all button",
"string": "View All"
},
"FRJRmi": {
"context": "selected customer gift card is sent to subtitle",
"string": "Selected customer will be sent the generated gift card code. Someone else can redeem the gift card code. Gift card will be assigned to account which redeemed the code."
2020-04-29 01:47:07 +00:00
},
"FSOOH7": {
"context": "option title",
"string": "Prioritize warehouses by sorting order"
},
"FTYkgw": {
"string": "Delete collections"
},
"FWbv/u": {
"context": "page header",
"string": "Create Discount"
},
"FYfoiF": {
"context": "section name",
"string": "Allocation strategy"
},
"Fbr4Vp": {
"context": "dialog header",
"string": "Permissions"
2020-04-29 01:47:07 +00:00
},
"Fc3O3r": {
"context": "staff member's account",
"string": "Deactivated"
2020-04-29 01:47:07 +00:00
},
"FcTTvh": {
"context": "postal codes, header",
"string": "Postal codes"
2020-04-29 01:47:07 +00:00
},
"FemBUF": {
"context": "header",
"string": "Translations to {language}"
2020-04-29 01:47:07 +00:00
},
"Ff+Gsm": {
"context": "WarehouseSettings public stock description",
"string": "If enabled stock in this warehouse will be shown"
},
"FiO/W/": {
"string": "Delete categories"
},
"FjrExY": {
"context": "price based shipping methods, section header",
"string": "Price Based Rates"
},
"FkDObY": {
"context": "label",
"string": "Shipping rate name"
},
"FkRNk+": {
"context": "field placeholder",
"string": "Description of a shipping zone."
},
"Fl3ORD": {
"context": "order history message",
"string": "Oversold {quantity} items"
2021-09-17 08:09:45 +00:00
},
"Fn3bE0": {
"string": "Order line updated"
2021-09-17 08:09:45 +00:00
},
"FopBSj": {
"context": "error message",
"string": "Your username and/or password are incorrect. Please try again."
},
"FpIcp9": {
"string": "No customers found"
2021-09-17 08:09:45 +00:00
},
"Fqe4aB": {
"string": "- used by Payment Apps"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Ftz7VI": {
"context": "input label, transaction amount",
"string": "Transaction amount"
},
"FuAV5G": {
"string": "This name is already taken. Please provide another."
2021-09-17 08:09:45 +00:00
},
"Fvvgoi": {
"string": "Your session has expired. Please log in again to continue."
},
"FwHWUm": {
"context": "alert",
"string": "SKU limit reached"
},
"Fxa6xp": {
"context": "page header",
"string": "Add Collection"
},
"Fz3kic": {
"context": "error message",
"string": "Billing address is not set or invoice is not ready to be send"
},
"FzEew9": {
"context": "assign products to shipping rate and save, button",
"string": "Assign and save"
},
"G+9nOZ": {
"context": "checkbox description",
"string": "If selected, this will add all of the countries not selected to other shipping zones"
},
"G/SYtU": {
"string": "Are you sure you want to delete menu {menuName}?"
},
"G/pgG3": {
"context": "dialog header",
"string": "Select a channel"
},
"G0+gAp": {
"context": "shipping section header",
"string": "Shipping"
},
"G1KzEx": {
"context": "page status",
"string": "Published"
},
"G3ay2p": {
"context": "section header",
"string": "Fulfillment settings"
},
"G4g5Ii": {
"context": "tab name",
"string": "All Collections"
},
"G5NKx6": {
"context": "tooltip",
"string": "Checkout reservation time threshold is enabled in settings."
},
"GAmGog": {
"context": "value input label",
"string": "Discount value"
},
"GCPzKf": {
"context": "ProductTypeDeleteWarningDialog single assigned items button label",
"string": "View products"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"GD/bom": {
"context": "label",
"string": "Min Delivery Time"
},
"GFJabu": {
"context": "dialog header",
"string": "Delete Variant"
},
"GJAX0z": {
"context": "order history message",
"string": "Order was placed"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"GJwcSd": {
"string": "PSP Reference (optional)"
},
"GKQGKG": {
"context": "app data privacy",
"string": "Data privacy"
},
"GLX9II": {
"context": "billing address",
"string": "Same as shipping address"
},
"GLy2UR": {
"context": "order history message",
"string": "Fulfillment was cancelled"
},
"GNKG74": {
"context": "webhooks inactive label",
"string": "Inactive"
},
"GVM/fi": {
"context": "order history message",
"string": "Payment was authorized"
Exit dirty form (#1816) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Fixes after review * Add default value for useform prop opts so the app doesn't crash * Add missing category prop to getting initial data for category details form * Add exit dialog to everywhere WIP (#1600) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Add CommonUseFormResultWithHandlers type for later use and refactor handleFormSubmit util * Refactor login form not to use custom form since it doesn't need to * Add exit form dialog to order refund page * Add exit form dialog to order return page * Add exit form dialog to order order settings page * Add exit form dialog to product variant page * Add exit form dialog to product create page * Add exit form dialog to product update page * Add exit form dialog to product variant create page * Fix confirm leave prop passing in generic Form * Add util function to handle for submit to extract errors * Add confirmLeave prop to generic forms * Move handleChange for custom forms to useForm * Add exit dialog to more forms * Add extract mutation errors util function * Add extracting errors to submit functions that use metadata create handler * Fix typo * Add missing category prop to getting initial data for category details form * Fix types * wip * wip * wip * wip * Fix types & refactor * Fix types & refactor * Fix typescript * Fix unmatching tag * Fixes * Add handling of multiple forms at once to exit dirty form provider * Change all usages of ExitFormDialogContext to designated hook * wip * wip * wip * Fix types wip * Fix types * Remove console logs * Add isSubmitting prop to exit form dialog in order to avoid enabling exit dialog while submit is still in progresS * Replace handleSubmit global util with a hook to use exit form dialog props inside * Move useHandleSubmit to general hooks dir, update imports * Small fixes * Update snapshots * Fix types * Small fixes due to extensive rebase * Update package lock * Fixes after rebase * Remove exit form from customer address dialog * Fix types and update messages * Fix types * Change imports names * Refactor * Remove unnecessary console.log * Update types, snapshots. etc after rebase
2022-02-01 09:58:06 +00:00
},
"GVinbz": {
"context": "column title",
"string": "Value"
Exit dirty form (#1816) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Fixes after review * Add default value for useform prop opts so the app doesn't crash * Add missing category prop to getting initial data for category details form * Add exit dialog to everywhere WIP (#1600) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Add CommonUseFormResultWithHandlers type for later use and refactor handleFormSubmit util * Refactor login form not to use custom form since it doesn't need to * Add exit form dialog to order refund page * Add exit form dialog to order return page * Add exit form dialog to order order settings page * Add exit form dialog to product variant page * Add exit form dialog to product create page * Add exit form dialog to product update page * Add exit form dialog to product variant create page * Fix confirm leave prop passing in generic Form * Add util function to handle for submit to extract errors * Add confirmLeave prop to generic forms * Move handleChange for custom forms to useForm * Add exit dialog to more forms * Add extract mutation errors util function * Add extracting errors to submit functions that use metadata create handler * Fix typo * Add missing category prop to getting initial data for category details form * Fix types * wip * wip * wip * wip * Fix types & refactor * Fix types & refactor * Fix typescript * Fix unmatching tag * Fixes * Add handling of multiple forms at once to exit dirty form provider * Change all usages of ExitFormDialogContext to designated hook * wip * wip * wip * Fix types wip * Fix types * Remove console logs * Add isSubmitting prop to exit form dialog in order to avoid enabling exit dialog while submit is still in progresS * Replace handleSubmit global util with a hook to use exit form dialog props inside * Move useHandleSubmit to general hooks dir, update imports * Small fixes * Update snapshots * Fix types * Small fixes due to extensive rebase * Update package lock * Fixes after rebase * Remove exit form from customer address dialog * Fix types and update messages * Fix types * Change imports names * Refactor * Remove unnecessary console.log * Update types, snapshots. etc after rebase
2022-02-01 09:58:06 +00:00
},
"GXdwyR": {
"context": "input label",
"string": "Previous Password"
},
"GZgjK7": {
"context": "page",
"string": "will be visible from {date}"
Exit dirty form (#1816) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Fixes after review * Add default value for useform prop opts so the app doesn't crash * Add missing category prop to getting initial data for category details form * Add exit dialog to everywhere WIP (#1600) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Add CommonUseFormResultWithHandlers type for later use and refactor handleFormSubmit util * Refactor login form not to use custom form since it doesn't need to * Add exit form dialog to order refund page * Add exit form dialog to order return page * Add exit form dialog to order order settings page * Add exit form dialog to product variant page * Add exit form dialog to product create page * Add exit form dialog to product update page * Add exit form dialog to product variant create page * Fix confirm leave prop passing in generic Form * Add util function to handle for submit to extract errors * Add confirmLeave prop to generic forms * Move handleChange for custom forms to useForm * Add exit dialog to more forms * Add extract mutation errors util function * Add extracting errors to submit functions that use metadata create handler * Fix typo * Add missing category prop to getting initial data for category details form * Fix types * wip * wip * wip * wip * Fix types & refactor * Fix types & refactor * Fix typescript * Fix unmatching tag * Fixes * Add handling of multiple forms at once to exit dirty form provider * Change all usages of ExitFormDialogContext to designated hook * wip * wip * wip * Fix types wip * Fix types * Remove console logs * Add isSubmitting prop to exit form dialog in order to avoid enabling exit dialog while submit is still in progresS * Replace handleSubmit global util with a hook to use exit form dialog props inside * Move useHandleSubmit to general hooks dir, update imports * Small fixes * Update snapshots * Fix types * Small fixes due to extensive rebase * Update package lock * Fixes after rebase * Remove exit form from customer address dialog * Fix types and update messages * Fix types * Change imports names * Refactor * Remove unnecessary console.log * Update types, snapshots. etc after rebase
2022-02-01 09:58:06 +00:00
},
"GbBCmr": {
"context": "window title",
"string": "Order #{orderNumber}"
},
"GbhZJ4": {
"context": "button",
"string": "Create voucher"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"GcbFa9": {
"context": "aria-label, negative money amount",
"string": "minus"
},
"Gfbp36": {
"context": "dialog header",
"string": "Unassign Products From Shipping"
},
"Gg4+K7": {
"string": "No Products"
},
"GhXwO/": {
"context": "dialog header",
"string": "delete Staff User"
},
🏛️ Implement new column picker (#3514) * (wip) basic column picker implementation * (wip) fix stories error * (wip) fix custom column cells & sorting * (wip) Group attributes query values in props * (wip) Add docs * (wip) fix story error * Implement new column picker in order list * Fix search input padding * Fix empty settings crash * Fix empty settings crash * Portalize popover * Preselect category when there is only one * Remove legacy code * Move product column adapters to proper directory * Improve file structure * Rename custom columns to dynamic columns * Improve strings * (wip) Implement pagination logic * Beautify pagination * Update macaw-ui * Add unit test for useColumns * Improve naming * Code review style fixes * Update docs * Remove empty column * Remove unexpected padding from attribute columns * Add min height to prevent jumping * Fix typo in column picker files * CSS fixes to popover content * Implement auto-scroll to new column * Improve docs * Improve type in useColumns reducer * Extract dynamic columns from NewColumnPicker as a smaller component * Disable movement of empty column * Fix circular loader * Do not persist expanded state when closing picker * Fix dynamic columns with long names line break * Prevent user from disabling all static columns * Simplify dynamic column reducer into flatMap * Optimistic UIbasic implementation * Make available attributes query lazy * Fix displaying arrow next to sorted column * Add explainatory comment * Fix product list stories * Fix dynamic columns and query handling for empty lists * Remove jump on first attribute selection * Remove jump on first attribute selection * Fix search * Add debounce to search * CR - base state change on previous in popover * Extract search into separate component * Rename useDynamicColumnSettings to useColumnPickerSettings * Use difference from lodash * Improve static column rendering * Improve order list * Fix stories error * Improve search for edge cases * Extract messages * Calculate more complex dynamic column adapter parameters in separate functions * Fix url pointing to CardMenu substitute * Extract nodes to separate component * Move files, remove New prefix * Extract to static columns * Refactor utility functions * Render column picker categories only when provided in props * Replace switch with if statements * Refactor to hooks * Remove comments with legacy stacing * Add spaces for better readibility * Tighten types * Add space * Add extra comments to useColumns optimistic update logic * Fix paddings * Add arbitrary min/max height for handling various resolutions * Add full-width hover & click effect on candidate columns labels * Handle long attribute names * Make column picker popover a modal * Bump macaw-ui * Fix macaw-ui type mismatch * Update types * Add data-test-id * Fix closing picker with trigger button * Replace list settings deep merging with shallow merging * Fix list settings deep merging behaviour for arrays * Replace conditional data-test-id- with close-search * Rename targetArray to columnsToCheck * Rename filterColumns to filterSelectedColumns * Rename gridAttributes query objects to more descriptive * Add explainatory comment to customizer function in useListSettings * Update strictness * Fix rendering dynamic columns
2023-06-26 09:36:01 +00:00
"GhY+pm": {
"context": "dynamic column description",
"string": "Attributes"
},
"GhcypC": {
"context": "header",
"string": "Create Warehouse"
},
"GiDxS4": {
"context": "add metadata field,button",
"string": "Add Field"
},
"GiJm1v": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to unassign this category?} other{Are you sure you want to unassign {displayQuantity} categories?}}"
},
"GibKGn": {
"context": "success gift card disable message",
"string": "Successfully disabled gift card"
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"GjH9uy": {
"context": "header",
"string": "Create New App"
},
"Gkip05": {
"context": "button",
"string": "Unassign"
},
"GpqEl5": {
"context": "shipping method description",
"string": "Description"
},
"GsBRWL": {
"string": "Languages"
},
"Gxm7Qx": {
"context": "navigator notification title",
"string": "Navigator is here to help"
},
"Gz+4CI": {
"context": "info text",
"string": "Preordered products will be available in all warehouses. You can set a threshold for sold quantity. Leaving input blank will be interpreted as no limit to sale. Sold items will be allocated at the warehouse assigned to chosen shipping zone."
},
"GzbSQk": {
"context": "Status label when object is scheduled to publish in a channel",
"string": "Scheduled to publish"
},
"Gzg8hy": {
"context": "section header",
"string": "Invoices"
},
"H/f9KR": {
"context": "section header returned",
"string": "Fulfillment returned"
},
"H/o4Ex": {
"context": "dialog content",
"string": "You are not able to modify this group members. Solve this problem to continue with request."
},
"H27/Gy": {
"context": "error message",
"string": "Maximum weight cannot be lower than minimum"
},
"H3Uirw": {
"context": "create new menu item, header",
"string": "Add Item"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"H52OCA": {
"context": "Order summary payment header",
"string": "Payment"
},
"H5NKfr": {
"context": "button",
"string": "Create"
},
"H5yp8O": {
"context": "label",
"string": "Product Type Name"
},
"H60H6L": {
"context": "attribute values list: name column header",
"string": "Default Store View"
},
"H6NsC1": {
"context": "pages section name",
"string": "Pages"
},
"HAlOn1": {
"string": "Name"
},
"HLqWXA": {
"context": "voucher value requirement",
"string": "Usage Limit"
},
2022-07-19 14:16:43 +00:00
"HLr8KQ": {
"context": "plain text attribute type",
"string": "Plain Text"
},
"HMD+ib": {
"string": "Last order"
},
"HN1Gvw": {
"context": "option description",
"string": "Allocate order-line to a warehouse with the most stock. If not enough stock is available in a single warehouse, the remaining quantity is allocated in the next warehouse with the most stock and repeated if necessary."
},
"HP6m+q": {
"string": "Attributes and Product Types"
},
"HQR2y0": {
"context": "attribute value is required",
"string": "Value Required"
},
"HR9OTW": {
"context": "staff member's account",
"string": "Active"
},
"HSmg1/": {
"context": "gift cards section name",
"string": "Gift Cards"
},
"HVFq//": {
"context": "button",
"string": "Copy token"
},
"HVlMK2": {
"context": "number of variants",
"string": "Variants ({quantity})"
},
"HYC6cH": {
"context": "input description",
"string": "Threshold that cannot be exceeded even if per channel thresholds are still available"
},
"HYHLsB": {
"context": "product field",
"string": "Export Variant ID"
},
"HaQ8cg": {
"context": "button",
"string": "Refund"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Hc58JL": {
"context": "card title",
"string": "Balance after requests"
},
"HcQEUk": {
"context": "table column header, sold units preorder quantity",
"string": "Sold units"
},
"HedXnw": {
"context": "plugin channel availability status title",
"string": "{activeChannelsCount,plural, =0 {Deactivated} other {Active in {activeChannelsCount}}}"
},
"Hgz44z": {
"context": "dialog header",
"string": "Delete Voucher"
},
"HivFnX": {
"context": "ProductTypeDeleteWarningDialog single no assigned items description",
"string": "Are you sure you want to delete <b>{typeName}</b>? If you remove it you wont be able to assign it to created products."
},
"Hj3T7P": {
"context": "column title",
"string": "Channel name"
},
"HjUoHK": {
"context": "attribute's label'",
"string": "Default Label"
},
"HjXnIf": {
"string": "Content Management"
},
"HlCkMT": {
"string": "Order line added"
},
"HlEpii": {
"string": "Search Engine Title"
},
"HnVtSS": {
"context": "search",
"string": "No results"
},
2023-02-28 15:19:56 +00:00
"HqRNN8": {
"string": "Support"
},
"HqeqEV": {
"context": "create gift card product alert message",
"string": "Create a gift card product"
},
"Hswqx2": {
"string": "Delete discounts"
},
"HvJPcU": {
"string": "Category deleted"
},
"I+1KzL": {
"context": "tab name",
"string": "All attributes"
},
"I+UwqI": {
"context": "is filter range or value",
"string": "equal to"
},
"I1Mz7h": {
"string": "Manage Collection Channel Availability"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"I2wCwj": {
"context": "swatch attribute image label",
"string": "Image"
},
"I7HyJZ": {
"context": "order refund amount",
"string": "Max Refund"
},
"I8mqqj": {
"context": "PageTypeDeleteWarningDialog single assigned items button label",
"string": "View pages"
},
"IBw72y": {
"context": "switch button",
"string": "Is this product shippable?"
},
"ICeshC": {
"context": "product type",
"string": "Shippable"
},
"IEpmGQ": {
"context": "description",
"string": "Use Saleor Cloud to access Saleor Apps"
},
"IFWHn0": {
"context": "error message",
"string": "Billing address is not set"
},
"IGvQ8k": {
"context": "button",
"string": "Create attribute"
},
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 09:10:15 +00:00
"IH47ID": {
"string": "Use button above to add new product variants"
},
"IHtOda": {
"context": "input label",
"string": "Selected columns"
},
"IKvOK+": {
"context": "Amount error message",
"string": "Amount must be bigger than 0"
2020-09-21 14:36:08 +00:00
},
"ILgbKN": {
"context": "key-value field button add more key-value pairs",
"string": "Add more"
},
"IN5iJz": {
"context": "value input helper text",
"string": "Invalid value"
2020-09-25 13:56:27 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"INKsSL": {
"context": "Transaction event status - success",
"string": "Success"
},
"INNPVX": {
"context": "payment status",
"string": "Partially paid"
},
"IOshTA": {
"context": "header",
"string": "Translation MenuItem \"{menuItemName}\" - {languageCode}"
},
"IUeGzv": {
"context": "plugin name",
"string": "Plugin Name"
},
"IVOjqW": {
"context": "gift card bulk create success dialog export button",
"string": "Export To Email"
},
"Iafyt5": {
"context": "page attribute entity type",
"string": "Pages"
},
"IbVKSH": {
"context": "button",
"string": "Manage"
},
"Ic7Wln": {
"context": "card subtitle",
"string": "Select shipping zones that will be supplied via this channel. You can assign shipping zones to multiple channels."
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"Id7C0X": {
"context": "section header",
"string": "You are about to install {name}"
},
"Id9vlh": {
"context": "page seo options description",
"string": "Add search engine title and description to make this page easier to find"
},
"IeoGgH": {
"context": "variant created success message",
"string": "Variant created"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"IfiR4M": {
"context": "heading, sum of all pending refunds from transactions in order",
"string": "Pending"
},
"IhK1F3": {
"string": "No shipping zones found"
},
"Ihp4D3": {
"context": "header",
"string": "Edit Media"
},
"Ila7WO": {
"context": "change warehouse dialog description",
"string": "Choose warehouse from which you want to fulfill {productName}"
},
"IoCMjg": {
"context": "no collections",
"string": "No collections found"
},
"IoDlcd": {
"string": "Slug"
},
"IqRBql": {
"context": "variant name",
"string": "New variant"
},
"Irflxf": {
"context": "window title",
"string": "Create category"
},
"IwEQvz": {
"context": "success activate alert message",
"string": "Successfully activated gift {count,plural,one{card} other{cards}}"
},
"IyHQr0": {
"context": "navigator action",
"string": "Go to order #{orderNumber}"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"IyV8CY": {
"context": "all authorized amount from transactions in order",
"string": "Authorized"
},
2023-07-04 07:27:17 +00:00
"IzECoP": {
"string": "Search draft orders..."
},
"IzEVek": {
"context": "bulk disable label",
"string": "Deactivate"
},
"J/QqOI": {
"string": "This value already exists within this attribute"
},
"J0lNnk": {
"context": "column label",
"string": "Warehouse"
},
"J3uE0t": {
"context": "section header",
"string": "Attribute Values"
},
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 09:10:15 +00:00
"J4E+jp": {
"string": "Variant name"
},
"J4NBVR": {
"context": "link",
"string": "View Orders"
},
"J7mFhU": {
"context": "currency code select",
"string": "{code} - {countries}"
},
"JDz5h8": {
"context": "number of subcategories in category",
"string": "Subcategories"
},
"JE0TAx": {
"context": "section name",
"string": "Values"
},
"JEIN47": {
"context": "label",
"string": "Automatic Amount"
},
"JFmOfi": {
"context": "button",
"string": "Create Product"
},
"JFtFgc": {
"context": "tabel column header",
"string": "Selling Price"
},
"JGm7E5": {
"context": "option",
"string": "Export stock for all warehouses"
},
"JI2Xwp": {
"context": "dialog title",
"string": "Delete attribute"
},
"JJgJwi": {
"string": "Selecting this will change the language of your dashboard"
},
"JKbpH9": {
"context": "expiry date checkbox label",
"string": "Gift card expires"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"JMBsrr": {
"context": "table header available stock label",
"string": "Available"
},
"JMbFNo": {
"string": "Successfully created new page"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"JPH/uP": {
"string": "Define types of content pages used in your store"
},
"JQH+Iy": {
"context": "resent code success message",
"string": "Successfully resent code to customer!"
},
"JRfJD9": {
"string": "The plugin may stop working after this field is cleared. Are you sure you want to proceed?"
},
"JTcz2G": {
"context": "csv file exporting has finished, header",
"string": "Exporting CSV finished"
},
"JUQwne": {
"context": "order",
"string": "Gift Card"
2020-07-07 08:27:29 +00:00
},
"JV+EiM": {
"context": "voucher value",
"string": "Value"
},
"JVaz1C": {
"context": "window title",
"string": "Create Webhook"
},
"JXRYQg": {
"context": "button",
"string": "Create Menu"
},
"JYvf8/": {
"context": "is preorder",
"string": "Preorder"
},
"Ja7gHc": {
"context": "button",
"string": "Edit"
},
"Jb1/3V": {
"context": "add shipping carrier button",
"string": "Add shipping carrier"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"JbUg2b": {
"context": "activate app",
"string": "Are you sure you want to activate {name}? Activating will start gathering events."
},
"JfKvrV": {
"context": "select variant media",
"string": "Select a specific variant media from product media"
},
"JftRtx": {
"context": "issue gift card dialog title",
"string": "Issue gift card"
},
"JgNb8X": {
"context": "notifier message",
"string": "There was an error adding a note"
},
"JgXBAw": {
"context": "dropdown label when there are no channels assigned",
"string": "No channels"
},
"JiRKgJ": {
"context": "dialog search placeholder",
"string": "Search by collection name, etc..."
},
"Jj0de8": {
"context": "voucher status",
"string": "Scheduled"
},
"JjeZEG": {
"context": "section header",
"string": "Organize Product"
},
"JkO0jp": {
"context": "input description",
"string": "{unitsLeft} units left"
},
"JmdBa3": {
"context": "product availability publish date",
"string": "Publish on"
},
"JnzDrI": {
"context": "discount type",
"string": "Fixed Amount"
},
"Jo01VZ": {
"context": "bought by label",
"string": "Bought by"
},
"JqiqNj": {
"string": "Something went wrong"
},
"JsPIOX": {
"context": "voucher code",
"string": "Code"
},
"Jsh6+U": {
"context": "product type is digital or physical",
"string": "Type"
},
"Jwuu4X": {
"context": "select product informations to be exported",
"string": "Information exported:"
},
"JyQoES": {
"context": "delete attribute value",
"string": "Are you sure you want to delete \"{name}\" value?"
},
"K+vjtE": {
"string": "Search Variants"
},
"K//bUK": {
"context": "refund button",
"string": "Refund"
},
"K/gnGg": {
"string": "If you want to disable this User please uncheck the box below."
},
"K/ic0P": {
"context": "checkbox label",
"string": "Rest of the World"
},
"K8xNLe": {
"context": "products section name",
"string": "Products"
},
"KCjd1o": {
"context": "dialog title",
"string": "Delete products"
},
"KDvRBi": {
"context": "button",
"string": "Install"
},
"KFv8hX": {
"string": "An attribute already exists."
},
"KGsaGO": {
"context": "tooltip",
"string": "This feature is in a preview state and can be subject to changes at later point"
},
"KHZlmi": {
"string": "Discount Type"
},
"KKQUMK": {
"context": "edit menu item, header",
"string": "Edit Item"
},
"KMxiiF": {
"context": "button",
"string": "Retry"
},
"KN7zKn": {
"string": "Error"
},
"KQSONM": {
"context": "tabel column header",
"string": "Cost"
},
"KRqgfo": {
"string": "User is out of your permissions scope"
},
"KXkdMH": {
"context": "order discount removed title",
"string": "Order discount was removed by"
},
"KcsJKm": {
"context": "error with activatation alert message",
"string": "Error activating gift {count,plural,one{card} other{cards}}"
},
"KeO51o": {
"string": "Channel"
},
"Kg0Fiu": {
"context": "quantity of fulfilled products",
"string": "Quantity to fulfill"
},
"Kgxlsf": {
"context": "order",
"string": "Paid with Gift Card"
},
"KmPicj": {
"string": "Note successfully added"
},
"KqbfFa": {
"context": "expiry date selection info message",
"string": "You can set gift cards to expire after a certain time after their purchase. Remember that in some countries, gift cards expiry is prohibited by law."
},
"Krzyo+": {
"context": "shipment refund title",
"string": "Shipment was refunded"
},
"KszPFx": {
"context": "dialog header",
"string": "Void Payment"
},
"KupNHw": {
"context": "product field",
"string": "Category"
},
"Kw0jHS": {
"context": "created products counter",
"string": "{count}/{max} SKUs used"
},
"Kxiige": {
"string": "Generated Token"
},
"Kyyr7D": {
"context": "dialog header",
"string": "Unassign Variant From Sale"
},
"L/O4LQ": {
"context": "order refund amount",
"string": "Authorized Amount"
},
"L/sNGY": {
"string": "Local apps are custom webhooks & token pairs that can be used to connect apps and access Saleor API."
},
"L2tvTm": {
"context": "mark as paid strategy checkbox label",
"string": "Use Transaction flow when marking order as paid"
},
"L5io1l": {
"context": "returned products list title",
"string": "Products returned"
},
"L6+p8a": {
"context": "dialog title",
"string": "Delete permission group"
},
"L7N+0y": {
"context": "product rating",
"string": "Product Rating"
},
"L87bp7": {
"string": "Order payment successfully voided"
},
"LA13a5": {
"context": "channel select label",
"string": "Channel"
},
"LEZZkK": {
"context": "WarehouseSettings all warehouses description",
"string": "If selected customer will be able to choose this warehouse as pickup point. Ordered products can be shipped here from a different warehouse"
},
"LHPVg/": {
"context": "assign countries to shipping zone and save, button",
"string": "Assign and save"
},
"LICZeR": {
"context": "weight",
"string": "from {value} {unit}"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"LJPHdt": {
"context": "cancelled fulfillment, section header",
"string": "Refunded and Returned"
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"LKD6fB": {
"string": "Remove product"
},
"LKoIB1": {
"string": "Add search engine title and description to make this product easier to find"
2020-05-25 23:38:52 +00:00
},
"LKpQYh": {
"context": "refund type",
"string": "Miscellaneous Refund"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"LLrOK3": {
"context": "paragraph, description in manual refund card",
"string": "Create a manual refund for non-integrated payments"
},
"LOSNq0": {
"context": "dialog header",
"string": "Unassign Categories From Voucher"
},
"LR3HlT": {
"string": "This password is too short"
},
"LVa5ew": {
"string": "Saleor ran into an unexpected problem"
},
"LWmYSU": {
"string": "Completed Translations"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"LY5dS9": {
"context": "Charged transaction amount, data display header",
"string": "Charged"
},
"LdNCP/": {
"context": "Filter or element text",
"string": "Or"
},
"LeJClL": {
"context": "Popover title",
"string": "Conditions"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Ljtqmt": {
"context": "page header, order id unknown",
"string": "Order"
},
"LkuDEb": {
"context": "metadata field value, header",
"string": "Value"
},
"Lm2Zw7": {
"context": "name placeholder",
"string": "Unnamed webhook"
},
"LmKz3g": {
"string": "Storefront"
},
"LnRlch": {
"context": "attribute's editor component entity",
"string": "Entity"
},
"LsgHmZ": {
"context": "delete shipping zone",
"string": "Are you sure you want to delete {name}?"
},
"LshEVn": {
"context": "button",
"string": "Create order"
},
"LwX0Ug": {
"context": "Button with Manage app label",
"string": "Manage app"
},
"Lx1ima": {
"context": "button",
"string": "Upload image"
},
"M1uijW": {
"context": "collection",
"string": "Not Published"
},
"M6s/9e": {
"context": "unassign country, dialog header",
"string": "Remove from Shipping Zone"
},
"M8z5WZ": {
"context": "WarehouseSettings disabled warehouse description",
"string": "If selected customer won't be able to choose this warehouse as pickup point"
},
"M9LXb5": {
"context": "no shipping carriers title",
"string": "No applicable shipping carriers"
},
"MAsLIT": {
"context": "custom app token key",
"string": "Key"
},
"MDOw8D": {
"string": "\"Mark as paid\" feature creates a"
},
"MHVglr": {
"context": "deactivate",
"string": "Deactivate"
},
"MIC9W7": {
"context": "WarehouseSettings pickup title",
"string": "Pickup"
},
Static datagrid in order view (#3276) * Init datagrid * Product type and channels on datagrid * Move get cell content to utils * Add channels to storybook * Add product description to datagrid * Thubnail cell with avatar * Translations * Allow add new empty product in datagrid * Search product types * useProductForm wth save bar and exit modal * Add description to product fixture * Add loading placeholder * Remove old column picker * Sorting * Remove old ProductList * Update filter props * Add header icons * Add sort icons to datagrid column * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Remove datagrid card paddding (#3310) * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Fix empty column when save column change * Fix bottom line in layout overlap * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Filter presets select * Fix delete tab name in modal, change order preset key * Extract messages and apply cr fixes * Keep active tab when filter and search change * Apply filter in useColumnDefault --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-04-20 07:52:44 +00:00
"MJ2jZQ": {
"string": "Total"
},
"MJBAqv": {
"context": "column title used by/customer",
"string": "Used by"
},
"MKtgZB": {
"string": "Only staff users can access the dashboard"
},
"MNZY28": {
"context": "table column header",
"string": "Channel threshold"
},
"MPfyne": {
"string": "Are you sure you want to send this invoice: {invoiceNumber} to the customer?"
},
"MQwT1W": {
"context": "activate",
"string": "Activate"
},
"MSItJD": {
"string": "You are about to leave the Dashboard. Do you want to continue?"
},
"MTGT8E": {
"context": "column header",
"string": "No. of orders"
},
"MTl5o6": {
"context": "new discount label",
"string": "New discount value"
},
"MVU6ol": {
"context": "exceeded permissions description",
"string": "This groups permissions exceeds your own. You are able only to manage permissions that you have."
},
"MWSacl": {
"string": "Multichannel"
},
"MXZuVP": {
"context": "remove country from shipping zone and save, button",
"string": "Remove and save"
},
"MaTR88": {
"context": "header",
"string": "Integrations"
},
"MbZHXE": {
"context": "column title balance",
"string": "Balance"
},
"McN+wq": {
"context": "customers section name",
"string": "Customers"
},
"MewrtN": {
"context": "section header",
"string": "Fulfillment"
},
"MgdgpT": {
"context": "customer input label",
"string": "Customer"
},
"MjUyhA": {
"context": "section subheader",
"string": "Active member since {date}"
},
"MmGlkp": {
"context": "dialog header",
"string": "Unassign Collections From Voucher"
},
"Mmo9k2": {
"context": "table header warehouse stock label",
"string": "Warehouse stock"
},
"MpR4zK": {
"context": "customer details, header",
"string": "{fullName} Details"
},
"MxhVZv": {
"string": "Are you sure you want to delete collection's image?"
},
"MyM2oR": {
"context": "window title",
"string": "Create variant"
},
"Myx1Qp": {
"context": "add discount button",
"string": "Add Discount"
},
"Mz0cx+": {
"context": "delete channel",
"string": "Deleting channel will delete all product data regarding this channel. Are you sure you want to delete this channel?"
},
"N2SbNc": {
"string": "{counter,plural,one{Are you sure you want to delete this customer?} other{Are you sure you want to delete {displayQuantity} customers?}}"
},
"N3Zot1": {
"context": "button",
"string": "Change your password"
},
"N43t3/": {
"context": "error message",
"string": "Number not set for an invoice"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"N5UuEK": {
"context": "header",
"string": "Items ready to ship"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"N6lfS/": {
"context": "header",
"string": "Authorization Field Delete"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"N76zUg": {
"context": "page header",
"string": "Create Customer"
},
"N7XGzW": {
"context": "error message",
"string": "This name is already taken. Please provide another."
},
"NBP8uu": {
"context": "page header",
"string": "New Product"
},
"ND5x+V": {
"string": "Were generating the invoice you requested. Please wait a couple of moments"
},
"NDm2Fe": {
"context": "page title",
"string": "Weight Rate Create"
},
"NEJo1I": {
"context": "dialog content",
"string": "Are you sure you want to delete {voucherCode}?"
},
"NGc9kE": {
"string": "Page type deleted"
},
"NJbzcP": {
"context": "dialog header",
"string": "Cancel Orders"
},
"NL6mvR": {
"string": "Visit App Store to replace with the App"
},
"NLNonj": {
"context": "send to channel select label",
"string": "Send to channel"
},
"NLybdq": {
"context": "voucher channel",
"string": "Channel"
},
"NNT3Lp": {
"context": "collections section name",
"string": "Collections"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"NPIBGp": {
"context": "heading, sum of all granted refunds from transactions in order",
"string": "Granted"
},
"NPfmdK": {
"context": "webhook input label",
"string": "Secret Key"
},
"NQgbYA": {
"string": "Account Settings"
},
"NUevU9": {
"context": "attribute values list: slug column header",
"string": "Swatch"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"NWxomz": {
"string": "Fulfillment status"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"NZtcLb": {
"context": "gift card bulk create success dialog content",
"string": "We have issued all of your requested gift cards. You can download the list of new gift cards using the button below."
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"NelCIl": {
"context": "content section name",
"string": "Content"
},
"NgCb99": {
"context": "order line discount updated title",
"string": "{productName} discount was updated by"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"NhQboB": {
"context": "dialog header",
"string": "Saleor couldnt cancel order"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"NivJal": {
"context": "section header",
"string": "All Subcategories"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
🦄 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 12:48:50 +00:00
"Nj9iSB": {
"context": "table header column",
"string": "Tax rate"
},
"NlEVVT": {
"context": "label for button",
"string": "Create class"
},
"NlSJMM": {
"context": "channels section name",
"string": "Channels"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
Static datagrid in order view (#3276) * Init datagrid * Product type and channels on datagrid * Move get cell content to utils * Add channels to storybook * Add product description to datagrid * Thubnail cell with avatar * Translations * Allow add new empty product in datagrid * Search product types * useProductForm wth save bar and exit modal * Add description to product fixture * Add loading placeholder * Remove old column picker * Sorting * Remove old ProductList * Update filter props * Add header icons * Add sort icons to datagrid column * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Remove datagrid card paddding (#3310) * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Fix empty column when save column change * Fix bottom line in layout overlap * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Filter presets select * Fix delete tab name in modal, change order preset key * Extract messages and apply cr fixes * Keep active tab when filter and search change * Apply filter in useColumnDefault --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-04-20 07:52:44 +00:00
"NmK6zy": {
"string": "Payment"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"NnhrxZ": {
"context": "amount of sent refund for transaction",
"string": "{transactionType} refund"
},
"No4lyL": {
"context": "header field name, header",
"string": "Name"
},
"NqxvFh": {
"context": "navigator placeholder",
"string": "Type Command"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"Nsk5WL": {
"context": "link",
"string": "Get support"
},
"NtFVFS": {
"context": "weight",
"string": "{value} {unit}"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"Nuq83+": {
"string": "Create new channel"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"Nv/toB": {
"context": "button",
"string": "Assign and save"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"NvwS/N": {
"context": "gift card history message",
"string": "Gift card was deactivated"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"NwQXZp": {
"context": "status",
"string": "Not active"
},
"NxRsHQ": {
"context": "section header",
"string": "Fulfillment - #{fulfilmentId}"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"NxeDbG": {
"context": "image upload",
"string": "Drop here to upload"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"NzifUg": {
"context": "window title",
"string": "Fulfill Order"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"O22NIZ": {
"context": "deletion error message",
"string": "Cant's delete group which is out of your permission scope"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"O4QNFx": {
"context": "alert message",
"string": "There are no available products in this channel."
},
"O95R3Z": {
"string": "Phone"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"O987DI": {
"context": "deactivate named app",
"string": "Are you sure you want to disable {name}? Your data will be kept until you reactivate the app."
},
"O9QPe1": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to delete this voucher?} other{Are you sure you want to delete {displayQuantity} vouchers?}}"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OA+fw+": {
"context": "conjunction, choice between going to dashboard or refreshing page",
"string": "or"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"OAcl78": {
"context": "order, granted refunds card, title",
"string": "Granted refunds"
},
"OBQ+th": {
"context": "WarehouseSettings disabled warehouse label",
"string": "Disabled"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"OFTsI1": {
"string": "Attempts:"
},
"OFW7nq": {
"context": "placeholder",
"string": "Search by page name, etc..."
},
"OGemtu": {
"context": "payment status",
"string": "Partially refunded"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"OGm8wO": {
"context": "button",
"string": "Create Channel"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"OK5+Fh": {
"string": "Variant"
},
"OKGd/k": {
"context": "order history message",
"string": "Order was created from draft"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"OPtrMg": {
"context": "header",
"string": "{webhookName} Details"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OTDo9I": {
"context": "tab name",
"string": "All staff members"
},
"OVOU1z": {
"context": "section header",
"string": "Metadata"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OaA0f9": {
"string": "You have reached your staff member limit, you will be no longer able to add staff members to your store. If you would like to up your limit, contact your administration staff about raising your limits."
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"OaKyz4": {
"context": "input label",
"string": "Stock reservation for authenticated user (in minutes)"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"ObRk1O": {
"string": "If this option is disabled, discount will be counted for every eligible product"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"Oe62bR": {
"context": "product availability",
"string": "Availability"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"Of19Pn": {
"context": "Types",
"string": "Page Types"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"OhFGpX": {
"context": "button",
"string": "Assign members"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OhdPS1": {
"context": "amount of refunded money",
"string": "Amount"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OrMr/k": {
"context": "window title",
"string": "Create Channel"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OrR3Qy": {
"context": "no products",
"string": "No products found"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"Orgqv4": {
"context": "numeric attribute unit",
"string": "Unit"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OwG/0z": {
"string": "Deleted menu"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"OzHN0Z": {
"context": "order history message",
"string": "Links to the order's digital goods were sent"
},
"P+kVxW": {
"context": "card description",
"string": "User is assigned to:"
},
"P/EDn1": {
"context": "order history message",
"string": "Order was fully paid"
},
"P/oGtb": {
"context": "product availability",
"string": "Available for purchase"
},
"P5twxk": {
"context": "link",
"string": "Activate"
},
"P79U4b": {
"context": "attribute's slug short code label",
"string": "Attribute Code"
},
"P7PLVj": {
"string": "Date"
},
2023-04-12 07:11:11 +00:00
"P9YktI": {
"context": "save preset, header",
"string": "Save view preset"
},
"PAqicb": {
"context": "button",
"string": "Cancel order"
},
"PBd/e+": {
"context": "dialog header",
"string": "Change address for order"
},
"PCoO4D": {
"context": "error message",
"string": "Page not found."
},
"PDw0YN": {
"context": "open new window button",
"string": "Open this product in GraphiQL"
},
"PFXGaR": {
"string": "Shipping Zones"
},
"PHUcrU": {
"context": "date when order was placed",
"string": "Date"
},
"PJDcQs": {
"context": "set balance button label",
"string": "Set Balance"
},
"PKJqcq": {
"string": "Invoice is Generating"
},
"PLCwT/": {
"context": "search results",
"string": "Show more"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"PLX6FH": {
"context": "sum of all manual refunds for transaction",
"string": "Manual refund"
},
"PRXpBm": {
"context": "dialog header",
"string": "Cancel Order"
},
"PTW56s": {
"context": "alert",
"string": "Channel limit reached"
},
"PV0SQd": {
"context": "WarehousesSection select field label",
"string": "Warehouse"
},
"PX2zWy": {
"context": "customer is not set in draft order",
"string": "Not set"
},
"PXatmC": {
"string": "Customer Removed"
},
"PXx4Jk": {
"context": "window title",
"string": "Create Product"
},
"PbqNhi": {
"context": "order status",
"string": "Partially fulfilled"
},
"PcPMjC": {
"context": "order history message",
"string": "Fulfillment awaits approval"
},
"PcQRxi": {
"context": "gift card history message",
"string": "Gift card was bought in order {orderNumber}"
},
"PctLol": {
"context": "no channels found title",
"string": "No Channels Found"
},
"PiSXjb": {
"context": "check to require numeric attribute unit",
"string": "Select unit"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"PilTI6": {
"context": "issue gift card button label",
"string": "Issue"
},
"PkCmGU": {
"context": "install button",
"string": "Install App"
},
"PkjQS6": {
"context": "description",
"string": "No results found"
},
"PlAdWI": {
"string": "You are going to"
},
"Pnj+JH": {
"context": "key-value field input",
"string": "Value"
2020-04-29 01:47:07 +00:00
},
"Pp/7T7": {
"string": "{counter,plural,one{Are you sure you want to delete this category?} other{Are you sure you want to delete {displayQuantity} categories?}}"
},
"PqMbma": {
"context": "add attribute value",
"string": "Add Value"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"PsRG+v": {
"context": "use attribute in filtering",
"string": "Filterable in Storefront"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"PsclSa": {
"context": "page header",
"string": "Create Voucher"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Pyjarj": {
"string": "This shipping rate has no postal codes assigned"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"PzXIXh": {
"context": "order",
"string": "Customer"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q/Nbku": {
"context": "product field",
"string": "Type"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q0JJ4F": {
"context": "dialog header",
"string": "Delete Vouchers"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q1HhPk": {
"context": "table head",
"string": "Product Type"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q1Uzbb": {
"string": "No products found"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q2UXlW": {
"context": "modal button url upload",
"string": "Upload URL"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
2023-01-30 12:06:54 +00:00
"Q2us5X": {
"context": "Dry run icon label",
"string": "Dry run"
},
"Q47ovw": {
"context": "activate app",
"string": "Are you sure you want to activate this app? Activating will start gathering events."
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q4m1CG": {
"string": "Edit Product"
},
"Q55cTG": {
"context": "order refund amount",
"string": "Previously refunded"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q6VRrE": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to delete this order draft?} other{Are you sure you want to delete {displayQuantity} order drafts?}}"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q6wcZ5": {
"string": "First Name"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q7uuDr": {
"context": "attribute slug input field helper text",
"string": "This is used internally. Make sure you dont use spaces"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"Q8Qw5B": {
"string": "Description"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"Q8mpW3": {
"string": "Successfully created voucher"
Refactor changing address in order details directly (#1697) (#1818) * Refactor changing address in order details directly (#1697) * wip change address edit buttons behaviour in order draft * wip modify dialog view when customer is not changed * wip remove old address edit modal * wip rm old address modal storybook * wip async search state change * wip disable edit in draft when no customer is selected * wip fix submitting issues * wip allow single address mutation * wip fix billing change & manual address change * wip fix covered country dropdown * wip add address clone checkbox * wip normal order details & unconfirmed views * wip messages minor fixes * wip clone address checkbox on new address input option * Storybook update * cleanup * billing same as shipping fixes * improve stories titles & move to component folder * improve continueToAddressSearchState readibility * improve dialog title/description message descriptors * change .then() to await * Remove redundant onClick arrow function Co-authored-by: Dominik Żegleń <flesz3@o2.pl> * Improve OrderAddressFields component * move shipping & billing address edit props outside file * Update snapshots * fix mutation output types in order views * Fix confirm button state type * fix skipping query when modal is refreshed * fix cancel button to match designs * update dialog headers * fix customer address choice card styling for blue theme * change hidecard to showcard * export types to local file * improve isAnyAddressEditModalOpen function * fix cut hover effect on inputs * fix submitting modal when modal is closed with x button * fix validation & initial form data * update messages * Update partial mutation return type * Add vertical spacer component * Revert CardSpacer changes * Change some of Form & Card spacers to Vertical Spacers * Fix makeStyles import in VerticalSpacer * Fix border color for AddressCards * Add type to addressFieldsCommonProps object * Change stories subtitles to lowercase * Fix country choices type * Fix setState react type * Improve address change handlers * Update snapshots * Fix default country not showing up in address edit single autocomplete field Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Fix linter issue Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2022-02-02 11:22:39 +00:00
},
"Q8wHwJ": {
"string": "Deleted collection"
},
"Q9wTrz": {
"context": "caption",
"string": "If enabled, youll be able to use this attribute to filter products in product list."
},
"QAisk4": {
"context": "Webhook events header",
"string": "Webhook events"
},
"QBxN6z": {
"context": "is filter range or value",
"string": "between"
},
"QCwBUI": {
"context": "button",
"string": "Delete Search"
},
"QFBjlV": {
"context": "error message",
"string": "Stock for this warehouse already exists for this product variant"
},
"QFCUEt": {
"string": "Slug must be unique"
Refactor changing address in order details directly (#1697) (#1818) * Refactor changing address in order details directly (#1697) * wip change address edit buttons behaviour in order draft * wip modify dialog view when customer is not changed * wip remove old address edit modal * wip rm old address modal storybook * wip async search state change * wip disable edit in draft when no customer is selected * wip fix submitting issues * wip allow single address mutation * wip fix billing change & manual address change * wip fix covered country dropdown * wip add address clone checkbox * wip normal order details & unconfirmed views * wip messages minor fixes * wip clone address checkbox on new address input option * Storybook update * cleanup * billing same as shipping fixes * improve stories titles & move to component folder * improve continueToAddressSearchState readibility * improve dialog title/description message descriptors * change .then() to await * Remove redundant onClick arrow function Co-authored-by: Dominik Żegleń <flesz3@o2.pl> * Improve OrderAddressFields component * move shipping & billing address edit props outside file * Update snapshots * fix mutation output types in order views * Fix confirm button state type * fix skipping query when modal is refreshed * fix cancel button to match designs * update dialog headers * fix customer address choice card styling for blue theme * change hidecard to showcard * export types to local file * improve isAnyAddressEditModalOpen function * fix cut hover effect on inputs * fix submitting modal when modal is closed with x button * fix validation & initial form data * update messages * Update partial mutation return type * Add vertical spacer component * Revert CardSpacer changes * Change some of Form & Card spacers to Vertical Spacers * Fix makeStyles import in VerticalSpacer * Fix border color for AddressCards * Add type to addressFieldsCommonProps object * Change stories subtitles to lowercase * Fix country choices type * Fix setState react type * Improve address change handlers * Update snapshots * Fix default country not showing up in address edit single autocomplete field Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Fix linter issue Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2022-02-02 11:22:39 +00:00
},
"QGjJcT": {
"context": "number of products",
"string": "Products"
},
"QH74y5": {
"context": "table header name col label",
"string": "Name"
Refactor changing address in order details directly (#1697) (#1818) * Refactor changing address in order details directly (#1697) * wip change address edit buttons behaviour in order draft * wip modify dialog view when customer is not changed * wip remove old address edit modal * wip rm old address modal storybook * wip async search state change * wip disable edit in draft when no customer is selected * wip fix submitting issues * wip allow single address mutation * wip fix billing change & manual address change * wip fix covered country dropdown * wip add address clone checkbox * wip normal order details & unconfirmed views * wip messages minor fixes * wip clone address checkbox on new address input option * Storybook update * cleanup * billing same as shipping fixes * improve stories titles & move to component folder * improve continueToAddressSearchState readibility * improve dialog title/description message descriptors * change .then() to await * Remove redundant onClick arrow function Co-authored-by: Dominik Żegleń <flesz3@o2.pl> * Improve OrderAddressFields component * move shipping & billing address edit props outside file * Update snapshots * fix mutation output types in order views * Fix confirm button state type * fix skipping query when modal is refreshed * fix cancel button to match designs * update dialog headers * fix customer address choice card styling for blue theme * change hidecard to showcard * export types to local file * improve isAnyAddressEditModalOpen function * fix cut hover effect on inputs * fix submitting modal when modal is closed with x button * fix validation & initial form data * update messages * Update partial mutation return type * Add vertical spacer component * Revert CardSpacer changes * Change some of Form & Card spacers to Vertical Spacers * Fix makeStyles import in VerticalSpacer * Fix border color for AddressCards * Add type to addressFieldsCommonProps object * Change stories subtitles to lowercase * Fix country choices type * Fix setState react type * Improve address change handlers * Update snapshots * Fix default country not showing up in address edit single autocomplete field Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Fix linter issue Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2022-02-02 11:22:39 +00:00
},
"QJG+d/": {
"context": "staff added type order discount",
"string": "Staff added"
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"QL4a0Z": {
"context": "alert message",
"string": "Not published in this channel"
},
"QLVddq": {
"context": "button",
"string": "Create customer"
},
"QM9P8G": {
Refactor changing address in order details directly (#1697) (#1818) * Refactor changing address in order details directly (#1697) * wip change address edit buttons behaviour in order draft * wip modify dialog view when customer is not changed * wip remove old address edit modal * wip rm old address modal storybook * wip async search state change * wip disable edit in draft when no customer is selected * wip fix submitting issues * wip allow single address mutation * wip fix billing change & manual address change * wip fix covered country dropdown * wip add address clone checkbox * wip normal order details & unconfirmed views * wip messages minor fixes * wip clone address checkbox on new address input option * Storybook update * cleanup * billing same as shipping fixes * improve stories titles & move to component folder * improve continueToAddressSearchState readibility * improve dialog title/description message descriptors * change .then() to await * Remove redundant onClick arrow function Co-authored-by: Dominik Żegleń <flesz3@o2.pl> * Improve OrderAddressFields component * move shipping & billing address edit props outside file * Update snapshots * fix mutation output types in order views * Fix confirm button state type * fix skipping query when modal is refreshed * fix cancel button to match designs * update dialog headers * fix customer address choice card styling for blue theme * change hidecard to showcard * export types to local file * improve isAnyAddressEditModalOpen function * fix cut hover effect on inputs * fix submitting modal when modal is closed with x button * fix validation & initial form data * update messages * Update partial mutation return type * Add vertical spacer component * Revert CardSpacer changes * Change some of Form & Card spacers to Vertical Spacers * Fix makeStyles import in VerticalSpacer * Fix border color for AddressCards * Add type to addressFieldsCommonProps object * Change stories subtitles to lowercase * Fix country choices type * Fix setState react type * Improve address change handlers * Update snapshots * Fix default country not showing up in address edit single autocomplete field Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Fix linter issue Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2022-02-02 11:22:39 +00:00
"context": "dialog header",
"string": "Assign Attribute"
Refactor changing address in order details directly (#1697) (#1818) * Refactor changing address in order details directly (#1697) * wip change address edit buttons behaviour in order draft * wip modify dialog view when customer is not changed * wip remove old address edit modal * wip rm old address modal storybook * wip async search state change * wip disable edit in draft when no customer is selected * wip fix submitting issues * wip allow single address mutation * wip fix billing change & manual address change * wip fix covered country dropdown * wip add address clone checkbox * wip normal order details & unconfirmed views * wip messages minor fixes * wip clone address checkbox on new address input option * Storybook update * cleanup * billing same as shipping fixes * improve stories titles & move to component folder * improve continueToAddressSearchState readibility * improve dialog title/description message descriptors * change .then() to await * Remove redundant onClick arrow function Co-authored-by: Dominik Żegleń <flesz3@o2.pl> * Improve OrderAddressFields component * move shipping & billing address edit props outside file * Update snapshots * fix mutation output types in order views * Fix confirm button state type * fix skipping query when modal is refreshed * fix cancel button to match designs * update dialog headers * fix customer address choice card styling for blue theme * change hidecard to showcard * export types to local file * improve isAnyAddressEditModalOpen function * fix cut hover effect on inputs * fix submitting modal when modal is closed with x button * fix validation & initial form data * update messages * Update partial mutation return type * Add vertical spacer component * Revert CardSpacer changes * Change some of Form & Card spacers to Vertical Spacers * Fix makeStyles import in VerticalSpacer * Fix border color for AddressCards * Add type to addressFieldsCommonProps object * Change stories subtitles to lowercase * Fix country choices type * Fix setState react type * Improve address change handlers * Update snapshots * Fix default country not showing up in address edit single autocomplete field Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Fix linter issue Co-authored-by: Dominik Żegleń <flesz3@o2.pl> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2022-02-02 11:22:39 +00:00
},
"QSnh4Y": {
"context": "add button label",
"string": "Add"
},
"QUyUJy": {
"string": "Main Product"
},
"QVNg8A": {
"context": "product field",
"string": "Charge Taxes"
},
"QZVD+5": {
"context": "button, unassign attribute from object",
"string": "Unassign and save"
},
"QZoU0r": {
"context": "dialog header",
"string": "Delete Channel"
},
"QclvqG": {
"context": "input label",
"string": "Checkout line limit"
},
"QdGzUf": {
"context": "number of collections",
"string": "Collections ({quantity})"
},
"Qe4XHv": {
"context": "years after label",
"string": "years after issue"
},
"QiN4hv": {
"context": "active",
"string": "Active"
},
"QirE3M": {
"string": "Start Date"
},
"Qj/3sH": {
"context": "limit voucher",
"string": "Limit number of times this discount can be used in total"
},
"QjPJ78": {
"context": "close full-screen",
"string": "Close"
},
"QkFeOa": {
"context": "order refund amount button",
"string": "Refund"
},
"QooeI/": {
"context": "button",
"string": "Create Customer"
},
"Qovenh": {
"string": "Anonymous user"
},
"Qox+kb": {
"string": "on field {fieldName}"
},
🦄 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 12:48:50 +00:00
"QpBqa9": {
"context": "label for radio button",
"string": "Product prices are entered without tax"
},
"Qph0GE": {
"context": "dialog content",
"string": "Add a new address:"
},
"QzseV7": {
"context": "dialog header",
"string": "Delete Menu"
},
"R98JLZ": {
"context": "OrderCustomer Fulfillment from All Warehouses",
"string": "Fulfill from All Warehouses"
},
"RBxYJf": {
"context": "sale status",
"string": "Expired"
},
"REVk27": {
"context": "info text",
"string": "Set up an end date of preorder. When end date will be reached product will be automatically taken from preorder to standard selling"
},
"RH+aOF": {
"context": "use attribute in filtering",
"string": "Use in Filtering"
},
"RLBLPQ": {
"context": "no warehouses info",
"string": "There are no warehouses set up for your store. To add stock quantity to the product please <a>configure a warehouse</a>"
},
"RLTaAR": {
"context": "order history message",
"string": "Order address was updated"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RLYfMF": {
"context": "checkbox label",
"string": "Automatically confirm all orders"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RLZ1jd": {
"context": "delete gift cards with balance description",
"string": "{selectedItemsCount,plural,one{The gift card you are about to delete has available balance. By deleting this card you may remove balance available to your customer.} other{You are about to delete gift cards with available balance. Are you sure you want to do that?}}"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RMB6fU": {
"context": "button",
"string": "Create Token"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RQUkVW": {
"string": "Manage your employees and their permissions"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RUzdUH": {
"string": "No shipping rates found"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RXPGi/": {
"context": "page title",
"string": "Price Rate Create"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RXbkle": {
"context": "copy code button label",
"string": "Copy code"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"RY4PJY": {
"context": "information",
"string": "Installation failed"
},
"RZ32u5": {
"context": "PageTypeDeleteWarningDialog single consent label",
"string": "Yes, I want to delete this page type and assigned pages"
},
"RZDxej": {
"context": "Popover trigger text (button)",
"string": "Filters {count, plural, =0 {} other {({count})} }"
},
"RZmdM3": {
"context": "delete page types",
"string": "{counter,plural,one{Are you sure you want to delete this page type? After doing so you wont be able to revert changes.} other{Are you sure you want to delete {displayQuantity} page types? After doing so you wont be able to revert changes.}}"
},
"RaycYK": {
"context": "button",
"string": "Save"
},
"Rd0s80": {
"context": "no cards found title message",
"string": "No gift cards found"
},
"RfPJ1E": {
"context": "issue card button label",
"string": "Issue card"
},
🦄 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 12:48:50 +00:00
"Rfk+8B": {
"context": "tax classes menu label when there are no tax classes",
"string": "There are no tax classes"
},
"Rj8LxK": {
"string": "Add search engine title and description to make this collection easier to find"
},
"RjT+Vo": {
"context": "label",
"string": "Tunnel - development"
},
"Rjs1CD": {
"context": "button",
"string": "Continue"
},
"RlbhwF": {
"context": "product no longer exists error description",
"string": "This product is no longer in database so it cant be replaced, nor returned"
},
"RlfqSV": {
"string": "No orders found"
},
"Rp/Okl": {
"string": "Shipping Weight Unit"
},
"Rpfa+t": {
"context": "dialog header",
"string": "Unassign Attribute from Page Type"
},
🦄 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 12:48:50 +00:00
"RqtZQ6": {
"context": "tax classes card header",
"string": "Tax class rates"
},
"RrCui3": {
"string": "Summary"
},
"Rsknyh": {
"context": "order does not require shipping",
"string": "does not apply"
},
"Ryh3iR": {
"context": "header",
"string": "Create Webhook"
},
"RzDYi8": {
"context": "checkbox label",
"string": "Set the same for billing address"
},
"RzsKm8": {
"string": "Shipping methods"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"S/yAtJ": {
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
"context": "total price",
"string": "Total"
},
"S1p0Ja": {
"string": "The app will have access to new permissions. From now on it will be able to use them to perform operations these permissions allow. You should ensure you trust the app before you approve."
},
"S22jIs": {
"context": "button",
"string": "Set new password"
},
"S2xLxV": {
"context": "search placeholder",
"string": "Search by product name, attribute, product type etc..."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"S5/nSq": {
"context": "grant refund table, column header",
"string": "Quantity"
},
"S52JMl": {
"context": "default gift card delete description",
"string": "{selectedItemsCount,plural,one{Are you sure you want to delete this gift card?} other{Are you sure you want to delete {selectedItemsCount} giftCards?}}"
},
"S7Rwl0": {
"context": "stock exceeded action question label",
"string": "Are you sure you want to fulfill those products anyway?"
},
"S7j+Wf": {
"context": "unassign attribute from product type, button",
"string": "Unassign"
},
"SBb6Ej": {
"context": "select a warehouse to fulfill product from",
"string": "Select warehouse..."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"SC/eNC": {
"context": "Payment card title",
"string": "Payment status"
},
"SHm7ee": {
"string": "Search by product name, attribute, product type etc..."
},
"SI3/nl": {
"string": "Nothing will change in terms of permissions. The Dashboard will redirect to the app and inform it that you denied the request."
},
"SKFr04": {
"string": "Attribute not found."
},
"SM+yG0": {
"context": "input label",
"string": "SKU (Stock Keeping Unit)"
},
"SMakqb": {
"context": "customer contact section, header",
"string": "Contact Information"
},
"SNiyXb": {
"context": "numeric attribute type",
"string": "Numeric"
},
"SO56cv": {
"context": "success deactivate alert message",
"string": "Successfully deactivated gift {count,plural,one{card} other{cards}}"
},
"SPBLzT": {
"context": "header",
"string": "Translation Attribute \"{attribute}\" - {languageCode}"
},
"SPp3cx": {
"context": "alert message",
"string": "Orders cannot be placed in an inactive channel."
},
"SRMNCS": {
"string": "Pending & failed deliveries (last 10)"
},
"SSWFo8": {
"context": "window title",
"string": "Create Product Type"
},
"STJx8N": {
"context": "change button label",
"string": "Change"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"SUbxSK": {
"context": "product weight",
"string": "Weight"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"SZH0fw": {
"context": "set variant as default, button",
"string": "Set as default"
},
"SZJhvK": {
"context": "dialog header",
"string": "Select Channel"
2020-04-29 01:47:07 +00:00
},
"SZt9kC": {
"context": "export filtered items to csv file",
"string": "Current search ({number})"
2020-04-29 01:47:07 +00:00
},
"SceSNp": {
"string": "Remove following permissions:"
},
"Sjd7wm": {
"context": "product filter label",
"string": "Product"
2020-04-29 01:47:07 +00:00
},
"Sna+WK": {
"context": "product status",
"string": "Out Of Stock"
2020-04-29 01:47:07 +00:00
},
"SpngiS": {
"context": "sale status",
"string": "Status"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"SqcGBK": {
"context": "channel availability dialog header",
"string": "Manage Channel Availability"
2020-04-29 01:47:07 +00:00
},
"SqhC7g": {
"context": "checkbox label, fulfillment approval",
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
"string": "Send shipment details to customer"
2020-04-29 01:47:07 +00:00
},
"Sxzua5": {
"context": "order payment",
"string": "Settled"
},
"T/5OyA": {
"string": "No translation yet"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"T/dYnE": {
"context": "plugin filters error messages status",
"string": "Status is not selected"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"T0Mfxq": {
"context": "product status title",
"string": "{channelCount} {channelCount,plural, =1 {Channel} other {Channels}}"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"T1f2Yl": {
"string": "Variant Name"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"T34dJq": {
"context": "Displayed when order has no payment",
"string": "This order has no payment yet."
},
"T4GOiX": {
"string": "End Date"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"T4wa2Y": {
"context": "global config plugin status popup title",
"string": "Global Plugin"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"T5nU7u": {
"context": "header",
"string": "Create Token"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"T6dXGG": {
"context": "header",
"string": "Create Variant"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"T83iU7": {
"string": "Search categories..."
},
"T8rvXs": {
"context": "order subtotal price",
"string": "Subtotal"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"TBftMD": {
"context": "button. form submit, grant refund edit",
"string": "Edit granted refund"
},
"TC/EOG": {
"context": "status section title",
"string": "Status in channel"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"TCR639": {
"context": "order history message",
"string": "Payment failed"
Fulfillment creation refactor (#1896) * Create change warehouse dialog (#1850) * Add allocations & variant stocks to order details query * Add asc sorting to warehouse search query * Add OrderChangeWarehouseDialog component * Add key to warehouse list in dialog * Update snapshots * Remove debug directive * Remove IDs from messages * Fix typo in method name & extract messages * Add quantity to allocations in order details query * Add types to functions * Move functions to local utils file * Add utility type WithOptional * Fix warehouse types * Change multiple items unavailable message name * Fix fetching onScroll * Fix types in utils * Add backdrop click support * Add id to stocks and allocations * Change unavailableLines from .map to .filter Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Fix linter issue Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com> * Refactor order cards headers (#1875) * Add keys to TableLines * Bump macaw * Move & rename CardTitle used in Cards with order lines * Improve OrderCardTitle typography * Replace StatusLabels with CircleIndicators * Fix card title divs placement * Add warehouse selection button to OrderUnfulfilledCard * Fix fulfill button placement * Update snapshots * Make warehouse in order details view optional so that it works with uncofirmed orders * Fix undefined lines in warehouse dialog * Fix spacing in warehouse change button * Fix macaw dependency * Bump macaw-ui * Extract messages * Implement default warehouse selection logic * Move CircleIndicator render condition to wrapper * Fix failing reduce on orders with no lines * Improve warehousesAvailable early return * Drop counter in favor of filter().length * Fix tests post-rebase * Refactor fulfillment details page (#1915) * Add shipment information card * Refactor multiple warehouse fulfilling to one warehouse * Fix fulfill button navigation * Remove redundant code from OrderFulfill view * Fix OrderFulfill story * Move styling to seperate file & remove unused classes * Replace colQuantityTotal class with colStock * Add warehouse label under page header * Fix preorder cases * Change default values to maximum * Simplify logic * Add badge for preorder & deleted variant cases * Remove unused data * Add yellow outline for exceeding stock * Fix failing tests * Extract messages * Fix tests post-rebase * Add support for tracking number * Block fulfilling no items * Fix deleted variant order details bug * Fix preorder & deleted variant cases * Update snapshots * Remove redundant import * Fix linter issue * Extract fulfillment lines as separate component * Fix types * Export styles & messages to seperate files * Simplify formset changes * Fix warning input styling * Fix shouldEnableSave for overfulfillment cases * Simplify preorder rendering * Move empty line rendering * Change Warehouse prop to just id of it * Add endAdornment for deleted variant cases * Update snapshots * Fix linter issue * Extract messages * Fix incorrect operator precedence resulting in NaN values * Extract fulfillment lines to fragment * Replace nested types with fragment type * Match fragment names * Update snapshots * Create exceeding stock confirmation dialog (#1970) * Cherry-pick OrderFulfillStockExceededDialog * Fix types to graphql-codegen * Unify names in OrderFulfillStockExceededDialogLines * Fix types in OrderFulfillStockExceededDialogLines * Fix types in util * Change utils for usage with single warehouse context * Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context * Fix deleted variant cases in OrderFulfillStockExceededDialogLine * Include only exceeded lines * Display stock exceeded dialog on error * Add confirm button state * Change fixed height in OrderFulfillStockExceededDialog to responsive * Extract messages * Move initial form data after interfaces * Change nested type to fragment * Reuse logic * Remove unused import * Remove redundant isStockError * Remove unused imports * Fix minor bugs in fulfillment creation refactor (#1972) * Fix unfulfilled card header quantity calculation * Fix formset default value for deleted variants * Update snapshots * Fix default warehouse selection in order draft (#1971) * Fix default warehouse selection * Replace Skeleton with circular progress * Reuse logic * Reuse logic * Apply CR fixes * Remove unused imports * Fix canceled order header status * Update snapshots * Revert CircularProgress & change to Skeleton * Change complex types to fragments * Extract default warehouse logic to hook * Fix linter issue * Remove type assertion from OrderFulfillPage story * Handle exceeding stock fulfillment approvals (#1988) * wip Add OrderFulfillStockExceeded modal for fulfillment approvals * wip Fix types & imports * wip Fix union typing in stock exceeded dialog for both views * Add allowStockToBeExceeded flag on submit * Fix lines keys in FulfilledCard * Remove redundant import * Extract attributes caption function * Use getById util * Fix deleted warehouse cases in approvals * Fix typo * Fix styling for long warehouse names (#2019) * Fix styling in change warehouse dialog * Fix styling in warehouse selection button * Add extra margin in button * Update snapshots Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 09:16:58 +00:00
},
"TDhHMi": {
"string": "This needs to be unique"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"TE4fIS": {
"string": "City"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"TGX4T1": {
"string": "Search Engine Preview"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"THpf1b": {
"context": "product availability available date",
"string": "Set available on"
},
🦄 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 12:48:50 +00:00
"TJ7WHA": {
"context": "tax strategy combobox choice",
"string": "Use tax app"
},
"TKmub+": {
"string": "This field is required"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"TLDkvR": {
"context": "transaction event type, transaction was cancelled / voided",
"string": "Cancel"
},
"TLNf6K": {
"context": "window title",
"string": "Draft Order #{orderNumber}"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"TLYeo5": {
"context": "label",
"string": "Shipping Rate Description"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"TOMgXz": {
"context": "button",
"string": "Reset"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"TPW2tP": {
"string": "You have reached your order limit, you will be billed extra for orders above limit. If you would like to up your limit, contact your administration staff about raising your limits."
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"TSJRiZ": {
"context": "channel status title",
"string": "Channel Status"
2020-04-29 01:47:07 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"TTVPyd": {
"context": "dialog subheading",
"string": "Create a manual transaction for non-integrated payments"
},
"TWVx7O": {
"context": "delete product dialog title",
"string": "Delete Product"
},
"TZtvTG": {
"context": "table header required stock label",
"string": "Required"
},
"Ta9j04": {
"context": "orders section name",
"string": "Orders"
},
"Taa5V7": {
"context": "dialog subtitle",
"string": "You can only add products available for the order's channel"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Tenl9A": {
"context": "grant refund, refund card toggle",
"string": "Refund shipment: {currency} {amount}"
},
🦄 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 12:48:50 +00:00
"TfzIXS": {
"context": "tax classes card header",
"string": "General information"
},
"TjGYna": {
"context": "product inventory, checkbox",
"string": "Track Inventory"
},
"Tl+7X4": {
"context": "tabel column header",
"string": "Refunded Qty"
},
"TnTi/a": {
"context": "pricing card title",
"string": "Pricing"
},
"TnnDjx": {
"context": "Dry run sync events alert",
"string": "Dry run currently is not available for synchronous events"
},
"TnyLrZ": {
"context": "PageTypeDeleteWarningDialog with items multiple description",
"string": "You are about to delete multiple page types. Some of them are assigned to pages. Deleting those page types will also delete those pages"
},
"TpPx7V": {
"context": "navigator placeholder",
"string": "Search Customer"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"TxYWkD": {
"context": "page header, edit view",
"string": "Edit grant refund"
},
"U+79k0": {
"context": "order expiration card description",
"string": "The time in days after expired orders will be deleted. Allowed range between 1 and 120."
},
"U1eJIw": {
"context": "order history message",
"string": "Products were added to an order"
},
"U2WgwW": {
"context": "add custom select input option",
"string": "Add new value: {value}"
},
"U2mOqA": {
"string": "No vouchers found"
},
2023-04-12 07:11:11 +00:00
"U5CH0u": {
"string": "Are you sure you want to delete {name} preset?"
},
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 09:10:15 +00:00
"U5Da30": {
"string": "Warehouses"
},
"U5aVd8": {
"context": "product",
"string": "Shippable"
},
"U8eeLW": {
"context": "button",
"string": "Assign products"
},
"U9CIo7": {
"context": "button",
"string": "Save variant"
},
"U9o2bV": {
"context": "no gift card products and types alert message",
"string": "{createGiftCardProductType} and {giftCardProduct} to start selling gift cards in your store."
},
🦄 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 12:48:50 +00:00
"UBuKZ9": {
"context": "searchbar placeholder",
"string": "Country"
},
"UJnqdm": {
"context": "dialog header",
"string": "Unassign Attribute From Product Type"
},
"UKgP89": {
"context": "note input label",
"string": "Note"
},
"UN+yTt": {
"string": "Staff Settings"
},
"UNwG+4": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to delete this page?} other{Are you sure you want to delete {displayQuantity} pages?}}"
},
"UQ4Kuh": {
"context": "input label",
"string": "Search Staff Members"
},
"UQu75k": {
"context": "dialog header",
"string": "Approve this fulfillment"
},
"US3IPU": {
"string": "Search Engine Description"
2021-02-02 10:49:46 +00:00
},
"USO8PB": {
"context": "snackbar text",
"string": "App deactivated"
},
"USS3Q7": {
"context": "filters error messages unknown error",
"string": "Unknown error occurred"
},
"Uf3oHA": {
"context": "add new menu item",
"string": "Create new item"
},
"Uh9R9m": {
"context": "prepare order fulfillment, button",
"string": "Prepare fulfillment"
},
"UhcALJ": {
"context": "attribute name",
"string": "Name"
},
"Uj2hj8": {
"context": "unassign variant from sale and save, button",
"string": "Unassign and save"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"UjoSZB": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to unassign this collection?} other{Are you sure you want to unassign {displayQuantity} collections?}}"
2021-02-02 10:49:46 +00:00
},
"UjsI4o": {
"context": "date",
"string": "since {date}"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"Um3g00": {
"context": "send to customer selected label",
"string": "Send gift card to customer"
2020-07-17 08:10:01 +00:00
},
"Uo5/Ov": {
"context": "order return subtitle",
"string": "Returned items can't be fulfilled"
},
"Uo5MoU": {
"context": "product field",
"string": "Variant Images"
},
"Urh2N3": {
"context": "label",
"string": "Link"
2020-08-26 10:33:03 +00:00
},
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 09:10:15 +00:00
"Us9cA1": {
"context": "profit margin",
"string": "Margin"
},
"Utq1fE": {
"context": "customer gift cards card title",
"string": "Gift Cards"
},
"Uu2B2G": {
"context": "gift card history message",
"string": "Gift card was used as a payment method on order {orderLink} <buyer>by</buyer>"
},
"Uu76vj": {
"context": "no categories",
"string": "No categories found"
2020-08-26 10:33:03 +00:00
},
"UvD+xp": {
"context": "attribute values",
"string": "Value {number}"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"UxOcKE": {
"context": "order history message",
"string": "Transaction charge requested"
},
"UxdBmI": {
"context": "collection availability",
"string": "Availability"
},
"UycVMp": {
"context": "button",
"string": "Create subcategory"
},
"UymotP": {
"context": "channel name",
"string": "Channel name"
},
"V+fkAO": {
"context": "number of products in category",
"string": "Products"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"V+gwx7": {
"context": "order payment",
"string": "Captured amount"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"V+h02n": {
"context": "issued by label",
"string": "Issued by"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"V/VAHG": {
"string": "Attribute deleted"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"V/YxJa": {
"context": "dialog header",
"string": "Edit Shipping Method"
Saleor 1856/implement discount modal 2 (#978) * Add currency to orderline unitprice and update hella lots of types * wip * Add diiscount modal component * Refactor action dialog - move buttons to separate component so they can be reused * Add discount provider to keep logic of discounts separated and wrap proper components * Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc * UUpdate lots of types, fragments, schema etc * Update quries and mutations * ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc * Add order line discount provider + consumer, same for order discount * Fix ts wip * Update schema and types * Update order discount provider * Add nnetto price to order details fragment and update lots of types * Adjust fixtures to order details containing net total * Move both order and order line provider to same dir to make types and utils more accessible * Update schema to match master * Update schema and types * Update order history, add some related components, add events etc. * Fix types * Fix schema to match master * Update messages * Update changelog * Retrigger build * Add stories and update common modal to display floats properly * Add and update stories and tests * Add optional displaying of reason in case it's empty * Make user name label for history events return email if last name and first name are absent * Update schema, types, and mutations to properly refresh * Remove unnecessary imports * Add discounts decorator to draft details page storybook * Fixs after review * Update messages * Small fixes to timeline events * Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette * Updaste tests, messages * Fixs after review * Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode * Add change to changelog * Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null * Refactor selecting employee name in utils * Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
},
"V1MytH": {
"context": "shipping zones section name",
"string": "Shipping Zones"
},
"V1mqpZ": {
"context": "button",
"string": "Create Permission Group"
2020-06-24 17:12:51 +00:00
},
"V2BBQu": {
"string": "Currency in both channels must be the same"
2020-06-22 16:34:59 +00:00
},
"V3fvcD": {
"context": "dialog content",
"string": "Removed sale"
2020-06-22 16:34:59 +00:00
},
"V45+rx": {
"context": "input label",
"string": "Page type"
},
"V8FhTt": {
"context": "collection label",
"string": "Hidden"
2020-06-22 16:34:59 +00:00
},
"VCzrEZ": {
"context": "link",
"string": "View Profile"
2020-06-22 16:34:59 +00:00
},
"VDwkEZ": {
"context": "refunded event title",
"string": "Products were refunded by"
},
"VEE4gD": {
"context": "error message",
"string": "Shipping method is not valid for chosen shipping address"
},
"VEext+": {
"string": "Are you sure you want to delete this image?"
},
"VHuzgq": {
"context": "table actions",
"string": "Actions"
},
"VI+X8H": {
"context": "no gift card product types alert message",
"string": "{createGiftCardProductType} to start selling gift cards in your store."
},
"VIABHy": {
"context": "error message",
"string": "Default shipping zone already exists"
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"VIdXPy": {
"context": "value input helper text",
"string": "Cannot be higher than the price"
},
"VKWPBf": {
"context": "dialog header",
"string": "Delete Staff User Avatar"
},
"VKb1MS": {
"string": "Categories"
2020-02-13 12:00:07 +00:00
},
"VOiUXQ": {
"string": "Used to calculate rates for shipping for products of this product type, when specific weight is not given"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"VSj89H": {
"context": "fulfill button label",
"string": "Fulfill anyway"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"VSztEE": {
"string": "Cancelling this order will release unfulfilled stocks, so they can be bought by other customers. <b>Order will not be refunded when cancelling order - You need to do it manually.</b> Are you sure you want to cancel this order?"
},
"VTITVe": {
"context": "section header",
"string": "Staff Member Information"
},
"VTq2gn": {
"context": "section header",
"string": "Coming Soon"
},
"VYK2nN": {
"string": "Product details"
},
"VZsE96": {
"string": "Collection Name"
},
"VcI+Zh": {
"context": "header",
"string": "Metadata"
},
"VceXrc": {
"context": "initial balance filter label",
"string": "Initial balance"
},
"VdDcxc": {
"context": "button",
"string": "Create Collection"
},
"Vdy5g7": {
"context": "weight units type",
"string": "Weight"
},
"VkYZQ8": {
"string": "Current Permissions"
},
"VmMDLN": {
"context": "permission list item description",
"string": "This group is last source of that permission"
},
"VrFy8e": {
"string": "No notes from customer"
},
"VsGcdP": {
"context": "section header",
"string": "App permissions"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Vtjlpw": {
"string": "Transaction is not unique"
},
"Vu9nol": {
"context": "header",
"string": "Order settings"
},
"VvFJ/T": {
"context": "PageTypeDeleteWarningDialog single no assigned items description",
"string": "Are you sure you want to delete <b>{typeName}</b>? If you remove it you wont be able to assign it to created pages."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"VyKl39": {
"context": "Dialog warning text",
"string": "Are you sure you want to {actionType} this transaction?"
},
"VyzsWZ": {
"string": "Default Billing Address"
},
"W/Es0H": {
"string": "Order successfully cancelled"
},
"W0kQd+": {
"context": "dialog title",
"string": "Add Address"
},
"W32xfN": {
"context": "staff member full name",
"string": "Name"
},
"W5SK5c": {
"string": "Select content type"
},
"W5hb5H": {
"context": "warehouse input",
"string": "Warehouse"
},
"W8i2Ez": {
"context": "product field",
"string": "Name"
},
"WCaf5C": {
"string": "Approve"
},
"WCg2GZ": {
"context": "change warehouse dialog search placeholder",
"string": "Search warehouses"
},
"WDy0tF": {
"context": "section header",
"string": "Webhook Information"
},
"WE8IFE": {
"context": "product name",
"string": "Product"
},
"WFG7Zk": {
"context": "unassign attribute from page type, button",
"string": "Unassign"
},
"WGp+Fw": {
"context": "order refund amount",
"string": "Shipment Cost"
},
🦄 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 12:48:50 +00:00
"WIxSDm": {
"context": "card header",
"string": "{country} class rates"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"WK62MN": {
"string": "Fulfillment"
},
"WMGoqz": {
"context": "used by filter label",
"string": "Used by"
},
"WQMTKI": {
"context": "list of warehouses",
"string": "Warehouses A to Z"
},
"WR8rir": {
"context": "button",
"string": "Create rate"
},
"WRPQMM": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to publish this page?} other{Are you sure you want to publish {displayQuantity} pages?}}"
},
"WS4ov0": {
"context": "notifier message",
"string": "Note was added sucessfully"
},
"WTj17Z": {
"context": "dialog title item discount",
"string": "Discount Item"
},
"WUf3Iu": {
"context": "percentage option",
"string": "Percentage"
},
"WW+Ruy": {
"string": "Deleted product from collection"
},
"WWV8aZ": {
"context": "dialog title",
"string": "Delete attribute value"
},
"WasHjQ": {
"context": "voucher discount",
"string": "Shipment"
},
"WbV1Xm": {
"context": "button",
"string": "Order Settings"
},
"Wd8vG7": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to unpublish this page?} other{Are you sure you want to unpublish {displayQuantity} pages?}}"
},
"WhKGPA": {
"context": "page title",
"string": "Set up new password"
},
"WhvuCb": {
"context": "plugins section name",
"string": "Plugins"
},
"WkxE8/": {
"context": "percentage or fixed, header",
"string": "Discount Type"
2020-05-08 14:01:04 +00:00
},
"Wlc67M": {
"context": "error message",
"string": "Cannot choose a shipping method for an order without the shipping address"
},
"Wm+KUd": {
"string": "Headers"
},
"WnlZMO": {
"context": "title",
"string": "Theres a problem with app."
},
"Wr5UOV": {
"context": "error message",
"string": "Login went wrong. Please try again."
},
"WvMDHa": {
"context": "page status",
"string": "Not published"
},
🦄 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 12:48:50 +00:00
"Ww69SE": {
"context": "search input placeholder",
"string": "Search tax classes"
},
"WwNtFn": {
"context": "delete product variant",
"string": "Are you sure you want to delete {name}?"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"WwZfNK": {
"string": "Add new menu item to begin creating menu"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"WyPitj": {
"context": "gift card bulk create success dialog title",
"string": "Bulk Issue Gift Cards"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Wyl25+": {
"context": "product inventory, checkbox description",
"string": "Active inventory tracking will automatically calculate changes of stock"
},
"WzA5Ll": {
"string": "Cannot remove user from last group"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"WzHfj8": {
"context": "successfully created gift card alert title",
"string": "Successfully created gift card"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"X/K4LI": {
"context": "label",
"string": "Normal"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"X26jCC": {
"context": "page label",
"string": "Visible"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"X6PF8z": {
"context": "entity (product, collection, shipping method) name",
"string": "Name"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"X7fqfM": {
"context": "title",
"string": "Reserved stock"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"X7jl6w": {
"string": "Orders"
},
"X8qjg3": {
"context": "inactive",
"string": "Inactive"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"X90ElB": {
"context": "dialog header",
"string": "Delete Webhook"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"X90t9n": {
"context": "product type",
"string": "Configurable"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
"XAPFHP": {
"context": "card update success alert title",
"string": "Successfully updated card balance"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"XB2Jj9": {
"context": "create app button",
"string": "Create App"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"XBfvKN": {
"string": "Order History"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"XBwpUv": {
"context": "product field",
"string": "Export Variant Weight"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XCIV8H": {
"context": "button",
"string": "Refresh"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XDBeA+": {
"context": "discount type",
"string": "Fixed amount"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XFtKV5": {
"context": "input placeholder tag",
"string": "Tag"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XGBsoK": {
"context": "dialog content",
"string": "Are you sure you want to unassign {counter,plural,one{this member} other{{displayQuantity} members}}?"
2021-01-21 13:02:47 +00:00
},
"XJSRDK": {
"context": "payment status",
"string": "Fully refunded"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XLYssG": {
"context": "assign categories to sale and save",
"string": "Assign and save"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XMrYaA": {
"context": "checkbox label",
"string": "User is active"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XMvH/d": {
"context": "button label",
"string": "ACCEPT"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XNeJay": {
"context": "section header",
"string": "Eligible Collections"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"XPiJex": {
"context": "Transaction void button - return preauthorized amount to client",
"string": "Void"
},
Static datagrid in order view (#3276) * Init datagrid * Product type and channels on datagrid * Move get cell content to utils * Add channels to storybook * Add product description to datagrid * Thubnail cell with avatar * Translations * Allow add new empty product in datagrid * Search product types * useProductForm wth save bar and exit modal * Add description to product fixture * Add loading placeholder * Remove old column picker * Sorting * Remove old ProductList * Update filter props * Add header icons * Add sort icons to datagrid column * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Remove datagrid card paddding (#3310) * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Fix empty column when save column change * Fix bottom line in layout overlap * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Filter presets select * Fix delete tab name in modal, change order preset key * Extract messages and apply cr fixes * Keep active tab when filter and search change * Apply filter in useColumnDefault --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-04-20 07:52:44 +00:00
"XPruqs": {
"string": "Order"
},
"XQBVEJ": {
"context": "order return error description when cannot refund",
"string": "Weve encountered a problem while refunding the products. Products were not refunded. Please try again."
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XRf1Bi": {
"context": "order refunded success message",
"string": "Refunded Items"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XT/ZvF": {
"context": "voucher requirement",
"string": "Minimum quantity of items"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XUU9sU": {
"context": "section header",
"string": "All Media"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XWGZLL": {
"context": "transaction reference subtitle",
"string": "Transaction reference"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XYhE8p": {
"context": "edit attribute value",
"string": "Edit Value"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XZR590": {
"context": "sale value",
"string": "Value"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"Xb6BJ9": {
"context": "error message",
"string": "Manual payments can not be refunded"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"Xel9C+": {
"context": "navigator default mode description",
"string": "Search Views and Actions"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XitW/z": {
"string": "Translation Category \"{categoryName}\" - {languageCode}"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"XkX56I": {
"context": "filters error messages value required",
"string": "Choose a value"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"XlPKAR": {
"context": "WarehouseSettings private stock description",
"string": "If enabled stock in this warehouse won't be shown"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Xm9qOu": {
"context": "product pricing, section header",
"string": "Pricing"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
🏛️ Implement new column picker (#3514) * (wip) basic column picker implementation * (wip) fix stories error * (wip) fix custom column cells & sorting * (wip) Group attributes query values in props * (wip) Add docs * (wip) fix story error * Implement new column picker in order list * Fix search input padding * Fix empty settings crash * Fix empty settings crash * Portalize popover * Preselect category when there is only one * Remove legacy code * Move product column adapters to proper directory * Improve file structure * Rename custom columns to dynamic columns * Improve strings * (wip) Implement pagination logic * Beautify pagination * Update macaw-ui * Add unit test for useColumns * Improve naming * Code review style fixes * Update docs * Remove empty column * Remove unexpected padding from attribute columns * Add min height to prevent jumping * Fix typo in column picker files * CSS fixes to popover content * Implement auto-scroll to new column * Improve docs * Improve type in useColumns reducer * Extract dynamic columns from NewColumnPicker as a smaller component * Disable movement of empty column * Fix circular loader * Do not persist expanded state when closing picker * Fix dynamic columns with long names line break * Prevent user from disabling all static columns * Simplify dynamic column reducer into flatMap * Optimistic UIbasic implementation * Make available attributes query lazy * Fix displaying arrow next to sorted column * Add explainatory comment * Fix product list stories * Fix dynamic columns and query handling for empty lists * Remove jump on first attribute selection * Remove jump on first attribute selection * Fix search * Add debounce to search * CR - base state change on previous in popover * Extract search into separate component * Rename useDynamicColumnSettings to useColumnPickerSettings * Use difference from lodash * Improve static column rendering * Improve order list * Fix stories error * Improve search for edge cases * Extract messages * Calculate more complex dynamic column adapter parameters in separate functions * Fix url pointing to CardMenu substitute * Extract nodes to separate component * Move files, remove New prefix * Extract to static columns * Refactor utility functions * Render column picker categories only when provided in props * Replace switch with if statements * Refactor to hooks * Remove comments with legacy stacing * Add spaces for better readibility * Tighten types * Add space * Add extra comments to useColumns optimistic update logic * Fix paddings * Add arbitrary min/max height for handling various resolutions * Add full-width hover & click effect on candidate columns labels * Handle long attribute names * Make column picker popover a modal * Bump macaw-ui * Fix macaw-ui type mismatch * Update types * Add data-test-id * Fix closing picker with trigger button * Replace list settings deep merging with shallow merging * Fix list settings deep merging behaviour for arrays * Replace conditional data-test-id- with close-search * Rename targetArray to columnsToCheck * Rename filterColumns to filterSelectedColumns * Rename gridAttributes query objects to more descriptive * Add explainatory comment to customizer function in useListSettings * Update strictness * Fix rendering dynamic columns
2023-06-26 09:36:01 +00:00
"Xsh2Pa": {
"context": "column picker search input placeholder",
"string": "Search for columns"
},
"Xtd0AT": {
"string": "Original String"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Xu4ech": {
"context": "deactivate app",
"string": "Are you sure you want to disable this app? Your data will be kept until you reactivate the app."
},
"XwQQ1f": {
"context": "checkbox label description",
"string": "All fulfillments will be automatically approved"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"XwrKOi": {
"context": "unassign multiple attributes from item",
"string": "{counter,plural,one{Are you sure you want to unassign this attribute from {itemTypeName}?} other{Are you sure you want to unassign {attributeQuantity} attributes from {itemTypeName}?}}"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Xy2T+y": {
"context": "header",
"string": "Edit Authorization Field"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Xy48q5": {
"string": "All webhooks registered by this app. In case of failed webhook delivery, list of attempts is displayed."
},
2023-01-30 12:06:54 +00:00
"Xz/sDf": {
"context": "Dry run items list item",
"string": "Item:"
},
"Y1B0PN": {
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
"context": "error message",
"string": "There's no payment associated with the order"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Y299ST": {
"context": "table column header",
"string": "Price"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Y3pCRX": {
"context": "attribute can be searched in storefront",
"string": "Use as filter"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Y3zr/B": {
"context": "voucher application, switch button",
"string": "Apply only to a single cheapest eligible product"
},
"Y4cy0i": {
"context": "dialog header",
"string": "Ending preorder"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Y7M1YQ": {
"context": "section header",
"string": "Customer"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"Y7UlMR": {
"context": "app extensions subsection",
"string": "Apps"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"Y9lv8z": {
"context": "product unavailability",
"string": "Unavailable for purchase"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YBqLHs": {
"context": "expiry date label",
"string": "Exact date"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YEpYMB": {
"context": "gift card export csv success alert title",
"string": "Exporting CSV"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YEv+6G": {
"context": "input helper text",
"string": "Leaving this setting empty will mean that stock wont be reserved"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YFDAaX": {
"context": "dialog title order discount",
"string": "Discount this Order by:"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YFQBs1": {
"context": "product availability date label",
"string": "Set availability date"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YHNozE": {
"context": "dialog header",
"string": "Activate App"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YI6Fhj": {
"context": "no address is set in draft order",
"string": "Not set"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"YKyNm9": {
"context": "label",
"string": "Gift Card"
},
"YMBn8d": {
"context": "draft orders section name",
"string": "Draft Orders"
},
"YQ3EXR": {
"context": "product types section name",
"string": "Product Types"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"YUaalK": {
"context": "Cancel in progress transaction amount, data display header",
"string": "Pending cancel"
},
"YVIajc": {
"context": "product field",
"string": "Description"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"YYkkhx": {
"context": "navigator section header",
"string": "Navigate to"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"YZl6cv": {
"string": "Miscellaneous"
},
"YdeHZX": {
"context": "unassign products from shipping method, button",
"string": "Unassign"
},
"YgE6ga": {
"context": "imperial unit system",
"string": "Imperial"
},
"YiC3cn": {
"context": "option description",
"string": "Allocate stock in the first warehouse in the list assigned to this channel. If stock is insufficient, the remaining quantity is allocated in the next warehouse on the list and repeated if necessary."
},
"YicEbK": {
"string": "Search Atrtibuttes"
},
"YjcN9w": {
"context": "time during voucher is active, header",
"string": "Active Dates"
2020-06-24 17:12:51 +00:00
},
"YkOzse": {
"context": "used warehouses counter",
"string": "{count}/{max} warehouses used"
},
"Ykw8k5": {
"context": "dialog title",
"string": "Delete collections"
},
"Yo2kC+": {
"string": "Couldn't process image"
},
"Yo4h/D": {
"string": "Learn more about permissions"
},
"YpLVVc": {
"context": "action",
"string": "Exclude postal codes"
},
"YpukUN": {
"context": "label",
"string": "Shipping zone name"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Ys86kI": {
"string": "Refunded amount will not be automatically returned to the customer. Youll need to decide on a method and refund via balance sheet section of the order."
},
"Yw+9F7": {
"string": "No collections found"
},
"Yxihwg": {
"context": "consent removal of gift cards with balance button label",
"string": "{selectedItemsCount,plural,one{I am aware that I am removing a gift card with balance} other{I am aware that I am removing gift cards with balance}}"
},
"Yy/yDL": {
"string": "Reset password"
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"YzLUXA": {
"string": "Ensure this value is greater than 0."
},
"Z/7hyu": {
"context": "card balance label",
"string": "Card Balance"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Z3T6zR": {
"context": "card title",
"string": "Return & Replace"
},
"Z6QAbw": {
"string": "This variant does not have any digital content"
},
"Z7Tf8e": {
"context": "stock exceeded dialog description",
"string": "Stock for items shown below are not enough to prepare fulfillment:"
Introduce fulfillment creation API (#1241) * Display warehouse name for each fulfillment (#1259) * Hide no-stocks columns in fulfillment view (#1260) * Hide no-stocks columns in fulfillment view * Update tests * Refactor * Update tests * Add fulfillment settings card (#1242) * Add fulfillment setting card * Make fulfillment approvement naming consistent * Fix mutation bug * Update types * Trigger CI * Handle fulfillment acceptance on order details page (#1255) * Handle fulfillment acceptance on order details page * Make fulfillment approvement naming consistent * Update fulfillment schema and its usage * Render history events regarding waiting fulfillments (#1265) * Add awaiting for approval fulfillment order event * Fix warehouse name * Change fulfillment quantity calculation (#1267) * Change fulfillment quantity calculation * Fix warehouse name * Update messages * Trigger CI * Refactor * Fix refactor * Fix fulfillment for no variant * Allow creating fulfillments waiting for acceptance (#1248) * Fix fulfillment page style and typescript classname types perfomance issue * Allow creating fulfillments waiting for acceptance * Make fulfillment approvement naming consistent * Update schema * Add tooltip to fulfillment savebar * Update unpaid fulfillment creation restriction * Update fulfillment cration restriction * Update test snapshots * Add possibility to cancel "waiting" fulfillments (#1288) * Allow to cancel waiting fulfillments * Add delete button to fulfillment card * Update test snapshots * Handle waiting fulfillments on refund page (#1290) * Handle waiting fulfillments on refund page * Trigger CI * Trigger CI * Calculate quantity to refund on quantityToFulfill * Update changelog * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-08-20 14:36:05 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"Z7lX6t": {
"context": "canceled fulfillment, section header",
"string": "Canceled"
},
"Z8TzWt": {
"context": "refunded fulfillment, section header",
"string": "Returned"
},
🦄 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 12:48:50 +00:00
"ZAaXfz": {
"context": "Taxes section title",
"string": "Countries"
},
"ZDJEat": {
"context": "button",
"string": "Load More"
2020-06-24 17:12:51 +00:00
},
"ZFfG4L": {
"context": "ProductTypeDeleteWarningDialog single assigned items description",
"string": "You are about to delete product type <b>{typeName}</b>. It is assigned to {assignedItemsCount} {assignedItemsCount,plural,one{product} other{products}}. Deleting this product type will also delete those products. Are you sure you want to do this?"
2020-06-24 17:12:51 +00:00
},
"ZHF4Z9": {
"context": "delete product dialog subtitle",
"string": "Are you sure you want to delete {name}?"
},
"ZIc5lM": {
"string": "Product Name"
2021-03-24 08:29:51 +00:00
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"ZJOX8n": {
"context": "alert message",
"string": "Product no longer exists"
},
2023-03-14 12:38:58 +00:00
"ZJPYFl": {
"context": "accepted header names",
"string": "Headers with in following format are accepted: <code>authorization*</code>, <code>x-*</code>"
},
"ZMy18J": {
"string": "You have reached your channel limit, you will be no longer able to add channels to your store. If you would like to up your limit, contact your administration staff about raising your limits."
2020-03-16 12:41:45 +00:00
},
"ZPOyI1": {
"context": "fulfilled fulfillment, section header",
"string": "Fulfilled from {warehouseName}"
2021-03-24 08:29:51 +00:00
},
"ZRz3hM": {
"string": "Export Product Stock Quantity to CSV"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"ZTG+Dv": {
"string": "Draft order will be automatically created for replaced products"
},
"ZWIjvr": {
"context": "dialog header",
"string": "Delete Sales"
},
"ZayvsI": {
"context": "metric unit system",
"string": "Metric"
},
"Zd3Eew": {
"context": "subsection header",
"string": "Shipping Address"
2020-02-13 11:27:37 +00:00
},
2023-01-30 12:06:54 +00:00
"ZepEWY": {
"context": "Dry run item",
"string": "Item"
},
"Zg0dRo": {
"context": "dialog description",
"string": "You have changed customer assigned to this order. What would you like to do with the shipping address?"
2020-04-29 01:47:07 +00:00
},
"ZhDQel": {
"context": "header",
"string": "Password"
},
"ZhqH8J": {
"context": "button",
"string": "Copy headers"
},
"Zhxu58": {
"context": "Fixed amount subtitle",
"string": "Fixed amount"
Refunds (#870) * 1721 - add refunds miscellaneous view (#860) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Fix refund details on order details page (#879) * Update order details view for refunds (#874) * 1719 - add refund entry to order history (#875) * Add refund order history entry * Update refund event with the right query * 1722 - add refunds product view (#873) * Create new page for Miscellaneous Refunds * Replace refund order dialog with dedicated page * Add data test ids * Create refund products table * Implement refund products view * Update refund mutation with product lines input * Fix products quantities on refund page * Fix order refund submission * Fix products refund submission input variables * Filter out fulfillments on refund page * Update refund page in storybook * Fix test snapshots after wrong refunds rebase * Set max refund as captured amount * Refund queries adjustments * Display refund values with nullish coalescing operator * Update test snapshots with refunds * Refactor order refund values calculation * Create and use refund order line fragment * Use old simple refund mutation for miscellaneous refund * Submit for refund only lines with non-zero quantity set * Fix showing refund error * Add missing refund amount to order history * Merge repeated order lines in fulfillment lines * Update order history events types and test snapshots * Update changelog with refunds changes
2020-12-01 13:13:05 +00:00
},
"Zj/7QZ": {
"context": "details title",
"string": "Details"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"ZprV2g": {
"context": "app has been installed",
"string": "{name} is ready to be used"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"Zptsep": {
"context": "order was discounted event title",
"string": "Order was discounted by"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"ZuqkSp": {
"context": "note input subtitle",
"string": "Why was this gift card issued. This note will not be shown to the customer. Note will be stored in gift card history"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"Zz67wc": {
"string": "View and update your webhooks and events."
},
"a+iRI1": {
"context": "single gift card title",
"string": "{selectedItemsCount,plural,one{Delete Gift Card} other{Delete Gift Cards}}"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a+kgkq": {
"context": "tag label",
"string": "Card Tag"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a+x05s": {
"context": "select option, button",
"string": "Select"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a/QJBx": {
"context": "user action bar",
"string": "Action"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a1uffz": {
"context": "draft created from replace products list title",
"string": "Products replaced"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a4qX2+": {
"context": "order",
"string": "Created"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a55zOn": {
"context": "section header",
"string": "Data privacy"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a5msuh": {
"string": "Yes"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"a6GDem": {
"context": "tab name",
"string": "All discounts"
},
"a9S9Je": {
"context": "page types section name",
"string": "Page Types"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aAAxKp": {
"context": "table column header",
"string": "Product"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aCJwVq": {
"context": "warehouse",
"string": "Name"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aCX8rl": {
"context": "subheader",
"string": "Here is some information we gathered about your store"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aEc9Ar": {
"context": "gift card history message",
"string": "Gift card balance was reset by {resetBy}"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
2023-08-14 06:53:56 +00:00
"aFU0vm": {
"context": "description",
"string": "or continue with"
},
"aHc89n": {
"context": "select warehouse to restock items",
"string": "Select Warehouse"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aI80kg": {
"string": "Properties"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
🦄 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 12:48:50 +00:00
"aJm/by": {
"context": "Taxes section title",
"string": "Tax classes"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"aKSUWR": {
"string": "Cannot create transaction to non-existing order"
},
"aMwxYb": {
"string": "Countries"
Bump macaw to 0.3 (#1807) * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 12:34:20 +00:00
},
"aOelhW": {
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
"context": "tab name",
"string": "All Plugins"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aPCrsp": {
"context": "shipping method name",
"string": "Name"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aPYFO1": {
"context": "expired status label",
"string": "Expired"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"aPqizA": {
"context": "ProductTypeDeleteWarningDialog multiple assigned items description",
"string": "Are you sure you want to delete selected product types? If you remove them you wont be able to assign them to created products."
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"aY0HAT": {
"context": "section header",
"string": "Sales channel"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aYhcie": {
"context": "shipping method weight range",
"string": "Weight Range"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"aZDHYr": {
"context": "price rates info",
"string": "This rate will apply to all orders"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"abTH5q": {
"context": "error message",
"string": "Email address is not set"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"abpvEI": {
"string": "Removing permissions may cause app to break."
},
"ac+Y98": {
"context": "app settings error",
"string": "Failed to fetch app settings"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"agZQkB": {
"context": "window title",
"string": "Create App"
},
"aggaJg": {
"string": "This attribute has already been assigned to this product type"
},
"aheQdn": {
"string": "Last Name"
},
"akXDST": {
"context": "section header",
"string": "Visibility"
},
"amQg6f": {
"context": "voucher status",
"string": "Active"
},
"anK7jD": {
"string": "Product Type"
},
"aq5ZiN": {
"context": "order history message",
"string": "Fulfillment confirmation was sent to customer"
},
"auxEP1": {
"context": "input placeholder",
"string": "Search by attribute name"
},
"avj76v": {
"context": "ChannelsSection subtitle",
"string": "Assign channels to this shipping zone so we know which orders will be supported"
},
"axFFaD": {
"context": "range input label",
"string": "Postal codes (end)"
},
"azj0kR": {
"string": "Adding permission allows app to have more access to your data."
},
"b+jcaN": {
"string": "There are still fulfillments created for this order. Cancel the fulfillments first before you cancel the order."
},
"b088Xv": {
"string": "App doesn't provide a description."
},
"b1t9bM": {
"context": "empty headers text",
"string": "No custom request headers created for this webhook. Use the button below to add new custom request header."
},
"b1zuN9": {
"string": "Price"
},
🦄 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 12:48:50 +00:00
"b2DlTO": {
"context": "Taxes section title",
"string": "Channels"
},
"b6L9n7": {
"context": "voucher is active until date",
"string": "Ends"
},
"b810WJ": {
"context": "product price",
"string": "Price"
},
🦄 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 12:48:50 +00:00
"bDBiac": {
"context": "dropdown or column label",
"string": "Tax class"
},
"bDHiYK": {
"context": "gift card export success alert description",
"string": "We are currently exporting your gift card codes. As soon as your file is available it will be sent to your email address"
},
"bDO9DN": {
"context": "success gift card enable message",
"string": "Successfully enabled gift card"
},
"bFhzRX": {
"string": "No products are out of stock"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"bHdFph": {
"context": "subsection header",
"string": "Address"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"bL/Wrc": {
"context": "plugin status",
"string": "Status"
},
"bNw8PM": {
"context": "number of products",
"string": "Products ({quantity})"
},
"bPFp8B": {
"context": "product type",
"string": "Product Type"
},
"bPshhv": {
"string": "Search vouchers..."
},
"bRJD/v": {
"context": "button",
"string": "Create permission group"
},
"bS7A8u": {
"context": "add tracking button",
"string": "Add tracking"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"bT71VU": {
"context": "total of all sent refunds",
"string": "Result"
},
"bVY7j0": {
"context": "Translated Name",
"string": "Translation"
},
"bVbEZ/": {
"context": "amount filter label",
"string": "Amount"
},
"bZenNC": {
"string": "Description (optional)"
2020-02-13 11:27:37 +00:00
},
"bZksto": {
"context": "product attribute type",
"string": "Dropdown"
},
"bb4nSp": {
"context": "dialog header",
"string": "Cancel Fulfillment"
},
"bcf60I": {
"context": "voucher",
"string": "Applies to"
2020-02-13 11:27:37 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"bfuxy3": {
"context": "button, create new transaction with refund amount",
"string": "Refund"
},
"bgO+7G": {
"context": "order return amount button",
"string": "Return & Replace products"
},
"bh+Keo": {
"string": "{numberOfFields} Translations, {numberOfTranslatedFields} Completed"
},
"bh9+8A": {
"context": "voucher requirement",
"string": "Minimal order value"
},
"biAxKR": {
"context": "click and collect",
"string": "Click&Collect"
},
"biDgQS": {
"context": "button, opens modal to create transaction in order",
"string": "Manual transaction"
},
"biVFKU": {
"context": "subsection header",
"string": "Billing Address"
},
"bj1U23": {
"string": "Are you sure you want to delete {menuName}?"
},
"bj6pTd": {
"string": "Something's missing"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"bk9KUX": {
"context": "ProductTypeDeleteWarningDialog single consent label",
"string": "Yes, I want to delete this product type and assigned products"
},
"blZJmA": {
"context": "ExitFormPrompt ignore changes button",
"string": "Ignore changes"
},
"bp/i0x": {
"context": "header",
"string": "Quantity"
},
"bq1eEx": {
"context": "header",
"string": "Create Product Type"
},
"bqAJCT": {
"context": "section header",
"string": "Refund Order"
},
"bsP4f3": {
"string": "No tokens found"
},
"bu/fC1": {
"context": "button",
"string": "Remove"
},
"bwJc6V": {
"context": "column title product",
"string": "Product"
},
"byP6IC": {
"string": "Selected"
},
"c0H45L": {
"string": "{amount, plural,one {One order is ready to fulfill} other {{amount} orders are ready to fulfill}}"
2021-12-16 11:36:03 +00:00
},
"c24hjq": {
"context": "status",
"string": "Active"
},
"c4gbXr": {
"string": "Draft order successfully finalized"
},
"c5fFin": {
"context": "ExitFormPrompt title",
"string": "Leave without saving changes?"
},
"c5pMZ8": {
"string": "API error"
},
"c7/79+": {
"string": "Billing Address"
},
"c8UT0c": {
"context": "tabel column header",
"string": "Channel Name"
},
"c8nvms": {
"string": "Sales"
},
"cBHRxx": {
"context": "button",
"string": "Assign Warehouse"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"cBVHN5": {
"context": "grant refund, reason input field placeholder",
"string": "Reason for refund"
},
"cFVgOo": {
"context": "Channel label",
"string": "Channel"
},
"cJ5ASN": {
"context": "attribute position in storefront filters",
"string": "Position in faceted navigation"
2020-05-04 16:07:02 +00:00
},
"cKCfSW": {
"context": "dialog header",
"string": "Unassign Products From Voucher"
},
"cKjFfl": {
"context": "product attribute type",
"string": "Multiple Select"
},
"cLcy6F": {
"string": "Number of products"
},
"cMFlOp": {
"context": "input label",
"string": "New Password"
},
"cMov2n": {
"context": "error message",
"string": "Error loading apps marketplace"
},
"cNSLLO": {
"context": "button",
"string": "Unassign and save"
},
"cOki0G": {
"string": "What happens if I deny?"
},
🏛️ Implement new column picker (#3514) * (wip) basic column picker implementation * (wip) fix stories error * (wip) fix custom column cells & sorting * (wip) Group attributes query values in props * (wip) Add docs * (wip) fix story error * Implement new column picker in order list * Fix search input padding * Fix empty settings crash * Fix empty settings crash * Portalize popover * Preselect category when there is only one * Remove legacy code * Move product column adapters to proper directory * Improve file structure * Rename custom columns to dynamic columns * Improve strings * (wip) Implement pagination logic * Beautify pagination * Update macaw-ui * Add unit test for useColumns * Improve naming * Code review style fixes * Update docs * Remove empty column * Remove unexpected padding from attribute columns * Add min height to prevent jumping * Fix typo in column picker files * CSS fixes to popover content * Implement auto-scroll to new column * Improve docs * Improve type in useColumns reducer * Extract dynamic columns from NewColumnPicker as a smaller component * Disable movement of empty column * Fix circular loader * Do not persist expanded state when closing picker * Fix dynamic columns with long names line break * Prevent user from disabling all static columns * Simplify dynamic column reducer into flatMap * Optimistic UIbasic implementation * Make available attributes query lazy * Fix displaying arrow next to sorted column * Add explainatory comment * Fix product list stories * Fix dynamic columns and query handling for empty lists * Remove jump on first attribute selection * Remove jump on first attribute selection * Fix search * Add debounce to search * CR - base state change on previous in popover * Extract search into separate component * Rename useDynamicColumnSettings to useColumnPickerSettings * Use difference from lodash * Improve static column rendering * Improve order list * Fix stories error * Improve search for edge cases * Extract messages * Calculate more complex dynamic column adapter parameters in separate functions * Fix url pointing to CardMenu substitute * Extract nodes to separate component * Move files, remove New prefix * Extract to static columns * Refactor utility functions * Render column picker categories only when provided in props * Replace switch with if statements * Refactor to hooks * Remove comments with legacy stacing * Add spaces for better readibility * Tighten types * Add space * Add extra comments to useColumns optimistic update logic * Fix paddings * Add arbitrary min/max height for handling various resolutions * Add full-width hover & click effect on candidate columns labels * Handle long attribute names * Make column picker popover a modal * Bump macaw-ui * Fix macaw-ui type mismatch * Update types * Add data-test-id * Fix closing picker with trigger button * Replace list settings deep merging with shallow merging * Fix list settings deep merging behaviour for arrays * Replace conditional data-test-id- with close-search * Rename targetArray to columnsToCheck * Rename filterColumns to filterSelectedColumns * Rename gridAttributes query objects to more descriptive * Add explainatory comment to customizer function in useListSettings * Update strictness * Fix rendering dynamic columns
2023-06-26 09:36:01 +00:00
"cPAc45": {
"context": "column picker search no results message",
"string": "No results found"
},
"cS1wAx": {
"string": "I know what I'm doing - confirm"
},
🦄 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 12:48:50 +00:00
"cVjewM": {
"context": "label for radio button",
"string": "Product prices are entered with tax"
},
"cW1RIo": {
"context": "section header",
"string": "Media View"
},
"cY42ht": {
"string": "Password cannot be entirely numeric"
},
"cY6H2C": {
"context": "empty metadata text",
"string": "No metadata created for this element. Use the button below to add new metadata field."
},
"cZN5Jd": {
"context": "Webhook details events",
"string": "Events"
},
"caMMWN": {
"string": "Search Warehouse"
},
"caqRmN": {
"context": "header",
"string": "Create Page Type"
},
"ccXLVi": {
"string": "Category"
},
"cd13nN": {
"context": "product attribute error",
"string": "All attributes should have value"
},
"cdiRSf": {
"context": "WarehouseSettings no shipping zones assigned",
"string": "This warehouse has no shipping zones assigned."
},
"cdxwA8": {
"string": "{amount, plural,one {One product out of stock}other {{amount} products out of stock}}"
},
"cfQf0w": {
"context": "button",
"string": "Create Order"
},
"cgsY/X": {
"context": "page header",
"string": "Create New Category"
},
"chvryR": {
"context": "order history message",
"string": "Invoice was requested by {requestedBy}"
},
"cnvyqW": {
"context": "ChannelsSection select field placeholder",
"string": "Add Channel"
},
"cpZLRH": {
"context": "dialog header",
"string": "Delete Shipping Zones"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"cpnYcM": {
"context": "Order summary card title",
"string": "Order summary"
},
"cqZ5UH": {
"context": "order history message",
"string": "Order confirmation was sent to customer"
},
"cryH86": {
"context": "assign collections to sale and save",
"string": "Assign and save"
},
"cvVIV/": {
"context": "dialog header",
"string": "Assign Countries"
},
"cvbqJu": {
"context": "attribute",
"string": "Visible on Product Page in Storefront"
},
"cwoN25": {
"context": "config type section title",
"string": "Configuration Type"
},
"cy8sV7": {
"context": "volume units types",
"string": "Volume"
},
"d68yq7": {
"string": "Delete gift cards"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"d7dT8o": {
"context": "button, sets granted refund amount in input",
"string": "Set max"
},
"d9UqaJ": {
"context": "error message",
"string": "Cannot change the quantity because of insufficient stock"
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"dDCLFW": {
"context": "alert message",
"string": "Not available for sale this channel"
},
"dEUZg2": {
"context": "header",
"string": "Menu Items"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"dGqEJ9": {
"context": "search box placeholder",
"string": "Search by country name"
},
"dJQxHt": {
"context": "delete category",
"string": "Are you sure you want to delete {categoryName}?"
},
"dJVXIb": {
"context": "vat included in order price",
"string": "VAT included"
},
"dM86a2": {
"string": "No categories found"
},
"dOQB9o": {
"context": "payment status",
"string": "Cancelled"
},
"dPYqy0": {
"string": "We are currently exporting your requested CSV. As soon as it is available it will be sent to your email address"
},
"dS+SOT": {
"context": "header",
"string": "Column settings"
},
"dS8Adx": {
"context": "product",
"string": "Digital"
},
"dTCWqt": {
"string": "You are about to end your products preorder. You have sold {variantGlobalSoldUnits} units of this variant. Sold units will be allocated at appropriate warehouses. Remember to add remaining threshold stock to warehouses."
},
"dTkmON": {
"context": "edit tracking button",
"string": "Edit tracking"
},
"dWK/Ck": {
"string": "Choose countries, you want voucher to be limited to, from the list below"
},
"dc5KWn": {
"context": "products export type label",
"string": "products"
},
"diOQm7": {
"context": "product status",
"string": "Available"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"dnbJKr": {
"string": "This transaction doesn't have any events"
},
"dsJ+Wv": {
"context": "note on export gift cards",
"string": "Note: Only active and not used gift cards will be expored"
},
"dxCVWI": {
"context": "error message",
"string": "Cannot request an invoice for draft order"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"e+L+q3": {
"string": "Remember this will also delete all products assigned to this category."
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"e/61NZ": {
"context": "current balance filter label",
"string": "Current balance"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
2023-07-18 10:01:15 +00:00
"e08xWz": {
"context": "header",
"string": "Top products"
},
"e0RKe+": {
"context": "generate invoice button",
"string": "Generate"
},
"e1vU/4": {
"context": "attribute is filterable in storefront",
"string": "Use as filter"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"e4UtKH": {
"context": "Transaction event status - failure",
"string": "Failure"
},
"e5Mlfh": {
"context": "Transaction title",
"string": "Gift card (**** {code})"
},
"e7Nyu7": {
"context": "section header",
"string": "Customer History"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"e7yOai": {
"context": "shipping address is not set in draft order",
"string": "Not set"
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"e822us": {
"string": "Please note, while all currency and date adjustments are complete, language translations are at varying degrees of completion."
Feature - channels per plugin (#1093) * Update schema * Update queries, mutations, and types * Add render with dividers util function * Add plugin details channels card component * Update plugin details to use channels * Update stories * Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match" * Update schema * Update types * Update plugins list to show channels and global statuses, add plugin channel status, update status label component * Add render with dividers util function * Comment out some stuff for types to match - temporary * Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more * Change filters logic to be able to display multiple fields in a field section and add it to plugins view * Add scroll option to plugin availability popup on plugin list * Fix plugin list page story * Temporarily comment some stuff out, fix some types * Add filters errors WIP * Fix filters not updating list * Add error handling to plugins list filters and filters in general * Rename some components according to review * Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly * Fix imports * Move render collection with dividers to a component, fix usages * Replace channels with load more and search query to base channels query * Change render with dividers function to take in a component instead of render function * Update tests * Extract messages * Remove unnecessary imports * Fix filters - autocomplete messing items order sometimes & some fields not working * Update plugin update mutation variables - change channelId to channel * fix failing tests * Add test ids * fix failing tests * fix failing tests * Rename misc.tsx to ts * Remove usage of render collection with diviers, change it to CollectionWithDividers component * Remove unnecessary imports * Update messages ids * Update snapshots Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
},
"e92Uxp": {
"context": "order history message",
"string": "Updated fulfillment group's tracking number"
},
"eAFU/E": {
"context": "product inventory, checkbox",
"string": "Variant currently in preorder"
},
"eIGXwJ": {
"context": "Alert text",
"string": "You are using an old version of filter presets. The following presets: {presetNames} must be updated to continue using filters"
},
"eKEL/g": {
"string": "Pending"
},
"eLJQSh": {
"context": "column title gift card",
"string": "Gift Card"
},
"eOrLzG": {
"context": "button",
"string": "Done"
},
"eQ7bCN": {
"string": "App Webhooks"
},
"eRqx44": {
"string": "Search collections..."
},
"eUjFjW": {
"string": "Permission group created"
},
2023-04-12 07:11:11 +00:00
"eW36Jx": {
"string": "Saved search queries will appear here"
},
"eWV760": {
"string": "Attribute with this slug already exists"
},
"eWcvOc": {
"context": "button",
"string": "Choose file"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"egBBQ/": {
"context": "all captured amount from transactions in order",
"string": "Captured"
},
"erC44f": {
"context": "filters error messages dependencies missing",
"string": "Filter requires other filters: {dependencies}"
},
"etP0+D": {
"string": "Vouchers"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"eu98dw": {
"string": "Invalid password"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"euRfu+": {
"string": "Are you sure you want to void this payment?"
Feature - Gift Cards (#1366) * Add deletion to gift cards (#1298) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fixes after review * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Add enable / disable section to gift card update * Refactor * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update schema and types, add gift card delete and bulk delete mutations * Fix url change after gift card delete * Refactor * Update messages * Change gift card list providers order * Refactor/fix after merge * Add gift card resend mutation and update types * Add use dialog form reset hook and make update balance dialog use it, to fix it displaying form errors after modal close and open * Add gift card resend code dialog * Add button to open gift card resend code dialog * Update messages * Add gift card list bulk enable disable section * Add refetching gift card list query after bulk activate / deactivate, refactor * Refactor * Refactor * Update messages * Update schema * Change gift card update expiry settings * Refactor * Add gift card settings view (#1300) * Add gift card settings view * Refactor * Create gift card sttings expiry select * Update test snapshots * Update schema * Update gift card settings page title * Refactor to match rest of the gift cards flow (#1308) Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Refactor * Refactor * Set common error codes in string union Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com> * Add gift card kind to product type (#1307) * Add gift card kind to product type * Fix radio label alignment * Update test snapshots * Refactor * Set default kind in product type create * Change styling of activate / deactivate button in gift card update * Add week option to time period select field * Update messages * Change labels and update messages * Add auto fulfill non shippable gift cards to order settings * Fix fixture * Update messages * Update snapshots * Refactor * Update types * Add gift card used in order money amount in order payment section * Remove unnecessary schema changes * Change types * Update fixtures and messages * Refactor * Add top card to gift card list (#1327) * Add top card to gift card list * Update no gift card products notification messages * Use alert instead of notification * Update prodduct and product type counts * Return null if none of the conditions pass * Update messages * Fix unused product type deletion * Update types * Update imports * Update messages * Update test snapshots * Change gift card dialog expiry settings * Update form of create gift card dialog * Add activation option to create gift card dialog * Update event handling * Update test snapshots * Use date context provider for moment time * Update types * Refactor * Update messages * Update snapshots * Add channel picker to gift card create modal * Fix styling * Add channel picker to gift card resend code dialog * Update schema and types * Refactor * Update messages * Refactor * Update messages and snapshots * Fix order gift card money amount (#1371) * Update messages and snapshots * Fix order gift card money in payment card when multiple gift cards used * Fix missing order id check in gift card events in order gift card money used util * Fix channel selection in gift card create dialog * Fix order number not showing in gift card update view * Add gift card settings to gift card create dialog (#1372) * Fix gift cards number inputs to accept floats * Fix order number showing as null in gift card update info card * Fix channel slug adding in gift card create dialog * Fix gift card list header top card links to display correctly * Remove unused imports Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-09-14 13:57:02 +00:00
},
"exvX+Z": {
"context": "export card codes menu item",
"string": "Export card codes"
},
"ey0lZj": {
"context": "dialog header",
"string": "Delete Customer"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"f/Drvo": {
"context": "order history message",
"string": "Transaction cancel requested"
},
"f/R1Ln": {
"context": "restocked group",
"string": "Restocked from:"
},
"f0hXz4": {
"context": "dialog header",
"string": "Search Collection"
},
"f2F1NJ": {
"context": "section title",
"string": "Quick Pick"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"f2WJW7": {
"context": "transaction event type, amount was captured from client",
"string": "Capture"
},
"f3B4tc": {
"context": "attributes, section header",
"string": "Variant Attributes"
},
"f3hf+w": {
"string": "App doesn't provide a privacy policy."
},
"f91E8b": {
"context": "app repository",
"string": "Repository"
},
"fEfCtO": {
"context": "voucher discount type",
"string": "Percentage"
},
"fExm0/": {
"context": "gift card history message",
"string": "Gift card was activated by {activatedBy}"
},
"fLhj3a": {
"context": "gift card history message",
"string": "Gift card expiry date was updated"
},
"fNFEkh": {
"string": "No of Rows:"
},
"fP9FXB": {
"context": "input label",
"string": "Search Attributes"
},
"fU+a9k": {
"context": "date attribute type",
"string": "Date"
},
"fV6yX5": {
"context": "table head",
"string": "Category Name"
},
"fbH51z": {
"context": "Amount error message",
"string": "Amount cannot be bigger than max refund"
},
"fehqPs": {
"context": "order history message",
"string": "Products were deleted from an order"
},
"fgHLXc": {
"context": "attribute value",
"string": "Value"
},
"fhksPD": {
"string": "Number of Orders"
},
2023-01-30 12:06:54 +00:00
"fi9Qa/": {
"context": "Dry run dialog header",
"string": "Dry run"
},
"fjPWOA": {
"context": "header",
"string": "Customer Overview"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"fkgack": {
"context": "button, sends refund for transaction",
"string": "Request refund"
},
"fkplbE": {
"context": "order history message",
"string": "Order was marked as paid"
},
"flP8Hj": {
"context": "card description",
"string": "Expand or restrict app permissions to access certain part of Saleor system."
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"flnL3R": {
"context": "sum of pending amount (any status) in order's transactions",
"string": "Pending"
},
"fo7nfa": {
"context": "fixed amount",
"string": "Fixed Amount"
},
"foB6wx": {
"context": "weight based shipping methods, section header",
"string": "Weight Based Rates"
},
"foNlhn": {
"context": "custom app name",
"string": "App Name"
},
"fqJXzO": {
"context": "order history message",
"string": "Transaction refund requested"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"fsBsMy": {
"context": "button, form submit, grant refund create",
"string": "Grant refund"
},
"ftOPoy": {
"context": "bulk actions button label",
"string": "Unpublish"
},
"ftcHpD": {
"string": "Customer created"
},
"fuFCpI": {
"context": "allow unpaid orders checkbox label",
"string": "Allow unpaid orders"
},
"fw+VAN": {
"context": "product's sku",
"string": "SKU"
},
"fyE8BN": {
"context": "product organization, header",
"string": "Organization"
},
"fzDI3A": {
"context": "add link to navigation",
"string": "Link to: {url}"
},
"fzk04H": {
"context": "dialog title",
"string": "Delete image"
2020-02-13 11:27:37 +00:00
},
"fzl482": {
"context": "expires on label",
"string": "Will expire on:"
},
"fzpXvv": {
"string": "Are you sure you want to remove {email} avatar?"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"g+GAf4": {
"context": "product visibility",
"string": "Visibility"
Page types (#807) * Create attribute class selector * Use ProductAttributeType to check if product is simple or with variants * Allow attribute class selection only during its creation * Update attribute type selection translations * Show only product attributes in columns picker on product list view * Cleanups in Attribute Organization component * Create Page Types list page * Create content management section in settings * Implement page types list view * Remove unused imports from page type list * Updatte page type list style * Remove legacy code from page type list component * Update PageTypeListPage component * Create Page Types details page * Fix page type attribute reordering * Implement PageType create view * Implement PageType update view * gUpdate page type details components * Fix page type update component * Update page type components stories * Update page type errors handling * Update page type details view * Create Page Types details page * Implement PageType create view * Update product attribute assignment mutations * Add page types attribute assignment mutations * Add page types attribute assignment handling * Temporarily fix page create mutation * Update page type error messages * Remove legacy storybook page type stories * Update attribute assignment dialogs stories * Update page type details error handling * Update props for page type components * Create attribute class selector * Implement page types list view * Add page type selector on page create and details views * Add attributes list to page details views * Update page types list * Use attribute errors for attributes muatations * Save attribute values on page create and update * Update messages for page view * Update page attributes fragment * Use AttributeError in AttributeBulkDelete * Update page type and its attribute selection * Handle page types deleting * Update page types deleting messages * Handle page types attribute reorder * Fix PageOrganizeContent component types * Update graphqql types * Fix page fixture * Update messages * Update test snapshots * Pass pageTypes to PageForm * Update changelog with page type addition note * Update package-lock * Update test snapshots * Fix malformed generated type * Update messages after rebase
2020-11-19 14:42:14 +00:00
},
"g/BrOt": {
"string": "Url has invalid format"
},
"g0GAdN": {
"string": "Delete attributes"
},
"g3qjSf": {
"context": "button",
"string": "Assign categories"
},
"g5zIpS": {
"context": "No attribute values found",
"string": "No values found"
},
"g6yuk2": {
"context": "export items to csv file, choice field label",
"string": "Export information for:"
},
"g9Mb+U": {
"context": "change warehouse dialog title",
"string": "Change warehouse"
},
"gAqkrG": {
"context": "gift card history message",
"string": "Gift card was deactivated by {deactivatedBy}"
},
"gKdGxP": {
"context": "error message",
"string": "Only pre-authorized payments can be captured"
},
"gMwpNC": {
"context": "page content",
"string": "Content"
2020-08-13 11:28:29 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"gNm1li": {
"context": "Refunded transaction amount, data display header",
"string": "Refunded"
},
"gQGUsN": {
"context": "dialog title",
"string": "Edit Address"
},
"gRa/TS": {
"context": "shipping zone",
"string": "Name"
},
"gSQ0Ge": {
"string": "Variant {name} has been set as default."
},
"gTr0qE": {
"string": "Shipping Settings"
},
"gVD1os": {
"context": "empty list message",
"string": "You havent assigned any member to this permission group yet."
},
"gZHmaV": {
"context": "plugin filters error messages channels",
"string": "No channels selected"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"gaOXvo": {
"context": "notification, form submitted",
"string": "Refund grant for order #{orderNumber} was updated"
},
"ghGLbJ": {
"context": "OrderPayment click&collect shipping method",
"string": "click&collect"
2020-08-13 11:28:29 +00:00
},
"ghje1I": {
"context": "numeric attribute unit system",
"string": "System"
},
"giF5UV": {
"context": "sale end date",
"string": "Ends"
},
"gj3MUg": {
"context": "gift card history message",
"string": "Gift card was resent"
},
"gksZwp": {
"context": "button",
"string": "Create product type"
},
"glT6fm": {
"string": "Voucher is limited to these countries"
},
"gr+oXW": {
"context": "page title",
"string": "Title"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"gr1BBC": {
"string": "Transaction action requested successfully"
},
"gr53VQ": {
"context": "page header",
"string": "Create Page"
},
"grkY2V": {
"string": "You don't have access to any channels"
},
"gvOzOl": {
"string": "Page Title"
},
"gx4wCT": {
"context": "swatch attribute type",
"string": "Swatch"
},
"gxPjIQ": {
"string": "Are you sure you want to delete {email} from staff members?"
},
"gygOA1": {
"context": "button",
"string": "Deactivate"
},
"gz9v22": {
"context": "PluginChannelConfigurationCell channel title",
"string": "Per channel"
},
"h1rPPg": {
"context": "dialog content",
"string": "Are you sure you want to delete {attributeName}?"
},
"h2Hta6": {
"context": "caption",
"string": "If enabled, attribute will be accessible to customers."
},
"h2hEKV": {
"context": "search gift card placeholder",
"string": "Search gift cards, e.g {exampleGiftCardCode}"
},
"h5r9+x": {
"context": "sort shipping methods by zone, section header",
"string": "Shipping By Zone"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"h75GAF": {
"context": "voucher",
"string": "Times used"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"hAoqp6": {
"string": "Failed to save permissions. Refresh the page and try again."
},
"hHOI7D": {
"context": "product type name",
"string": "Type Name"
},
"hHv0ih": {
"string": "If left unchecked it creates a"
},
"hJZwTS": {
"string": "Email address"
},
"hJrzlT": {
"context": "tab name",
"string": "All content"
},
"hLOEeb": {
"context": "button",
"string": "Set as default billing address"
},
"hLSgWj": {
"context": "warehouse label number available of products",
"string": "{productCount} available at this location"
},
"hLUYBt": {
"context": "payment status",
"string": "Pending"
},
"hMRP6J": {
"string": "Default Address"
},
"hOxIeP": {
"string": "Availability"
},
"hPB89Y": {
"string": "No invoices to be shown"
},
"hS+ZjH": {
"context": "delete webhook",
"string": "Are you sure you want to delete this webhook?"
},
"hTLCC2": {
"context": "channel publication date",
"string": "Will become published on {date}"
},
"hVPucN": {
"string": "Light Mode"
},
"hWO1SD": {
"context": "order history message",
"string": "Draft order was created"
},
"hX5PAb": {
"string": "No results found"
},
"hkENym": {
"string": "Customer"
},
"hkSkNx": {
"string": "Search Customers"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"hnBvH7": {
"context": "copied to clipboard alert title",
"string": "Copied to clipboard"
},
"hnRRUe": {
"context": "docs link label",
"string": "Learn more..."
},
"ho75Lr": {
"context": "status label deactivated",
"string": "Deactivated"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"hoii+4": {
"context": "heading, sum of all completed refunds from transactions in order",
"string": "Refunded"
},
"hpMcW8": {
"string": "Define how users can navigate through your store"
},
"hptDxW": {
"context": "money",
"string": "to {money}"
},
"hqVMLQ": {
"context": "button",
"string": "Send"
},
"ht9yOD": {
"context": "table head",
"string": "Collection Name"
},
"htvX+Z": {
"string": "Deny"
},
"hw9Fah": {
"context": "button",
"string": "Send invite"
2020-06-17 10:12:37 +00:00
},
"hz+9ES": {
"context": "bulk activate label",
"string": "Activate"
},
"hzSNj4": {
"string": "Dashboard"
2020-06-17 10:12:37 +00:00
},
"i+JSEZ": {
"string": "{counter,plural,one{Are you sure you want to cancel this order?} other{Are you sure you want to cancel {displayQuantity} orders?}}"
},
"i+Vox0": {
"context": "invoice generating has finished, header",
"string": "Invoice Generated"
},
"i/ZhxL": {
"context": "section header returned",
"string": "Fulfillment waiting for approval"
},
"i0AcKY": {
"context": "notification message after log in",
"string": "Just to let you know... You're in demo mode. You can play around with the dashboard but can't save changes."
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"i3Mvj8": {
"context": "product attribute error",
"string": "This variant already exists"
},
"i56GGQ": {
"context": "order refund amount",
"string": "Replaced Products Value"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
"iAvKNf": {
"context": "navigator help mode description",
"string": "Display Help"
},
"iBSq6l": {
"context": "sale start date",
"string": "Starts"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"iBW3rG": {
"context": "button",
"string": "Apply"
},
"iERn5G": {
"context": "header name input",
"string": "Should start with `x-` or `authorization`"
},
"iEeIhY": {
"context": "draft order",
"string": "Customer"
Add Gift Cards #1 (#1291) * Add gift cards section to menu and add empty list component * Update messages * Change styling of app wide page header to match design * Add gift cards list table wip * Update prop name for status chip component to make it more consistent with other components * Replace old trash icon with new one * Add Size type based on action dialog sizes to be used app wide * Add delete icon button * Add new sizes option to status chip component * Add / update gift cards list components * Add bulk actions type * Work on gift cards list WIP * Small refactor * Fix styling of gift cards table * Remove temp files * Remove unnecessary type * Add gift cards section to menu and add empty list component * Update schema and types * Add link to gift card update page to gift cards list and add route to gift cards index * Extract order page title with status chip into a separate generic component and use it in order page title * wip * Update money component * Add gift card details card balance section * Refactor gift card details * Add vertical spacer component * Update schema and types * Add gift card tag input component along with necessary queries * Add gift card tag input to gift card update page * Add gift card update details card expiry section WIP * Add time period select field WIP * Post rebase refactor * Add time period select field to gift card update view * Fixes after review * Update schema, types and gift cards query * Add getFullName util function and replace existing manual usages * Add text with select field component * Add gift card update info card and refactor * Fix import * Add displaying order link in gift card update * Refactor * Connect gift card list to api * refactor * Add gift card create dialog * Fix gift card list styles, change location for gift card list query, minor refactor * Fix menu structure data for gift cards * Add channel currencies type to shop * Refactor text with select field * Add gift card expiry select component * Add gift card error type and fragment * Update global types * Add default prop to getFormErrors function * Move gift card details provider to providers dir * Update global utils with mapSingleValueNodeToChoice function * Update gift card tag input * Move and refactor time period field * Update schema * move format money function to other money ulities * Update gift card urls * Add content or skeleton component * Add gift card create util for extracting expiry settings input data * Remove content or skeleton component and move displaying logic to existing skeleton * Move displaying logic of gift card create dialog to list * Refactor * Add hooks for gift card bulk actions and gift card list to be used instead of context directly * Fix types for text with select field + add parsing for number typed field * Add initial currency to gift card create form * Fix gift card create dialog closing animation * Add gift card update info card * Refactor gift card update details card * Add gift card balance dialog * Move gift card update form providers to providers dir * Connect gift card update page to api, add necessary contexts etc. * Refactor * Refactor * Add hooks to use instead of gift card contexts directly * Fix types * Fix text field target name missing in passed event in text with select field * Add minimal value option to text with select field, add to gift card inputs * Fix gift card update balance dialog not changing hasChanged prop after submit * Refactor * Fix update balance dialog crashing the app when enetered wrong amount * Fix gift card list table header styles * Add enable / disable section to gift card update * Refactor * Refactor * Refactor * Add metadata to gift card update * Update messages ids * Refactor * Refactor * Refactor * Refactor * Update types after rebase * Fix types * Fixes after qa * Fix tests
2021-08-16 13:44:00 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"iFM716": {
"context": "grant refund, refund card subtitle",
"string": "How much money do you want to return to the customer for the order?"
},
"iIfq2+": {
"context": "Transaction cancel button - return preauthorized amount to client",
"string": "Cancel"
},
"iMJka8": {
"string": "No pages found"
},
"iPk640": {
"context": "dialog header",
"string": "Media Selection"
},
"iQxjow": {
"context": "section header",
"string": "Content Attributes"
},
"iUIn50": {
"context": "section notice",
"string": "Unfulfilled products will be restocked"
},
"iUy2dx": {
"context": "vouchers section name",
"string": "Vouchers"
},
"iWyoZn": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to unassign this variant?} other{Are you sure you want to unassign {displayQuantity} variants?}}"
},
"ibnmEd": {
"context": "voucher country range",
"string": "Countries"
},
"icb1fc": {
"context": "tooltip",
"string": "Stock allocations occur when:"
},
"icz/jb": {
"context": "customer",
"string": "Join Date"
},
"idr+JK": {
"context": "assign reference to a page, button",
"string": "Assign and save"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"if9gAZ": {
"context": "Transaction event status - unknown status, info without event data",
"string": "Info"
},
"ij7olm": {
"context": "error message",
"string": "This fulfillment cannot be cancelled"
},
"ikM00B": {
"context": "table column header",
"string": "Replace"
},
"ikRuLs": {
"context": "translation progress",
"string": "{current} of {max}"
},
"imYxM9": {
"context": "header",
"string": "App Information"
},
"isM94c": {
"context": "create service token, button",
"string": "Create"
2020-07-13 16:51:05 +00:00
},
"iue6mV": {
"context": "option label",
"string": "Keep address"
2020-07-13 16:51:05 +00:00
},
"ivJ1qt": {
"string": "Manage your permission groups and their permissions"
},
"ixjvkM": {
"string": "Weve created your default token. Make sure to copy your new personal access token now. You wont be able to see it again."
},
"izJvcM": {
"context": "label",
"string": "Search pages"
},
"j/Oo0B": {
"context": "bulk actions button label",
"string": "Publish"
},
"j/vV0n": {
"context": "channel name",
"string": "Channel Name"
},
"j0ugM4": {
"context": "Manage and Update your warehouse information",
"string": "Exchange Rates"
},
"j2fPVo": {
"string": "Order successfully updated"
2020-04-29 01:47:07 +00:00
},
"j2l6cL": {
"context": "checkbox label",
"string": "Set gift card expiration period"
},
"j3yE7I": {
"context": "order history message",
"string": "Shipping tracking number was sent to customer"
2020-04-29 01:47:07 +00:00
},
"j8PV7E": {
"context": "attribute values",
"string": "Values"
},
"jBu2yj": {
"context": "acre-inch unit",
"string": "acre-inch"
},
"jDIRQV": {
"context": "section header",
"string": "About this app"
2020-04-29 01:47:07 +00:00
},
"jDovoJ": {
"context": "gift card history message",
"string": "Gift card was issued"
2020-05-07 11:28:07 +00:00
},
"jFrdB5": {
"string": "Product Settings"
},
"jGGnSZ": {
"context": "page header",
"string": "Primary Address"
},
"jHJmjf": {
"string": "No results"
},
🦄 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 12:48:50 +00:00
"jMzyU8": {
"context": "tax classes card header",
"string": "Tax classes"
},
"jTifz+": {
"string": "Successfully created attribute"
2020-09-24 11:44:19 +00:00
},
"jU9GPX": {
"context": "section header",
"string": "Organize Content"
2020-09-24 11:44:19 +00:00
},
"jUuHVn": {
"context": "description",
"string": "No members found"
2020-09-24 11:44:19 +00:00
},
"jVjsVq": {
"context": "App by Author",
"string": "by"
},
"jWna9Q": {
"string": "Content Type Name"
},
"jXf/9p": {
"context": "product availability",
"string": "Hide in product listings"
},
"ja+tNj": {
"string": "requests access to new permissions."
},
"jd/LWa": {
"string": "Voucher applies to all countries"
},
"jhh/D6": {
"string": "Menu Title"
},
"jj3Cb8": {
"context": "informations about product prices etc, header",
"string": "Financial Information"
},
"jmh0rV": {
"context": "no gift card products alert message",
"string": "{createGiftCardProduct} to start selling gift cards in your store."
},
"jqJqdE": {
"context": "VariantDetailsChannelsAvailabilityCard no items available",
"string": "This variant is not available at any of the channels"
},
"jswILH": {
"context": "add attribute as column in product list table",
"string": "Add to Column Options"
},
"ju8zHP": {
"string": "Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate"
},
"juBV+h": {
"string": "End Hour"
},
"juxCV3": {
"context": "dialog header",
"string": "Assign product"
},
"jvKNMP": {
"string": "Discount Code"
},
"jvo0vs": {
"string": "Save"
},
"jxoMLL": {
"context": "product field",
"string": "Collections"
},
"jyaAlB": {
"context": "button",
"string": "Create collection"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"jz2SlO": {
"context": "refunded fulfillment, section header",
"string": "Replaced"
},
"k+HcTv": {
"context": "product type",
"string": "Type"
2020-04-29 01:47:07 +00:00
},
"k/mTEl": {
"context": "distance units type",
"string": "Distance"
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"k0rGBI": {
"string": "Access token is used to authenticate service accounts"
},
"k3EI/U": {
"context": "dialog header",
"string": "Delete Shipping Zone"
},
"k4brJy": {
"string": "SKU"
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"k5lHFp": {
"context": "app data privacy link",
"string": "Learn more about data privacy"
},
"k6WDZl": {
"context": "attribute is visible",
"string": "Visible"
2020-04-29 01:47:07 +00:00
},
"k6sfZr": {
"context": "tooltip content when product is in preorder",
"string": "This product is still in preorder. You will be able to fulfill it after it reaches its release date"
},
"k8bltk": {
"string": "No Results"
2020-04-29 01:47:07 +00:00
},
"k9hf7F": {
"context": "total order price",
"string": "Total"
2020-04-29 01:47:07 +00:00
},
2022-07-19 14:16:43 +00:00
"kEAjZV": {
"context": "rich text attribute type",
"string": "Rich Text"
},
"kErneR": {
"string": "This customer doesnt have any adresses added to his address book. You can add address using the button below."
2020-04-29 01:47:07 +00:00
},
"kFQvXv": {
"string": "You have reached your warehouse limit, you will be no longer able to add warehouses to your store. If you would like to up your limit, contact your administration staff about raising your limits."
2020-04-29 01:47:07 +00:00
},
"kFYlu2": {
"string": "Saleor runs in read-only mode. Changes not saved."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"kFkMoG": {
"context": "set balance dialog subtitle",
"string": "What would you like to set cards balance to. When you change the balance both values will be changed"
},
"kFkPWB": {
"string": "Number"
},
"kFsTMN": {
"string": "Delete customers"
},
"kIcyUo": {
"context": "column header",
"string": "Slug"
},
"kIvvax": {
"string": "Search Products..."
},
"kJQczl": {
"context": "sales section name",
"string": "Sales"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"kJYa8Y": {
"context": "grant refund, refund card calculated refund value",
"string": "Selected refund value:"
},
"kMziE/": {
"string": "PSP Reference"
},
"kN6SLs": {
"string": "Min Value"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"kPIZ65": {
"context": "page header",
"string": "Order #{orderNumber}"
},
"kQq6/o": {
"context": "info when addresses search is unsuccessful",
"string": "No results found"
},
"kS5Qgk": {
"context": "used by label",
"string": "Used by"
},
"kTr2o8": {
"string": "Attribute name"
},
"kVKTwC": {
"context": "order expiration card title",
"string": "Order expiration"
},
"kVOslW": {
"context": "reason for discount label",
"string": "Reason for discount"
},
"kVTWtR": {
"context": "product updated at",
"string": "Last updated"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"kWw0fr": {
"string": "Grant refund"
},
🦄 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 12:48:50 +00:00
"kXqn6A": {
"context": "table header column",
"string": "Charge taxes"
},
"kYYbrv": {
"context": "channel publication date",
"string": "Published since {date}"
},
"kYtxJ1": {
"context": "delete app",
"string": "Deleting {name}, you will remove installation of the app. If you are paying for app subscription, remember to unsubscribe from the app in Saleor Marketplace."
},
"kZfIl/": {
"string": "These are general information about this Content Type."
},
"kak5vT": {
"context": "order refund amount",
"string": "Selected Products Value"
},
"kbkjEc": {
"context": "navigator catalog mode description",
"string": "Search in Catalog"
2020-04-29 01:47:07 +00:00
},
"kc4c4d": {
"context": "product label",
"string": "Product bought to get gift card"
2020-04-29 01:47:07 +00:00
},
"kcMVsB": {
"context": "balance amound missing error message",
"string": "Balance amount is missing"
},
"kdRcqU": {
"string": "Search customers..."
},
"kgVqk1": {
"string": "Category name"
},
"ki7Mr8": {
"context": "product export to csv file, header",
"string": "Export Settings"
},
"kkIw+l": {
"context": "replacement created order history message draft number",
"string": "Draft #{orderNumber}"
2020-04-29 01:47:07 +00:00
},
"kn7jjd": {
"context": "section header",
"string": "General settings"
},
"kp2IYP": {
"context": "option",
"string": "Gift card product type"
},
"kpRxSA": {
"context": "Require email confirmation link",
"string": "Require email confirmation link"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"kuo4fW": {
"context": "dialog title",
"string": "Capture manual transaction"
},
"kvSYZh": {
"context": "replacement created order history message description",
"string": "was created for replaced products"
},
"l1/Hwb": {
"context": "invalid date in expirydate field header",
"string": "Incorrect date entered"
},
"l2oVCF": {
"context": "attributes section name",
"string": "Attributes"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"l3iOju": {
"context": "transaction event type, transaction was refunded to client",
"string": "Refund"
},
"l5V0QT": {
"context": "boolean attribute type",
"string": "Boolean"
},
"l9ETHu": {
"context": "checkbox label description",
"string": "You will be able to fulfill products without capturing payment for the order."
},
"l9Lwjh": {
"context": "order return error title when cannot refund",
"string": "Couldn't refund products"
},
"lCPxtT": {
"context": "resend code label",
"string": "Resend code"
},
"lCxfDe": {
"context": "attribute properties regarding dashboard",
"string": "Dashboard Properties"
},
"lEG/12": {
"context": "Webhook subscription query card title",
"string": "Subscription Query"
},
"lF+VJQ": {
"context": "Shipment information card header",
"string": "Shipment information"
},
"lG/MDw": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to delete this attribute?} other{Are you sure you want to delete {displayQuantity} attributes?}}"
},
"lGlDEH": {
"context": "header",
"string": "Group members"
},
"lHccsy": {
"context": "table head",
"string": "Variant Name"
},
"lJP1iw": {
"context": "order",
"string": "Channel"
2020-10-01 17:02:21 +00:00
},
"lL1HTg": {
"string": "Order marked as paid"
},
"lL3YJO": {
"context": "collection",
"string": "Published"
},
"lLwtgs": {
"string": "Variants are disabled in this product type"
},
Static datagrid in order view (#3276) * Init datagrid * Product type and channels on datagrid * Move get cell content to utils * Add channels to storybook * Add product description to datagrid * Thubnail cell with avatar * Translations * Allow add new empty product in datagrid * Search product types * useProductForm wth save bar and exit modal * Add description to product fixture * Add loading placeholder * Remove old column picker * Sorting * Remove old ProductList * Update filter props * Add header icons * Add sort icons to datagrid column * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Remove datagrid card paddding (#3310) * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Fix empty column when save column change * Fix bottom line in layout overlap * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Filter presets select * Fix delete tab name in modal, change order preset key * Extract messages and apply cr fixes * Keep active tab when filter and search change * Apply filter in useColumnDefault --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-04-20 07:52:44 +00:00
"lNZuWl": {
"string": "All orders"
},
"lOMgms": {
"context": "fulfillment group",
"string": "Fulfilled from:"
},
"lQRnYK": {
"context": "selectt all options",
"string": "Select All"
},
"lSd5Zo": {
"context": "app permissions label",
"string": "None"
},
"lT5MYM": {
"context": "dialog title",
"string": "Unassign users"
},
"lVwmf5": {
"context": "total price of ordered products",
"string": "Total"
File attributes (#884) * Update changelog with file attributes * Add file type attribute * Update attribute properties form * Update translation messages with file upload * Create generic attributes component (#832) * Create generic Attributes component * Add story for Attributes component * Remove deprecated attribute value type field from queries * Update test snapshots of attributes component * Add file upload field to atributes (#888) * Add story for Attributes component * Update test snapshots of attributes component * Create file upload field in attributes * Update upload file input data-test * Update storybook test snapshots of attributes * Add dedicated input props to file field * Run Cypress using custom API * Add missing error handling in file upload field Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Add file attribute upload to page attributes (#894) * Support upload file attribute for pages * Update after review * Add file attribute upload to variant attributes (#892) * Support upload file attribute for variants * Update after review * Refactor attribute values errors merging * Update after review * Add file attribute upload to product attributes (#826) * Support upload file attribute for products * Update after review * Refactor attribute values errors merging * Refactor product attribute value delete handling * Fix deleting file in file upload field * Fix delete attribute values errors handling * Add link to file upload field (#898) * Update file attributes updates (#899) * Update file attributes updates * Refactor file uploads handling * Move attributes utils to attributes directory * Fix product channel listing updates * Clear file field value if file is not passed as prop * Delete attribute values before update (#908) * Delete file attributes after file update * Triggr CI * Show skeleton in file upload field during loading Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 10:53:28 +00:00
},
"lW5uJO": {
"context": "money",
"string": "from {money}"
},
"lct0qd": {
"string": "This list shows all attributes that will be assigned to pages that have this page type assigned."
},
"lehGc9": {
"context": "section header",
"string": "Eligible Variants"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"lfXze9": {
"string": "Delete vouchers"
},
"li1BBk": {
"context": "export items as csv file",
"string": "Plain CSV file"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"ll2dE6": {
"context": "PageTypeDeleteWarningDialog multiple assigned items description",
"string": "Are you sure you want to delete selected page types? If you remove them you wont be able to assign them to created pages."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"llBnr+": {
"string": "Warehouse Name"
},
"lm9NSK": {
"context": "password reset, button",
"string": "Send an email with reset link"
},
🦄 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 12:48:50 +00:00
"lnteBJ": {
"context": "country rates list label for the default rate",
"string": "Country default rate"
},
"lqIzC8": {
"string": "This field needs to be unique"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"lrdAIY": {
"context": "amount of all cancelled transactions in order",
"string": "Cancelled"
},
"lrq8O6": {
"context": "order refund amount, input label",
"string": "Amount"
},
Static datagrid in order view (#3276) * Init datagrid * Product type and channels on datagrid * Move get cell content to utils * Add channels to storybook * Add product description to datagrid * Thubnail cell with avatar * Translations * Allow add new empty product in datagrid * Search product types * useProductForm wth save bar and exit modal * Add description to product fixture * Add loading placeholder * Remove old column picker * Sorting * Remove old ProductList * Update filter props * Add header icons * Add sort icons to datagrid column * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Remove datagrid card paddding (#3310) * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Fix empty column when save column change * Fix bottom line in layout overlap * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Filter presets select * Fix delete tab name in modal, change order preset key * Extract messages and apply cr fixes * Keep active tab when filter and search change * Apply filter in useColumnDefault --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-04-20 07:52:44 +00:00
"lwjzVj": {
"string": "Edit order"
},
"lzdvwp": {
"context": "field is optional",
"string": "Optional"
2020-04-29 15:11:02 +00:00
},
"m0Dz+2": {
"string": "Please set up a new password for your account. Repeat your new password to make sure you will be able to remember it."
2020-04-29 15:11:02 +00:00
},
"m19JfL": {
"string": "View and update your plugins and their settings."
},
"m6IBe5": {
"context": "invoice number prefix",
"string": "Invoice"
},
"m8cjcK": {
"context": "add authorization key error",
"string": "Authorization key with this type already exists"
},
"mCP0UD": {
"context": "order draft creation date",
"string": "Date"
},
"mE+fru": {
"context": "tag filter label",
"string": "Tags"
2020-04-29 01:47:07 +00:00
},
"mGiA6q": {
"context": "modal button upload",
"string": "Upload"
2020-04-29 01:47:07 +00:00
},
"mIUNgR": {
"context": "button",
"string": "Create shipping zone"
},
"mLZMb6": {
"context": "ChannelsSection select field label",
"string": "Channel"
},
"mQtoRO": {
"context": "taxes title",
"string": "Taxes (VAT included)"
},
"mSCZd4": {
"context": "Webhook details asynchronous events",
"string": "Asynchronous"
},
"mSLr9d": {
"context": "voucher code, button",
"string": "Generate Code"
},
"mTEqYL": {
"context": "NoChannels content",
"string": "No channels to assign. Please first assign them for the product."
},
"mWQt3s": {
"string": "No. of Products"
2020-04-29 01:47:07 +00:00
},
"mX7zJJ": {
"context": "header",
"string": "Create Page"
},
"mYs3tb": {
"string": "Product price cannot be lower than 0."
},
"maxT+q": {
"context": "save button",
"string": "Confirm order"
},
"mbOuGl": {
"context": "customer gift cards card issue button",
"string": "Issue new card"
},
"mbj1J5": {
"context": "bulk issue gift cards success alert description",
"string": "Requested {cardsAmount} were successfully issued"
},
"md326v": {
"string": "{amount, plural,one {One payment to capture}other {{amount} payments to capture}}"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"me585h": {
"context": "navigator section header",
"string": "Quick Actions"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"mgFyBA": {
"string": "This name should be unique"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"mm0CXe": {
"string": "You should change your password every month to avoid security issues."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"mmcHeH": {
"string": "Discount Value"
2020-02-13 11:27:37 +00:00
},
"mr9jbO": {
"string": "Preferred Language"
},
"mslSpp": {
"context": "resend code to customer title",
"string": "Resend code to customer"
},
"mxtAFx": {
"string": "Are you sure you want to delete draft #{orderNumber}?"
},
"mzASqs": {
"context": "days after label",
"string": "days after issue"
},
"n+Gwbu": {
"string": "Discounts"
Gift cards post mvp (#1632) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add error message to invalid expiryDate (#1518) * Add error message to invalid expiryDate * Add default messages * Replace filter with some * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Gift card customer page (#1520) * Add gift cards card to customer page (#1456) * WIP * WIP * Extract activate/deactivate logic to a hook * add optional side action * Add query for customer's gift cards * Add component for giftcard status chip * Graphql run types * Add gift card card to customer page * Fix status chip header * Revert style change * Unify status chip logic * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Add queries to refetch prop * Simplify gift card list component * Fix order status chip * Extract messages to separate file * Remove unused lines of code * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Change variable name * Fix formatted message * Check if giftcards exist before rendering collection * Add loading button to CardMenu component (#1476) * WIP * WIP * Add gift card card to customer page * Fix status chip header * Fix naming scheme * Add currentOpts to act/deactivate gift cards hook * Remove unused lines of code * Revert style change * Tests and messages * Fix card list rendering * Type fix * Code review fixes * Review changes * Scripts * Add loading animation to card menu buttons * Added default messages * Change conditional prop checking to filtering * Issue gift card in customer page (#1468) * WIP * WIP * Replace typed query with make query * Add customer details context to customer page * Add context to customer gift cards * Disable customer select when initial customer is present * Pass initial customer to create gift card form * Fixes after cherry-pick * Code cleanup * Remove getInitialData function * Remove unused package * Remove new line * Post-rebase fixes * Code cleanup & extract messages * Remove unused code * Create customer details hook * Minor fixes * Update default messages * Update gift card types * Type fixes * Change directory of useCustomerDetails hook * CR Fixes * Update tests * Make PageTitleWithStatusChip use ExtendedPageHeader * Update tests * Update hook name * Post-rebase fixes * Eslint fix * Fix scrollbar appearing in menu issue (#1539) * Change displayCode to last4CodeChars (#1573) * Add filtered redirect to gift card page from customer details (#1556) * Limit number of channel list items (#1607) * Add max height to single select field menu items container * Add storybook case * Update stories tests * Fix gift card product changing to preorder on save issue (#1583) * Variant preorder fix * Global threshold input should be optional * update snapshot * Add displaying logic gift cards list toolbar (#1617) * add displaying logic for gift card toolbar * Logic fix * Handle bulk export after creation (#1544) * Add gift bulk create (#1490) * Add gift card bulk create dialog WIP * Update schema, add gift card bulk create mutation and types * Add gift card bulk create modal and mutation * Fix types and update messages * Refactor gift card bulk create * Add closing gift card bulk create dialog after success * Change gift card list closeDialog prop name to onClose * Review fixes * Review fixes * Add gift card export (#1499) * wip * Add exporting gift cards * Update messages * Fix types * Review fixes * Review fixes * Refactor passing messages to export settings component * Refactor * Update messages * Handle export after bulk gift card creation * Add default messages * Create an util function to get correct input for export * Update component's name * Change modal's title * Update messages Co-authored-by: Magdalena Markusik <magdalena@markusik.com> * Gift Card List item number change doesn't refetch fix (#1643) * Fix number of rows change not refetching list * Add pagination reset * Update descriptions for gift card messages to be more descriptive (#1648) * Gift card history timeline (#1597) * Update queries and mutations * Allow title to be a react node * Show user name if it exists in data object * Update types * Refresh queries on note add * Add gift card history * type fix * Update messages * Fix timeline note * Add event fragment to form update result * Update types * Fix typo * Update messages * Disable input if gift card is expired * Remove unused imports * CR Fixes * Change messages location * Change message to include user in order * Allow adding notes to expired gift cards * Fix disabled input showing dropdown issue (#1636) * On click is disabled when component is disabled * update tests * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Gift card filter in product list view (#1621) * Add GiftCard or Normal filter in Product List View * Fix tests * Fix type check * Don't filter if query param is not in enum * Update messages * Update tests * Code cleanup * Add default messages * Pass intl rather than initialise it in util * Post-rebase fixes * Change product type details messages (#1642) * Update product type gift card options messages * update tests * Add sorting to gift card list (#1569) * Update queries and types for sorting * Add optional handleError method to makeQuery * Add sorting to gift card list * Sorting hook uses useGiftCardList hook * Convert to boolean * Add default sorting field * format fix * Add expiry error handling for issuing gift cards (#1634) * Add expiry error handling for issuing gift cards * Add expiry error message to gift card bulk issue * Update Gift Card tag queries to utilise multiple tags (#1685) * Change displayCode to last4CodeChars (#1573) * Update types * WIP * Update gift card forms to utilise multiple tags * Code cleanup * Update gift card event types * Fixes * Change column with no click handler behaviour * Remove an ability to sort by tags * Remove unused code * Update tests * Update timeline events * Update messages * change array reduce to join * Add Y scroll to dialog content * Bulk create Y scroll fix * Endless loading fix (#1732) * Order filtering for gift cards in Order List View (#1628) * Add gift card order filter * Add gift card filter card in orders view * Bump macaw version * Update messages * Update tests * Code review changes * update messages * Change info card message to use only one message * Fix order gift card filter * Wip * Extract dialog component outside of gift card create * Update component's name * Extract dialog component outside of export component to provider * Update tests * Various gift card bugs fixes (#1749) * Change currency to options field * Fix hover and font size * Fix gift card list width * Fix bulk delete dialog * Allow balance to be sorted only when currency is filtered * Sorting by balance after removing currency filter defualts to usedBy * Fix trash icon * Add filter dependency * Fix single deletion with bulk * Update tests * Refactor Links used in Gift Cards * Fix export dialog (#1791) Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
2022-01-25 12:44:19 +00:00
},
"n0RwMK": {
"string": "Define types of products you sell"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"n0w2ZT": {
"context": "label for currently selected warehouse",
"string": "currently selected"
},
"n25d+d": {
"context": "WarehousesSection select field add text",
"string": "Add New Warehouse"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"n3+6w5": {
"context": "input helper text",
"string": "Your customer won't be allowed to buy bigger quantity per checkout than shown here."
},
"n5vskv": {
"context": "customer's address book, header",
"string": "{fullName}'s Address Book"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"n7Fg8i": {
"string": "Successfully created sale"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"n7GIKB": {
"context": "dialog header",
"string": "Unassign Product From Sale"
2020-04-29 01:47:07 +00:00
},
"n97Ii0": {
"context": "export selected items to csv file",
"string": "Selected giftCards ({number})"
2020-04-29 01:47:07 +00:00
},
"n9JOI3": {
"context": "money amount input label",
"string": "Enter amount"
},
"nA2g2e": {
"context": "label",
"string": "External app"
},
"nEWp+k": {
"context": "quantity of ordered products",
"string": "Quantity"
},
"nEixpu": {
"context": "table action",
"string": "Actions"
},
"nFTvQW": {
"context": "expiration date label",
"string": "Expiration date"
2020-03-04 16:19:23 +00:00
},
"nHmugP": {
"context": "order history message",
"string": "Fulfilled {quantity} items"
2020-03-04 16:19:23 +00:00
},
2023-07-18 10:01:15 +00:00
"nII/qB": {
"context": "number of ordered products",
"string": "{amount, plural,one {One ordered}other {{amount} ordered}}"
},
"nIrjSR": {
"context": "section header",
"string": "Ongoing Installations"
},
2023-07-04 07:27:17 +00:00
"nJ0tek": {
"context": "tab name",
"string": "All draft orders"
},
"nKjLjT": {
"context": "error message",
"string": "Slug must be unique for each warehouse"
},
"nKwgxY": {
"context": "select label",
"string": "Channel name"
},
"nLML8Y": {
"string": "Default Shipping Address"
},
"nNeWAx": {
"context": "dialog header",
"string": "Delete Shipping Method"
},
"nOo0oL": {
"context": "error message",
"string": "Not enough items to fulfill"
Feature/order reissue (#910) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add change to changelog * Remove console.log * Update tests * Extract messages * Add utils functions for selecting only ulfulfilled order lines * Add optional value selection for line item * Update tests * Add optional rendering of unfulfilled items card and refactor a bit * Update displaying of items card title when refunded card * UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount * Uppdate return items card not to display replace buttons for refunded items * Refactor and small fixes after review * Update extracted messages * Fix card title when no fullfilemtn id * wip * Initially stitch returns page. Update types, add mutation * remove unnecessary component display names * Add loading status from form submission & refactor * Add errors from response * Add errors from response and refactor * Remove comments * Add optional error adding when no data from return create request * Update messages * wip * Update snapshots * Remove unnecessary console.log * Add better typing for getParsedLineData function * Update & refactor card title to match cards both in return and order details * Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components * Update messages * Update schema to match api * Update types * Update status label component to match colors with new designs and order details cards * RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling * Updayte card title component to handle all cases and statuses * Update oorder unfulfilled items card and order details page, reduce some of the boilerplate * Fix card title types and adjust returns card to match * Update messages * Update snapshots * RUpdate order fulfillment card with subtitles and buttons for returned status * Add onRefund to order fulfillment card * Fix typo and wrong message in card title * Add missing condition in return form submission utils to decice if to refund products * Update fulfillment subtitles row and tests * Update messages * Change naming and locations of OrderFulfillment and items card components * Update messages * U[pdate names of components again to even better ones * Update messages * changelog * Update schema and types so that order history event also includes user first and last name * Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header. * FFix types * Update messages * Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated * Add ids and update messages * Add ids and update messages some more * Update storybook decorator to work with react router context in components and tests * Refactor after review * Update messages * Add rredirecting to draft order * Add handling draft creation from replacement * Add related order to order event fragment and update lots and lots of types * Update extended timeline event to match related order type on order history event * Update fixtures * Refactor ExtendedTimelineEvent Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix typing * Update messages * Fix missing history event for replacement draft created for replaced products * Update messages * Handle new statuses for returned and partially returned orders * Update messages * update snapshots * BBump empty line to rebuild ci * Change status to proper color * Change replaceable items in return for replace to be auto off instead of on * Add utils functions and make order details menu not show option to return items when there are returnable items in the order * Fix replace checkbox showing when previously hidden and clicked set maximal quantities * Fix return form invalid money values * Add default values to avoid returning of NaN in utils for return amount and refactor * Add ggeneral error alerts * Add eproduct error box component and style. style a lot. * Fixes * Fix lint * Add cannot refund error title + description * Extract messages * Refactor after review * Add better, nicer and fancier imports to product error cell * Use error color from palette in product error cell * Fix max refund when 0 for return * Add ddisable ability to refund products button so it's disabled when 0 products selected * Add class for order return form data parsing and add condition to not do refund when total captured on order is 0 * Update snapshots * Add condition for order lines quantity in order products table row * Fix return amount submit button * Add change to changelog Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 16:16:43 +00:00
},
"nP8iex": {
"context": "search content placeholder",
"string": "Search Content"
},
"nRiOg+": {
"string": "Sorry, the page was not found"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"nSMe3f": {
"context": "Refund in progress transaction amount, data display header",
"string": "Pending refund"
},
"nTF6tG": {
"context": "number of order",
"string": "No. of Order"
},
"nX2pCU": {
"context": "window title",
"string": "Create customer"
},
"nZDQbr": {
"context": "column header",
"string": "Customer name"
},
"nayZY0": {
"context": "returned event title",
"string": "Products were returned by"
},
"nf3XSt": {
"context": "attribute internal name",
"string": "Slug"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"ng0ZDW": {
"context": "label, input for amount to refund in transaction",
"string": "Refund amount"
},
🦄 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 12:48:50 +00:00
"ngAgBy": {
"context": "tax class rates list label when no countries are assigned",
"string": "There are no countries using this tax class yet, use {tab} tab to assign tax rates."
},
"ngSJ7N": {
"context": "alert title",
"string": "Your subscription query requires the following permissions:"
},
"nioOBQ": {
"context": "delete custom app",
"string": "Deleting {name}, you will delete all the data and webhooks regarding this app."
},
"njBulj": {
"context": "check to require attribute to have value",
"string": "Value Required"
2020-06-22 16:34:59 +00:00
},
"njUQPz": {
"context": "shipping method price range",
"string": "Value Range"
},
"nki0o/": {
"context": "replaced products list title",
"string": "Products replaced"
2020-05-07 11:28:07 +00:00
},
"nngeI3": {
"context": "amount title",
"string": "Refunded amount"
},
"no3Ygn": {
"string": "Are you sure you want to delete \"{name}\" value? If you delete it you wont be able to assign it to any of the products with \"{attributeName}\" attribute."
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"nudPsY": {
"context": "metadata field name, header",
"string": "Field"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"nvSJNR": {
"context": "discount reason input lavel",
"string": "Reason"
},
"nwnwJ0": {
"context": "payment status",
"string": "Refused"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"nwvQPg": {
"context": "section header",
"string": "Organization"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"ny4zrH": {
"context": "dialog title",
"string": "Delete Warehouse"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"nyhf9b": {
"context": "Add filter button text",
"string": "+ Add filter"
},
"o5KXAN": {
"context": "delete webhook",
"string": "Are you sure you want to delete {name}?"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"o6260f": {
"context": "attributes, section header",
"string": "Variant Selection Attributes"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"o68j+t": {
"string": "Search staff members..."
},
"o8S0Ac": {
"context": "usage limit uses left caption",
"string": "Uses left"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"o8f4Sg": {
"context": "disabled option description",
"string": "Cant fulfill until payment is captured"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"oB0y5Y": {
"context": "order status",
"string": "Unfulfilled"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"oGIPb7": {
"context": "information",
"string": "Coming soon ({releaseDate})"
},
"oHbgcK": {
"context": "PageTypeDeleteWarningDialog title",
"string": "Delete page {selectedTypesCount,plural,one{type} other{types}}"
},
"oIvtua": {
"context": "attribute's editor component",
"string": "Catalog Input type for Store Owner"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"oJkeS6": {
"string": "Attribute Code"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"oLMXDv": {
"context": "order status",
"string": "Ready to fulfill"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"oOFrUd": {
"context": "export products to csv file, button",
"string": "export products"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"oQ27V4": {
"context": "order history message",
"string": "Order placed information was sent to customer"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"oQY0a2": {
"string": "Address line 2"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"oUWADl": {
"string": "No"
},
"oUWXLO": {
"context": "header",
"string": "Translation Page \"{pageName}\" - {languageCode}"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"oVDZUb": {
"context": "tab name",
"string": "All Page Types"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"oYGfnY": {
"string": "ZIP / Postal code"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"oboeOT": {
"string": "Add following permissions"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"of/+iV": {
"context": "transaction event type, refund was reversed, funds are back to store account",
"string": "Refund reversed"
},
"oiuwOl": {
"context": "button",
"string": "Assign"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"ojHyj3": {
"context": "discount value label",
"string": "discount value"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"opIDox": {
"context": "unassign product from sale and save, button",
"string": "Unassign and save"
},
"orvpWh": {
"string": "Go back"
},
"osPBn1": {
"context": "currency filter label",
"string": "Currency"
},
"p+HM56": {
"context": "header",
"string": "Customize list"
},
"p+UDec": {
"context": "payment status",
"string": "Payment"
},
"p/Fd7s": {
"context": "unassign products from shipping rate and save, button",
"string": "Unassign and save"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"p1D4Ok": {
"context": "order send refund, manual transaction refund was created",
"string": "Manual refund was created successfully"
},
"p3eRUm": {
"context": "indicator that feature is in preview mode",
"string": "Preview"
2020-04-29 01:47:07 +00:00
},
"p4X/0H": {
"context": "button, assign variants to sale and save",
"string": "Assign and save"
},
"p4zuQp": {
"context": "product no longer exists error title",
"string": "Product no longer exists"
},
"pA8Mlv": {
"context": "alert",
"string": "Staff Member limit reached"
},
"pBTTtU": {
"context": "product kind",
"string": "Product Kind"
},
"pC6/1z": {
"string": "Invalid manifest format"
},
"pCy5EP": {
"context": "gift card history message",
"string": "Gift card was activated"
},
"pFVX6g": {
"string": "Variant with these attributes already exists"
},
"pGDYG5": {
"context": "search label",
"string": "Search Countries"
},
"pGwvpX": {
"context": "status",
"string": "Deactivated"
},
"pOUOnw": {
"context": "tab name",
"string": "All vouchers"
},
"pPef6L": {
"context": "order payment",
"string": "Included in subtotal"
},
"pRYGUR": {
"context": "section description",
"string": "This address will be used to generate invoices and calculate shipping rates. Email address you provide here will be used as a contact address for your customers."
},
"pTpx0p": {
"context": "order history message",
"string": "Invoice no. {invoiceNumber} was generated by {generatedBy}"
},
"pURrk1": {
"context": "order status",
"string": "Status"
},
"pVFoOk": {
"string": "Are you sure you want to delete {collectionName}?"
},
🦄 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 12:48:50 +00:00
"pWClYm": {
"context": "card title",
"string": "Default settings"
},
"paa4m0": {
"string": "Successfully created product type"
},
"pbGIUg": {
"context": "sales channel",
"string": "Channel"
},
"phAZoj": {
"string": "Collection"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"phIGQ1": {
"context": "Canceled transaction amount, data display header",
"string": "Canceled"
},
"pkUbrL": {
"string": "General Information"
},
"pkjXPD": {
"context": "order status",
"string": "Fulfilled"
},
"ppLwx3": {
"context": "number of categories",
"string": "Categories ({quantity})"
},
"pr513b": {
"context": "ordered products",
"string": "{quantity} items"
},
"ps+h1G": {
"context": "checkbox label description",
"string": "Expiration date will be automatically set, once gift card is issued"
},
"psmnv9": {
"string": "Edit permissions"
},
"ptPPVk": {
"string": "No languages found"
},
"puALFo": {
"context": "notes about customer, header",
"string": "Notes"
},
🦄 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 12:48:50 +00:00
"puRlnN": {
"context": "card subtitle",
"string": "Entered prices"
},
"puUvKO": {
"context": "button",
"string": "Install external app"
},
"puikeb": {
"context": "button",
"string": "Delete Address"
},
"pwqwcy": {
"context": "error message",
"string": "Maximum price cannot be lower than minimum"
},
"pzSF+b": {
"context": "voucher usage limit, header",
"string": "Usage Limit"
},
"q+gCyP": {
"context": "order payment",
"string": "Refunded amount"
},
"q1shey": {
"context": "key-value field input",
"string": "Key"
},
"q5Lfp4": {
"context": "tooltip",
"string": "Order contains products that have \"Track inventory\" enabled."
},
"q8ep2I": {
"context": "dialog header",
"string": "Delete Customers"
2020-03-17 18:01:46 +00:00
},
"qCH2eZ": {
"context": "header",
"string": "Add Value to Authorization Field"
2020-03-17 18:01:46 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"qDfaDI": {
"string": "No app or plugin is configured to handle requested transaction action"
},
"qDwvZ4": {
"string": "Unknown error"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"qEJT8e": {
"string": "New password must be at least 8 characters long"
},
"qEZ463": {
"context": "export selected items to csv file",
"string": "Selected products ({number})"
},
"qIgdO6": {
"string": "Custom Filter"
},
"qJedl0": {
"context": "product label",
"string": "Published"
},
"qLOBff": {
"context": "dialog header",
"string": "Delete Address"
},
"qLbse5": {
"context": "button",
"string": "Log out"
},
"qMB6d2": {
"context": "weight",
"string": "to {value} {unit}"
},
"qNcoRY": {
"context": "notes about customer header",
"string": "Notes"
},
"qNeXG1": {
"context": "User registration",
"string": "User registration"
},
"qT6YYk": {
"context": "order line total price",
"string": "Total"
2020-04-29 01:47:07 +00:00
},
"qZHHed": {
"context": "stock exceeded dialog title",
"string": "Not enough stock"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"qa/dDe": {
"context": "GraphiQL Playground in the dev mode panel",
"string": "Playground"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"qbFKVI": {
"context": "notification, form submitted",
"string": "Refund for order #{orderNumber} was granted"
},
🦄 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 12:48:50 +00:00
"qbcNjQ": {
"context": "table header column",
"string": "Tax name"
},
"qbmeUI": {
"context": "dialog header",
"string": "Delete Order Drafts"
2020-04-29 01:47:07 +00:00
},
"qddy2Z": {
"context": "order history message",
"string": "Invoice was sent to customer by {sentBy}"
},
"qf/m5l": {
"string": "Are you sure you want to delete {shippingZoneName} shipping zone?"
},
"qkRuT0": {
"context": "attribute type",
"string": "Product Attribute"
},
"qkt/Km": {
"context": "bulk delete label",
"string": "Delete"
},
"qov29K": {
"context": "dialog content",
"string": "Select one of customer addresses or add a new address:"
},
"qrWOxx": {
"string": "No members found"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"qtF0Ft": {
"context": "transaction event type, amount was authorized, but not captured",
"string": "Authorization"
},
"qu/hXD": {
"string": "Selected {number} items"
},
"qu8b3v": {
"context": "PageTypeDeleteWarningDialog multiple consent label",
"string": "Yes, I want to delete those pages types and assigned pages"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"quV5zH": {
"context": "dialog title",
"string": "Delete Token"
},
"r+8q4B": {
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
"context": "error message",
"string": "Only draft orders can be edited"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"r+dgiv": {
"string": "Taxes"
},
"r1aQ2f": {
"context": "dialog header",
"string": "Unassign Attribute from Product Type"
},
"r2dojI": {
"context": "checkbox label",
"string": "Restrict order weight"
},
"r4g/vD": {
"context": "search modal billing title",
"string": "Billing address"
},
"r86alc": {
"context": "button",
"string": "Copied"
Excluded Products in shipping view (#866) * Clean up stories * Add missing props * Add zip codes section (#861) * Add zip code listing * Add list wrapping * Update snapshots * Set up API data * Fix lgtm warning * Update snapshots * Run Actions on all PR * Checks on PR * Test envs on PR * Cleanup action on PR * Update messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * Allow zip codes to be assigned to shipping method * Add zip code deletion (#871) * Add zip code range dialog * Fix path management * Use query params to handle modal actions * Allow zip codes to be assigned to shipping method * Make params optional * Fix types * Clean up urls * Add zip code range delete action * Update snapshots and messages * Update schema * Refresh zip code list after assigning them * Update types and snapshots * Update snapshots * Fix error message, checkbox default value (#880) * Fix error message, checkbox default value * Update snapshots * Update schema and types * Update stories * add excluded products section in shipping methods views * create UnassignDialog component * use priceRangeFragment in shipping queries * remove unneeded price from ShippingMethodAddProductsDialog * update messages in ShippingMethodProducts * updates after rebase * update snapshots, fix lint errors * fix ShippingMethodProductsAddDialog * update snapshots * small fix in ShippingMethodProducts * update snapshots after rebase * add handleClose func in ShippingMethodProductsAddDialog * Fix metadata not showing in category update * update snapshots again * update ShippingMethodProductsAddDialog * updates after rebase * update Price and Weight rates views Co-authored-by: dominik-zeglen <flesz3@o2.pl> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Tomasz Szymański <lime129@gmail.com> Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 11:35:02 +00:00
},
"rCy3Fe": {
"context": "invalid date in expirydate field content",
"string": "Gift Card with past expiration date cannot be created"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"rH4pi3": {
"context": "page header",
"string": "Return & replace products"
},
🏛️ Implement new column picker (#3514) * (wip) basic column picker implementation * (wip) fix stories error * (wip) fix custom column cells & sorting * (wip) Group attributes query values in props * (wip) Add docs * (wip) fix story error * Implement new column picker in order list * Fix search input padding * Fix empty settings crash * Fix empty settings crash * Portalize popover * Preselect category when there is only one * Remove legacy code * Move product column adapters to proper directory * Improve file structure * Rename custom columns to dynamic columns * Improve strings * (wip) Implement pagination logic * Beautify pagination * Update macaw-ui * Add unit test for useColumns * Improve naming * Code review style fixes * Update docs * Remove empty column * Remove unexpected padding from attribute columns * Add min height to prevent jumping * Fix typo in column picker files * CSS fixes to popover content * Implement auto-scroll to new column * Improve docs * Improve type in useColumns reducer * Extract dynamic columns from NewColumnPicker as a smaller component * Disable movement of empty column * Fix circular loader * Do not persist expanded state when closing picker * Fix dynamic columns with long names line break * Prevent user from disabling all static columns * Simplify dynamic column reducer into flatMap * Optimistic UIbasic implementation * Make available attributes query lazy * Fix displaying arrow next to sorted column * Add explainatory comment * Fix product list stories * Fix dynamic columns and query handling for empty lists * Remove jump on first attribute selection * Remove jump on first attribute selection * Fix search * Add debounce to search * CR - base state change on previous in popover * Extract search into separate component * Rename useDynamicColumnSettings to useColumnPickerSettings * Use difference from lodash * Improve static column rendering * Improve order list * Fix stories error * Improve search for edge cases * Extract messages * Calculate more complex dynamic column adapter parameters in separate functions * Fix url pointing to CardMenu substitute * Extract nodes to separate component * Move files, remove New prefix * Extract to static columns * Refactor utility functions * Render column picker categories only when provided in props * Replace switch with if statements * Refactor to hooks * Remove comments with legacy stacing * Add spaces for better readibility * Tighten types * Add space * Add extra comments to useColumns optimistic update logic * Fix paddings * Add arbitrary min/max height for handling various resolutions * Add full-width hover & click effect on candidate columns labels * Handle long attribute names * Make column picker popover a modal * Bump macaw-ui * Fix macaw-ui type mismatch * Update types * Add data-test-id * Fix closing picker with trigger button * Replace list settings deep merging with shallow merging * Fix list settings deep merging behaviour for arrays * Replace conditional data-test-id- with close-search * Rename targetArray to columnsToCheck * Rename filterColumns to filterSelectedColumns * Rename gridAttributes query objects to more descriptive * Add explainatory comment to customizer function in useListSettings * Update strictness * Fix rendering dynamic columns
2023-06-26 09:36:01 +00:00
"rHQmCt": {
"context": "column picker section header",
"string": "Custom"
},
"rHoRbE": {
"context": "Status label when object is unpublished in a channel",
"string": "Unpublished"
},
"rJ3lkW": {
"context": "VariantDetailsChannelsAvailabilityCard item subtitle published",
"string": "Published since {publicationDate}"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"rKf4LU": {
"context": "dialog title",
"string": "Delete attributes"
},
"rNzkIt": {
"context": "dialog content",
"string": "Are you sure you want to delete {saleName}?"
},
"rPX1f2": {
"context": "section title",
"string": "Company Information"
},
"rQOS7K": {
"context": "status label active",
"string": "Active"
},
"rVIlBs": {
"context": "page header with order number",
"string": "Order #{orderNumber}"
},
"rZMT44": {
"context": "created channels counter",
"string": "{count}/{max} channels used"
},
"rZf1qL": {
"context": "bulk variant create error",
"string": "SKUs must be unique"
},
"ra2O4j": {
"string": "Deleted draft orders"
},
"rbkmfG": {
"context": "button",
"string": "Delete variant"
},
"rbrahO": {
"string": "Close"
},
"reP5Uf": {
"context": "global config plugin status popup description",
"string": "Global plugins are set across all channels in your ecommerce. Only status is shown for those types of plugins"
2020-04-29 01:47:07 +00:00
},
"rfvBAF": {
"context": "select all options, button",
"string": "Select All"
},
"ri3kK9": {
"context": "order placement date",
"string": "Date"
},
"rjy9/k": {
"context": "button",
"string": "Add address"
},
"rl1t+o": {
"context": "expires in label",
"string": "Expires in"
},
"rpFdD1": {
"string": "Search Product Type"
},
"rqiCWU": {
"string": "Saved changes"
},
"rqtV5d": {
"context": "order status",
"string": "Ready to capture"
},
"rs815i": {
"context": "text field label",
"string": "Group name"
},
"rvk9ls": {
"context": "attribute can be used only in variants",
"string": "Variant Only"
},
"rwOx2s": {
"string": "Please provide a transaction reference using the input below:"
},
2023-02-28 15:19:56 +00:00
"rxNddi": {
"string": "Homepage"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"rxlJJ/": {
"context": "grant refund table, column header",
"string": "Product"
},
"ryAyPr": {
"string": "Requested Invoice was generated. It was added to the top of the invoice list on this view. Enjoy!"
},
"rzhcpD": {
"context": "set expiry date selected label",
"string": "Set gift card expiry date"
},
"s17U7u": {
"context": "discount type",
"string": "Percentage"
},
"s1IQuN": {
"context": "resend button label",
"string": "Resend"
},
"s2y5eG": {
"context": "Status label",
"string": "Status"
},
"s40PZt": {
"string": "Sale Name"
},
"s51tHd": {
"context": "limit voucher",
"string": "Limit of Uses"
},
"s5Imt5": {
"context": "button",
"string": "Edit website SEO"
},
"s5v6m0": {
"context": "order",
"string": "Gift Card ordered"
},
"s6lW8R": {
"context": "option label",
"string": "Change address"
},
"s6oAC+": {
"context": "search label",
"string": "Search products"
},
"s8FlDW": {
"context": "hide error log label in notification",
"string": "Hide log"
},
"s9sOcC": {
"context": "button",
"string": "OK"
},
"sEjRyz": {
"context": "voucher type order discount",
"string": "Voucher"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"sFynTT": {
"context": "grant refund, refund card title",
"string": "Refund"
},
"sG0w22": {
"context": "dialog title",
"string": "Delete categories"
},
"sHON47": {
"context": "refunded products list title",
"string": "Products refunded"
},
"sK1FPw": {
"context": "categories section name",
"string": "Categories"
},
"sR0urA": {
"context": "dialog content",
"string": "Are you sure you want to delete {name}?"
},
"sS5aVm": {
"context": "voucher discount type",
"string": "Free Shipping"
},
"sW9IyX": {
"context": "dialog header",
"string": "Assign Category"
},
"sZ27WU": {
"context": "error message",
"string": "Only pre-authorized payments can be voided"
},
"saKXY3": {
"context": "product label",
"string": "Not published"
},
"scHVdW": {
"context": "button",
"string": "Assign product"
},
2023-04-12 07:11:11 +00:00
"scTuDZ": {
"string": "Save search as preset"
},
"sdA14A": {
"context": "Status label when object is published in a channel",
"string": "Published"
},
"sedoZ3": {
"context": "VariantDetailsChannelsAvailabilityCard title",
"string": "Availability"
},
"sf6FMK": {
"context": "dialog search placeholder",
"string": "Search by category name, etc..."
},
"sfEbeB": {
"string": "You're going to mark this order as paid."
},
"sfErC+": {
"string": "Voucher Name"
},
"shmSDX": {
"context": "no products placeholder",
"string": "No products are available in the channel assigned to this order."
},
"sidKce": {
"context": "delete channel",
"string": "All order information from this channel need to be moved to a different channel. Please select channel orders need to be moved to:."
},
"sjRXXz": {
"string": "Order #{orderId} was placed from draft by {userEmail}"
},
"skEK/i": {
"context": "section header",
"string": "Variant Attributes"
},
"skPoVe": {
"context": "button",
"string": "Accept"
},
🦄 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 12:48:50 +00:00
"skklRz": {
"context": "table header column",
"string": "Show gross prices in storefront"
},
"snUby7": {
"context": "header",
"string": "Unnamed Webhook Details"
},
"stjHjY": {
"context": "error message",
"string": "Promo code already exists"
},
"svK+kv": {
"string": "{counter,plural,one{Are you sure you want to delete this menu?} other{Are you sure you want to delete {displayQuantity} menus?}}"
},
"sw8Wl2": {
"context": "variant pricing section subtitle",
"string": "There is no channel to define prices for. You need to first add variant to channels to define prices."
},
"szXISP": {
"context": "permission group name",
"string": "Permission Group Name"
},
"t/R8nK": {
"context": "ShippingZoneSettingsCard title",
"string": "Settings"
},
"t1UYU6": {
"context": "install app privacy",
"string": "Uninstalling the app will remove all your customers personal data stored by {name}."
},
"t3aiWF": {
"context": "section header",
"string": "Excluded Products"
},
"t7UwLY": {
"context": "voucher status",
"string": "Expired"
},
"tA5HJx": {
"context": "webhook input help text",
"string": "secret key is used to create a hash signature with each payload. *optional field"
},
2023-04-12 07:11:11 +00:00
"tCLTCb": {
"context": "tab name",
"string": "All products"
},
"tEdFmZ": {
"context": "notification title",
"string": "System update required"
},
"tIc2/h": {
"context": "input helper text, search attributes",
"string": "Search by attribute name"
},
"tKxCld": {
"context": "set balance dialog title label",
"string": "Set balance"
},
"tQuE1q": {
"string": "Select channels you want for {contentType} to be available on"
},
"tQxBXs": {
"context": "PageTypeDeleteWarningDialog single assigned items description",
"string": "You are about to delete page type <b>{typeName}</b>. It is assigned to {assignedItemsCount} {assignedItemsCount,plural,one{page} other{pages}}. Deleting this page type will also delete those pages. Are you sure you want to do this?"
},
"tR+UuE": {
"string": "User doesn't exist. Please check your email in URL"
},
"tTuCYj": {
"context": "all gift cards label",
"string": "All Gift Cards"
},
"tUlsq+": {
"string": "Translating"
},
"tV+Dcm": {
"string": "Default country"
},
"tVybuM": {
"context": "WarehouseSettings local warehouse label",
"string": "Local stock only"
},
"tWbE34": {
"string": "Start Hour"
},
"tXIgmR": {
"context": "balance curreny missing error message",
"string": "Balance currency is missing"
},
"tZnV8L": {
"context": "Header row stock label",
"string": "Stock"
},
"taS/08": {
"context": "variant stocks section subtitle",
"string": "Assign this variant to a channel in the product channel manager to define warehouses allocation"
},
"taX/V3": {
"context": "order total amount",
"string": "Total"
},
"tiY7bx": {
"string": "Add new product"
},
"tlGXkh": {
"context": "input description",
"string": "Unlimited"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"tmrBDK": {
"string": "Manual transaction ({amount}) was created"
},
"toDL5R": {
"context": "order status",
"string": "Draft"
},
"tsL3IW": {
"context": "gift card history message",
"string": "Gift card was sent to customer"
},
"ttMauu": {
"context": "window title",
"string": "Create collection"
},
🦄 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 12:48:50 +00:00
"tthToS": {
"string": "Disabled"
},
"ttk0w7": {
"context": "resend code to customer description",
"string": "Gift Card Code will be resent to email provided during checkout. You can provide a different email address if you want to:"
},
"tuYPlG": {
"context": "minimum amount of spent money to activate voucher",
"string": "Min. Spent"
},
"tvpAXl": {
"context": "ordered product quantity",
"string": "Quantity"
},
"txOXvy": {
"context": "checkbox label",
"string": "Set the same for shipping address"
},
"tzMNF3": {
"string": "Status"
},
"u/hkKO": {
"context": "voucher has no requirements",
"string": "None"
},
"u0S2be": {
"context": "order discount",
"string": "Discount"
},
"u0V06N": {
"string": "Max. Order Weight"
},
"u24Ppd": {
"string": "This attribute cannot be assigned to this product type"
},
🦄 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 12:48:50 +00:00
"u34css": {
"context": "label for empty list in channels list",
"string": "There are no exceptions for this channel"
},
"u3sYPH": {
"context": "independent of any particular day, eg. 11:35",
"string": "Time"
},
"u9/vj9": {
"context": "webhook input label",
"string": "Target URL"
},
"uCn/rd": {
"context": "dialog header",
"string": "Delete Image"
},
"uD93er": {
"context": "dialog header",
"string": "Changed Customer"
},
"uIPD1i": {
"context": "app has been removed",
"string": "App successfully removed"
},
"uKlrEk": {
"context": "all selected items message",
"string": "All available {itemsName} have been selected"
},
"uMpv1v": {
"string": "Fulfillment successfully cancelled"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"uN88fb": {
"context": "button, submit form",
"string": "Return and Replace products"
},
"uQNm59": {
"context": "add header,button",
"string": "Add custom request header"
},
"uQk8gB": {
"context": "export all items to csv file",
"string": "All gift cards ({number})"
},
"uRTj1Q": {
"context": "error message",
"string": "Invoice not found"
},
"uRfta0": {
"context": "Enable email confirmation",
"string": "Enable email confirmation"
},
"uT5L4h": {
"context": "cancel button label",
"string": "Cancel"
},
"uULcph": {
"context": "header",
"string": "Shipping"
},
"uUQ+Al": {
"context": "note about customer",
"string": "Note"
},
"uUsZ7m": {
"context": "order payment",
"string": "Preauthorized amount"
},
"ubasgL": {
"context": "order history message",
"string": "Order was confirmed"
},
2023-01-30 12:06:54 +00:00
"uccjUM": {
"context": "Dry run objects",
"string": "Objects"
},
"ud0w8h": {
"context": "number of postal code ranges",
"string": "{number} postal code ranges"
},
"udJUSa": {
"context": "Authorize {app name}",
"string": "Authorize"
},
"ufD5Jr": {
"string": "Content type"
},
"ufmuTp": {
"context": "button",
"string": "Delete"
},
"ugnggZ": {
"string": "Created menu"
},
"uilt7q": {
"context": "issued cards amount label",
"string": "Cards Issued"
},
"ujFo4A": {
"context": "voucher start date",
"string": "Started"
},
"ukYopn": {
"context": "order payment",
"string": "Included in prices"
},
"ukdRUv": {
"context": "delete variant dialog subtitle",
"string": "{counter,plural,one{Are you sure you want to delete this variant?} other{Are you sure you want to delete {displayQuantity} variants?}}"
},
"ulh3kf": {
"string": "Collections"
},
"umsU70": {
"string": "Search Page Type"
},
"un+VWt": {
"string": "Search products"
},
Static datagrid in order view (#3276) * Init datagrid * Product type and channels on datagrid * Move get cell content to utils * Add channels to storybook * Add product description to datagrid * Thubnail cell with avatar * Translations * Allow add new empty product in datagrid * Search product types * useProductForm wth save bar and exit modal * Add description to product fixture * Add loading placeholder * Remove old column picker * Sorting * Remove old ProductList * Update filter props * Add header icons * Add sort icons to datagrid column * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Remove datagrid card paddding (#3310) * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Fix empty column when save column change * Fix bottom line in layout overlap * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Filter presets select * Fix delete tab name in modal, change order preset key * Extract messages and apply cr fixes * Keep active tab when filter and search change * Apply filter in useColumnDefault --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-04-20 07:52:44 +00:00
"uoKAmI": {
"string": "Add new order"
},
🏛️ Implement new column picker (#3514) * (wip) basic column picker implementation * (wip) fix stories error * (wip) fix custom column cells & sorting * (wip) Group attributes query values in props * (wip) Add docs * (wip) fix story error * Implement new column picker in order list * Fix search input padding * Fix empty settings crash * Fix empty settings crash * Portalize popover * Preselect category when there is only one * Remove legacy code * Move product column adapters to proper directory * Improve file structure * Rename custom columns to dynamic columns * Improve strings * (wip) Implement pagination logic * Beautify pagination * Update macaw-ui * Add unit test for useColumns * Improve naming * Code review style fixes * Update docs * Remove empty column * Remove unexpected padding from attribute columns * Add min height to prevent jumping * Fix typo in column picker files * CSS fixes to popover content * Implement auto-scroll to new column * Improve docs * Improve type in useColumns reducer * Extract dynamic columns from NewColumnPicker as a smaller component * Disable movement of empty column * Fix circular loader * Do not persist expanded state when closing picker * Fix dynamic columns with long names line break * Prevent user from disabling all static columns * Simplify dynamic column reducer into flatMap * Optimistic UIbasic implementation * Make available attributes query lazy * Fix displaying arrow next to sorted column * Add explainatory comment * Fix product list stories * Fix dynamic columns and query handling for empty lists * Remove jump on first attribute selection * Remove jump on first attribute selection * Fix search * Add debounce to search * CR - base state change on previous in popover * Extract search into separate component * Rename useDynamicColumnSettings to useColumnPickerSettings * Use difference from lodash * Improve static column rendering * Improve order list * Fix stories error * Improve search for edge cases * Extract messages * Calculate more complex dynamic column adapter parameters in separate functions * Fix url pointing to CardMenu substitute * Extract nodes to separate component * Move files, remove New prefix * Extract to static columns * Refactor utility functions * Render column picker categories only when provided in props * Replace switch with if statements * Refactor to hooks * Remove comments with legacy stacing * Add spaces for better readibility * Tighten types * Add space * Add extra comments to useColumns optimistic update logic * Fix paddings * Add arbitrary min/max height for handling various resolutions * Add full-width hover & click effect on candidate columns labels * Handle long attribute names * Make column picker popover a modal * Bump macaw-ui * Fix macaw-ui type mismatch * Update types * Add data-test-id * Fix closing picker with trigger button * Replace list settings deep merging with shallow merging * Fix list settings deep merging behaviour for arrays * Replace conditional data-test-id- with close-search * Rename targetArray to columnsToCheck * Rename filterColumns to filterSelectedColumns * Rename gridAttributes query objects to more descriptive * Add explainatory comment to customizer function in useListSettings * Update strictness * Fix rendering dynamic columns
2023-06-26 09:36:01 +00:00
"uqxjSR": {
"context": "column picker section header",
"string": "Columns"
},
"usSkzP": {
"context": "navigator order mode description",
"string": "Search Orders"
},
"utaSh3": {
"context": "staff member's account",
"string": "Status"
},
"uwk5e9": {
"string": "Delete products"
},
"uxPpRx": {
"context": "button",
"string": "Assign attribute"
},
"uy+tB8": {
"context": "voucher status",
"string": "Status"
},
"uzAPCt": {
"context": "OrderPayment does not require shipping",
"string": "does not apply"
},
"v+Pkm+": {
"context": "field is optional",
"string": "*Optional. Adding product to collection helps users find it."
},
"v/1VA6": {
"context": "add order note, button",
"string": "Send"
},
"v01/tY": {
"context": "consent to send gift card to different address checkbox label",
"string": "Yes, I want to send gift card to different address"
},
"v17Lly": {
"context": "label",
"string": "Max Delivery Time"
},
"v1pNHW": {
"string": "Attribute Class"
},
"v2+u4c": {
"context": "card subtitle",
"string": "Assign and sort warehouses that will be used in this channel (warehouses can be assigned in multiple channels)."
},
"v3WWK+": {
"string": "Status is invalid"
},
"v9ILn/": {
"context": "button",
"string": "CANCEL END DATE"
},
"vC8vyb": {
"context": "enabled status option label",
"string": "Enabled"
},
"vCw7BP": {
"context": "requires activation checkbox label",
"string": "Requires activation"
},
"vDnheO": {
"context": "gift card bulk create success dialog accept button",
"string": "Ok"
},
"vEYtiq": {
"string": "Category Name"
},
"vEwjub": {
"context": "button",
"string": "Open in GraphiQL"
},
"vM9quW": {
"context": "order payment",
"string": "Paid with Gift Card"
},
"vN3qdA": {
"context": "button",
"string": "Undo"
},
"vONi+O": {
"string": "Country"
},
"vP7g2+": {
"context": "error message",
"string": "URL not set for an invoice"
},
"vQunFc": {
"context": "gift card history message",
"string": "Gift card expiry date was updated by {expiryUpdatedBy}"
},
"vSy+II": {
"string": "Star on Github"
},
"vTN5DZ": {
"context": "button",
"string": "Discard"
},
"vTgRTZ": {
"context": "limit voucher",
"string": "Limit to one use per customer"
},
"vVviA2": {
"string": "Those permissions are out of your scope"
},
"vW3tb6": {
"context": "name",
"string": "Product name"
},
"vWTM6Y": {
"context": "customer gift cards card no cards subtitle",
"string": "There are no gift cards assigned to this customer"
},
"vWapBZ": {
"context": "card title",
"string": "Order Weight"
},
"vXCeIi": {
"string": "Failed"
},
"vXFPD6": {
"context": "voucher discount type",
"string": "Fixed Amount"
},
"vZMs8f": {
"context": "default product variant indicator",
"string": "Default"
},
"vcwrgW": {
"string": "No translatable entities found"
},
"vdk01u": {
"context": "product type",
"string": "Not shippable"
},
"ve/Sph": {
"context": "there are more elements of list that are hidden",
"string": "and {number} more"
},
"vf56In": {
"context": "address type",
"string": "Use one of customer addresses"
2020-03-17 18:53:58 +00:00
},
"vfG+nh": {
"string": "Confirm Password"
},
"viFkCw": {
"context": "site settings section name",
"string": "Site Settings"
2020-03-17 18:53:58 +00:00
},
"vjsfyn": {
"string": "Max Value"
2020-03-17 18:53:58 +00:00
},
"vkAWwY": {
"context": "gift card history message",
"string": "Gift card tags were updated"
2020-07-13 16:51:05 +00:00
},
"vlLyvk": {
"string": "{inputType} attributes cannot be used as variant selection attributes."
2020-03-17 18:53:58 +00:00
},
"vlVTmY": {
"string": "Product removed"
2020-03-16 12:41:45 +00:00
},
"voRaz3": {
"context": "custom apps content",
"string": "Your custom-created apps will be shown here."
2020-03-16 12:41:45 +00:00
},
"vof5TR": {
"context": "button",
"string": "Create category"
2020-03-16 12:41:45 +00:00
},
"vprU7C": {
"string": "Select visible order channels"
},
"vwMO04": {
"context": "draft order",
"string": "Created"
2020-03-16 12:41:45 +00:00
},
"vz3yxp": {
"string": "Channels permissions"
},
"vzce9B": {
"context": "customer gift cards card subtitle",
"string": "Only five newest gift cards are shown here"
2020-03-16 12:41:45 +00:00
},
"vzgZ3U": {
"context": "card header",
"string": "Sign In"
2020-03-16 12:41:45 +00:00
},
"w+3Q3e": {
"context": "input label",
"string": "Product type"
},
"w+5Djm": {
"string": "Min. Order Weight"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"w+8BfK": {
"context": "button",
"string": "Edit Address"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"w2Cewo": {
"string": "Search engine title"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"w2eTzO": {
"context": "placed orders counter",
"string": "{count}/{max} orders"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"w3sGrD": {
"string": "Enter any extra infotmation regarding this customer."
2020-04-23 15:52:39 +00:00
},
"w424P4": {
"context": "section header",
"string": "Plugin Information and Status"
2020-06-24 17:12:51 +00:00
},
"w6kcxY": {
"string": "What happens if I approve?"
},
"w9xgN9": {
"context": "see error log label in notification",
"string": "See error log"
2020-03-17 18:53:58 +00:00
},
"wDUBLR": {
"context": "order refund amount",
"string": "Proposed refund amount"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"wDYozn": {
"string": "App doesn't have any permissions granted."
},
"wHdMAX": {
"context": "sale value, header",
"string": "Value"
2020-03-17 18:53:58 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"wJep/X": {
"context": "refund amounts were settled",
"string": "Settled"
},
"wL7VAE": {
"string": "Actions"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"wLB8B3": {
"context": "column header",
"string": "Visibility"
},
"wNQzS/": {
"string": "The primary address of this customer."
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"wOeIR4": {
"context": "order history message",
"string": "Restocked {quantity} items"
2020-06-24 17:12:51 +00:00
},
"wQdR8M": {
"string": "Add search engine title and description to make this category easier to find"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"wTHjt3": {
"string": "Search Orders..."
2020-08-19 11:50:28 +00:00
},
"wUQCnQ": {
"context": "Save filters button text",
"string": "Save"
},
"wWTUrM": {
"string": "No activities found"
2020-09-25 13:56:27 +00:00
},
"wgA48T": {
"context": "country selection",
"string": "Countries A to Z"
2020-03-16 12:41:45 +00:00
},
"whTEcF": {
"context": "link",
"string": "Deactivate"
2020-06-24 17:12:51 +00:00
},
"wjKYSU": {
"context": "WarehousesSection subtitle",
"string": "Select warehouse from which you will ship products for this shipping zone. This warehouse address will also be used to calculate taxes."
2020-06-24 17:12:51 +00:00
},
"wlQTfb": {
"context": "go to next step, button",
"string": "Next"
2020-06-24 17:12:51 +00:00
},
"wlr0Si": {
"context": "button",
"string": "Create Webhook"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"wmdHhD": {
"context": "button",
"string": "Create Warehouse"
},
"wn3di2": {
"string": "This password is too commonly used"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"wpAXKX": {
"context": "checkbox label description",
"string": "All orders will be automatically confirmed and all payments will be captured."
},
"wpli4O": {
"context": "WarehouseSettings private stock label",
"string": "Private Stock"
2020-03-17 18:53:58 +00:00
},
"wsDF7X": {
"context": "product variant attribute entity type",
"string": "Product variants"
},
"wyvzh9": {
"context": "dialog header",
"string": "Publish Pages"
},
"x/ZVlU": {
"string": "Product"
Multichannel (#833) * add multichannel to configuration view * create multichannels list view * create multichannels list view * add ChannelsCreate view * update channels in configuration * add stories * update default messages * fix ChannelForm props * update channels list styles * update snapshots * update channel form currency input * update Channels fragments * extract messages * remove tabs from channelsList * channel details, channel delete modal (#598) * create Channel details view * create ChannelDeleteDialog * add channels delete dialog to channels list * update messages and types * fixes after review * channels availability (#609) * create Channel details view * update messages and types * create ChannelsAvailability component * create more product channels components * create channels stories, update fixtures, types * update product views with channels data * update schema and snapshots * update defaultMessages * update ProductUpdate view * create ChannelsAvailabilityDropdown component * add product channels to local storage * update globalTypes * Update to new schema and resolve issues * Update messages * create deleteChannel mutation * add channels availability component to product create view * refactor ProductCreate and ProductUpdate views * CollectionProducts view cleanup * add disabled prop to ActionDialog * use updateChannels mutation in ProductCreate view * ProductCreate - update submit function * fixes after review * update snapshots and messages Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> * channels shipping components (#655) * create PricingCard, OrderValue and OrderWeight components * create ShippingZoneRatesPage and DeleteShippingRateDialog * update ChannelsAvailability component * updates after review * channels shipping views (#662) * update ChannelsAvailability component * updates after review * create PriceRate views, update types * create weight rates views * update shipping views, stories, messages * update snapshots * update snapshots * update useChannels hook * orders channels components (#698) * create OrderChannelSectionCard component * update OrderDetailsPage * update DraftOrderChannelCard * update snapshots * update fixtures * small change after review, update snapshots * product pricing (#702) * update product types * update Pricing in simple product view * use productVariantCreate mutation in simple product view * update snapshots and messages * handle create variant (#715) * update product types * update Pricing in simple product view * handle product create and update errors * update snapshots and messages * fix update and create product handlers * update pricing types * channels modal - new styles, search input (#717) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * fix search input label styles * update toggleAllChannels function * update variant creator (#724) * update product types * update Pricing in simple product view * handle product create and update errors * update pricing types * add search input in ChannelsAvailabilityDialog * update ChannelsAvailabilityDialog in all views * update snapshots * add channelLisitngs to variant creator * update variant creator price styles * update product variant creator reducer tests * update createVariants tests * update error handling in product variant creator * add Skip pricing for now option * use PriceField instead of TextField in ProductVariantCreatorSummary * create price validation function * fix errors handling in ProductVariantPrice component * fixes after review * Product List - remove publish/unpublish buttons (#727) * ProductList - remove publish and unpublish buttons * update messages * update snapshots, messages * revert changes in ChannelsAvailabilityDropdown * products/shipping/discount list settings (#739) * create ChannelSettingsDialog component * update snapshots * ProductList - open settings modal when there is no selected channel * add settings modal to vouchers list * add settings dialog to sales list * add setting modal to shipping list * update shipping * update snapshots, messages * useChannelsSettings - remove selectedChannelSlug * fix channels update handler in product and shipping view * messages update in ChannelSettingsDialog * handle product/discount list when there is no channels * update onSettingsOpen prop * collection availability dropdown (#743) * add availability dropdown to collection products list * update channelListingProduct fragment name * update voucher view/components with channels (#746) * update voucher view/components with channels * update VoucherSummary, remove defaultCurrency from voucher components * update snapshots * move getChannelsVariables func to discounts handlers * update voucher messages * sale view/components with channels (#750) * update sale views with channels * small fixes in discounts * order views with channels (#752) * update draft orders with channels * add channel activate/deactivate mutations * remove sort by total in orders list * add error notification on channel activate/deactivate * product variants channel select (#755) * add channels selector to ProductVariants component * remove selectedChannel from ProductUpdate, update messages and snapshots * update product fragments * update translations (#762) * update translations * fix translation types * update messages * update Availability component (#766) * update ChannelsAvailability component * update product fixtures * update collection and channel fixtures * ChannelsAvailability - handle errors * update product handlers * update ChannelsAvailability styles * update ProductVariant * update snapshots * fix missing things in multichannel (#785) * add availability dropdown to discount products list * fix error handling in shipping components * update product views and components * update messages * update category view/components * update CategoryProducts styles * remove defaultCurrency from shipping components * create ChannelsSelect component * update channels error handling after review * another fixes after review * Add channels to collection views/components (#791) ** update collection components and views * update create collection view * update error handling in collection * remove filter bar from collection list * update products fragments * small fix in collection create view * use collectionFragment in useCatalogSearch * update defaultMessages and snapshots * update homepage view/drop defaultCurrency (#801) * update homepage view * drop defaultCurrency prop * fix onChannelChange function in home view * remove visibility from product list filters * update export products with channels (#803) * update ProductExportDialog with channels * add new channel error code * remover VISIBLE from product export dialog Financial information * fix input size in ProductVariantCreatorSummary (#804) * channels currency code select (#806) * create select with currency codes * fix ChannelDeleteDialog * update defaultMessages, remove unneeded ChannelDetails handlers * fixes after rebase * replace channelListing with channelListings * [multichannel] Update schema] * Fix product create test Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com> Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
},
"x/pIZ9": {
"context": "button",
"string": "Add product"
2020-03-16 12:41:45 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"x2mg39": {
"context": "Transaction event description",
"string": "Used in order"
},
"x3g4Ry": {
"context": "sale discount",
"string": "Discount Value"
2020-03-16 12:41:45 +00:00
},
"x3leH4": {
"context": "ProductTypeDeleteWarningDialog title",
"string": "Delete product {selectedTypesCount,plural,one{type} other{types}}"
2020-03-17 18:53:58 +00:00
},
"x8V/xS": {
"context": "attribute visibility in storefront",
"string": "Public"
2020-03-17 18:53:58 +00:00
},
"xAHOGV": {
"context": "dialog header",
"string": "Assign Variant"
2020-03-17 18:53:58 +00:00
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"xGC2Ge": {
"context": "grant refund, button",
"string": "Set max. quantities"
},
"xHj9Qe": {
"context": "gift card settings header",
"string": "Gift Cards Settings"
},
"xJQX5t": {
"string": "No staff members found"
2020-03-17 18:53:58 +00:00
},
"xNfh4L": {
"context": "app permissions tooltip header",
"string": "App permissions"
},
"xOEZjV": {
"context": "attribute's label",
"string": "Default Label"
},
"xPnZ0R": {
"context": "title",
"string": "Details"
2020-06-24 17:12:51 +00:00
},
"xRbqcg": {
"context": "option",
"string": "Regular product type"
2020-07-13 16:51:05 +00:00
},
"xRkj2h": {
"string": "Are you sure you want to delete {categoryName}?"
},
"xTIKA/": {
"context": "PluginChannelConfigurationCell global title",
"string": "Global"
2020-04-29 01:47:07 +00:00
},
"xUvWaP": {
"context": "subtotal price",
"string": "Subtotal"
2020-04-29 01:47:07 +00:00
},
"xVn5B0": {
"context": "added new attribute value",
"string": "Added new value"
2020-04-29 01:47:07 +00:00
},
"xWEFrR": {
2020-04-29 01:47:07 +00:00
"context": "dialog content",
"string": "This customer doesn't have any addresses in the address book. Provide address for order:"
2020-04-29 01:47:07 +00:00
},
"xZhxBJ": {
"context": "dialog header",
"string": "Assign Products"
2020-04-29 01:47:07 +00:00
},
"xco5tZ": {
"string": "Are you sure you want to cancel fulfillment? Canceling a fulfillment will restock products at a selected warehouse."
},
"xfGZsi": {
"context": "configuration section name",
"string": "Configuration"
2020-04-29 01:47:07 +00:00
},
"xjpTLF": {
"context": "informations about product stock, header",
"string": "Inventory Information"
2020-04-29 01:47:07 +00:00
},
"xkjRu5": {
"context": "export products to csv file, dialog header",
"string": "Export Information"
},
"xl7Fag": {
"string": "Category created"
2020-04-29 01:47:07 +00:00
},
"xo5UIb": {
"context": "dialog title",
"string": "Delete category"
2020-04-29 01:47:07 +00:00
},
"xoyCZ/": {
"context": "error message",
"string": "Improper value"
},
"xqXYF+": {
"context": "section header",
"string": "Eligible Products"
},
"xrKHS6": {
"string": "Success"
},
"xrPv2K": {
"context": "by preposition",
"string": "by"
2020-04-29 01:47:07 +00:00
},
"xtUXnK": {
"context": "export all items to csv file",
"string": "All products ({number})"
2020-04-29 01:47:07 +00:00
},
"xxQxLE": {
"string": "Email Address"
2020-04-29 01:47:07 +00:00
},
2023-04-12 07:11:11 +00:00
"xy66ru": {
"context": "custom preset delete, dialog header",
"string": "Delete preset"
},
"y/UWBR": {
"string": "There is no address to show for this customer"
2020-04-29 01:47:07 +00:00
},
"y7mfbl": {
"string": "Currently, there are no countries assigned to this shipping zone"
},
"y9cvqE": {
"context": "button",
"string": "Create Voucher"
2020-04-29 01:47:07 +00:00
},
"yAFaVK": {
"context": "Webhook details synchronous events",
"string": "Synchronous"
},
"yDkmX7": {
"context": "dialog content",
"string": "{counter,plural,one{Are you sure you want to delete this product?} other{Are you sure you want to delete {displayQuantity} products?}}"
},
"yH56V+": {
"string": "Ooops!..."
},
"yHQQMQ": {
"context": "dialog header",
"string": "Unpublish Pages"
2020-04-29 01:47:07 +00:00
},
"yHeZRQ": {
"string": "Product Export Failed"
},
"yHwvLL": {
"context": "voucher uses",
"string": "Uses"
},
"yJqbYv": {
"context": "Asynchronous events description",
"string": "Asynchronous webhook sends payload and continues processing."
},
"yJynYK": {
"context": "discount value",
"string": "discount"
},
"yKuba7": {
"context": "attribute can be searched in dashboard",
"string": "Searchable"
},
🦄 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 12:48:50 +00:00
"yLfbSh": {
"context": "support label",
"string": "Channel name"
},
"yMi8I8": {
"context": "dialog header",
"string": "Dectivate App"
},
"yOaNWB": {
"context": "delete shipping method",
"string": "Are you sure you want to delete {name}?"
},
"ySqncG": {
"context": "ExitFormPrompt keep editing button",
"string": "Keep editing"
},
"ySqrUU": {
"context": "button",
"string": "Assign variants"
2020-03-18 11:03:31 +00:00
},
"yT/GAp": {
"string": "Tracking number"
},
"yT5zvU": {
"string": "{counter,plural,one{Are you sure you want to delete this collection?} other{Are you sure you want to delete {displayQuantity} collections?}}"
},
"yZB41s": {
"context": "section header",
"string": "All Apps"
},
"yatGsm": {
"context": "card title",
"string": "Order Value"
},
"ybaLoZ": {
"string": "Search through channels"
},
"ycMLN9": {
"context": "warehouses section name",
"string": "Warehouses"
2020-08-11 11:59:47 +00:00
},
"ychKsb": {
"context": "error message",
"string": "Shipping method is required for this order"
},
"ycrTBX": {
"context": "table header channel col label",
"string": "Channel"
2020-06-22 16:34:59 +00:00
},
"yfhLcv": {
"string": "We are working on replacing plugins with apps. Read more about"
},
"yhv3HX": {
"context": "voucher requirements, header",
"string": "Minimum Requirements"
},
"yi1HSj": {
"string": "({numberOfCharacters} of {maxCharacters} characters)"
},
"ymo+cm": {
"context": "voucher discount",
"string": "All products"
},
"ypW4Mi": {
"context": "button refreshing page",
"string": "Refresh page"
},
"ys0jH2": {
"context": "channel publication status",
"string": "Published"
},
"yzYXW/": {
"context": "header, dialog",
"string": "Create New Warehouse"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"z0gGP+": {
"context": "number of attributes",
"string": "{number} Attributes"
},
"z1puMb": {
"context": "export items as csv or spreadsheet file",
"string": "Export as:"
},
"z1y9oL": {
"context": "file attribute type",
"string": "File"
},
"z2yYL3": {
"context": "hint",
"string": "Usually ends with /api/manifest"
},
"z3GGbZ": {
"context": "deleted multiple attributes",
"string": "Attributes successfully deleted"
},
"z8jo8h": {
"context": "button",
"string": "View products"
},
"z9c6/C": {
"string": "Deprecated"
},
"z9wQ/U": {
"context": "no variant stock in warehouse",
"string": "No Stock"
},
"zCb8fX": {
"string": "Weight"
},
"zD7/M6": {
"context": "empty list message",
"string": "Please use Assign Members button to do so."
},
"zDvDnG": {
"context": "modal header",
"string": "Media from the URL you supply will be shown in the media gallery. You will be able to define the order of the gallery."
Exit dirty form (#1816) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Fixes after review * Add default value for useform prop opts so the app doesn't crash * Add missing category prop to getting initial data for category details form * Add exit dialog to everywhere WIP (#1600) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Add CommonUseFormResultWithHandlers type for later use and refactor handleFormSubmit util * Refactor login form not to use custom form since it doesn't need to * Add exit form dialog to order refund page * Add exit form dialog to order return page * Add exit form dialog to order order settings page * Add exit form dialog to product variant page * Add exit form dialog to product create page * Add exit form dialog to product update page * Add exit form dialog to product variant create page * Fix confirm leave prop passing in generic Form * Add util function to handle for submit to extract errors * Add confirmLeave prop to generic forms * Move handleChange for custom forms to useForm * Add exit dialog to more forms * Add extract mutation errors util function * Add extracting errors to submit functions that use metadata create handler * Fix typo * Add missing category prop to getting initial data for category details form * Fix types * wip * wip * wip * wip * Fix types & refactor * Fix types & refactor * Fix typescript * Fix unmatching tag * Fixes * Add handling of multiple forms at once to exit dirty form provider * Change all usages of ExitFormDialogContext to designated hook * wip * wip * wip * Fix types wip * Fix types * Remove console logs * Add isSubmitting prop to exit form dialog in order to avoid enabling exit dialog while submit is still in progresS * Replace handleSubmit global util with a hook to use exit form dialog props inside * Move useHandleSubmit to general hooks dir, update imports * Small fixes * Update snapshots * Fix types * Small fixes due to extensive rebase * Update package lock * Fixes after rebase * Remove exit form from customer address dialog * Fix types and update messages * Fix types * Change imports names * Refactor * Remove unnecessary console.log * Update types, snapshots. etc after rebase
2022-02-01 09:58:06 +00:00
},
Order details datagrid (#3325) * Show available channels * Add price and updatedAt columns * Fix sorting, only sort on selected columns * Sort by channel * Allow delete name and product type * Fix show not product found * Extract mssages * Product datagrid custom column picker * Column picker in data grid in dirty hack for bug * fix storybook props * Restore Datagrid defalt column picker with custom render * Add sort by attributes * Use datagrid loading cells * Fix product searching * Show attributes before last updated * Readonly all fields in datagrid * Fix creating new datagrid row * Remove add new procut button from datagrid * Show only active sorted column * Temp fix for column filter * Fix column mismatch * Add comments and spred props to ColumnPicker * Cleanup * Update avatar size and styles * On row click with hover on row styles * Use new theme * Change placeholder image * Draw rounded image with border * Readonly product datagrid * Use new theme colors in datagrid * Add vertical borders control to datagrid * Add empty column to add padding * Add coursor to datagrid * Restore vertical borders, fix cursor pointer * Add custom freezed column * Initial tooltip for column * Move tooltip to datagrid * Adjust datagrid colors style, add possibility to select column * Change datagrid selected cells colors * Fix typo and extract messages * Base order datagrid * Cleanup Datagrid component * Cleanup and code refactor * Remove cursor pointer props from readonlyCell * Use money cell for total column * Add custom cell renderers and fix types * Simple tags implemenrtion for status and payment col * Add colors from theme * Make tagCell more dynamic * Refactor Datagrid file structure * Add loading indicators * Selecting column without cells in readonly * Add sort icons to orders list * Refactor after CR. fix typos * Change color of selected colum cell on hover * Improve selected header text contrast * Move useColumnPickerColumns to hooks dir with tests * Add less padding to column picker button * Remove double border top * Fix cursor pointer for tagCell and moneyCell * useGetCellContent hook * On loading show only one row * Add missing darkmod color for warning tag * Refactor columns in datagrid * Add new macaw theme provider to storybook * Fix passing props in datagrid * Trigger deployment * Fix column picker in products * useDatagridColumns * Fix one more time * Add column picker with default columns * Change color for selected header change to textBrandDefault * Remove unused code, move attributes colums as last * Cleanup useDatagridColumns * Improve DatagridProps * Static datagrid for products (#3144) * Migrate top nav of product list page to new MacawUI (#3290) * feat: migrate top nav of product page * feat: add proper deprecation links --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> * Datagrin on order details intial * Adjust ExtraInfoLines * Remove padding on datagrid card content * Remove datagrid card paddding (#3310) * Disable column icon when no rows in orders * Datagrid row hover show only when readonly and row clickable * Implement card view for product list (#3292) * Add temporary view switcher * Add basic product tile view * Bump macaw-ui * Add ellipsis * Bump macaw-ui * Add status dot & fix non-rectangular thumbnails * Bump macaw-ui * Add variable size placeholder icon * Improve loader * Fix top nav menu key error * Add pagination * Add unit tests * Extract messages * Extract status color to function * CR Refactor * Hold product view state in local storage (#3315) * Remember view state for product list * Use util status function for status dots * Datagrin in orderDraftDetails * Remove not used components * Fix for empty column and hover in datagrid for product (#3324) * Remove datagrid card paddding (#3310) * Fix for empty column and hover in datagrid for product (#3324) * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Use themeValues from macaw (#3326) * Upgrade macaw * Use themeValues * Add empty column from datagrid, improve theme types * Use theme type from typeof * Use empty column and themeValues * Filter empty column from default * New product header (#3346) * Extraxt messages * Remve title left padding * Fix switching view * Add margin right to nav button * Improve view switch * Update switch view icons * Add spacing to switch * Add more space * Add new filterbar to order list * Code refactor and tests * Refactor OrderDraftDetailsDatagrid * Extract messages * Refactor OrderDraftDetailsDatagrid * Update alert messages * Extract messages * Write unit tests * Improve switch component * Overwrite Pill styles * Common method to get status color for pills * Local Pill component POC * Add ThemeProvider to test wrapper * Extract messages * Refactor Pill * Fix Pill path * Fix tests mocks * Remove scrollbar and border bottom * Add custom border to to datagrid * Fix borders * Fix border bottom * Refactor and cleanup * Remove not needed selectionActions code * Move logic code t misc * Fix scrollbar and zindex datagrid borders * Fix product tiles condition * Use utils functions, remove not used code * Refactor to hooks * Loading prps instead of disabled * use getStatusColor * Move getMenuItems to separate function * Fix loading props * Use empty colum hook in OrderDetailsDatagrid * Fix empty column when save column change * Fix bottom line in layout overlap * Show moneCell with discounted price * Make quantity ediable in order draft datagrid * Readonly datagrid cells * Update onyl when column is quantity * Fix message * Keep first column in datagrid not removable * Fix for not existing column * Add loader over datagrid, fix problem with border top when empty text in variants * Fix error color and change color in datagrid * Use formatMoneyAmount * Fix remove order draft product with discount * Extract messages * Add product sku to order draft details datagrid * Fix loading state and change cell color * Add MoneyDiscuntedCell * Use MoneyDiscuntedCell in order draft details datagrid * Add trash bin icon * Restor discount modal for order draft summary * Fix problem with deleting quantity * Improve await for promises and handler zero quantity error * Fix column order issue * Add discount modal box shadow * Allow decimal as percentage value for discount * Fix max fixed value * Remove double border * Fix z-index issue on discount modal * Remove padding on order details datagrid * Add proper error message to common discount modal * Fix is submit disabled * Move status as last column in datagrid * Add padding to money discount cell editor * Make quantity column smaller * Fix recalculating disount value * Fix calculate change discount type * Store calculated value without triming decimal, trim decimal in input * Refactor money cells * markCellsDirty rename to areCellsDirty * Remove discount from MoneyCell * Use const to store row height in discount editor * Fix copy in discount modal * Remove past on money discount cell * Remove locale in product varaints * Fix nullable sku * Extract messages * Fix keeping always first column * Remove padding on tracking info * Fix story * Fix render 0 money amount * Fix displaying not empty string money * adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652) * adding new e2e for grid on orders details view * merging conflicts fix - and adding new TC numbers to new tests * trigger tests * failing tests fixes --------- Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <droniu@droniu.dev> Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 07:52:13 +00:00
"zHx85l": {
"context": "value input helper text",
"string": "Cannot be higher than 100%"
},
"zKOGkU": {
"context": "time during discount is active, header",
"string": "Active Dates"
Exit dirty form (#1816) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Fixes after review * Add default value for useform prop opts so the app doesn't crash * Add missing category prop to getting initial data for category details form * Add exit dialog to everywhere WIP (#1600) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Add CommonUseFormResultWithHandlers type for later use and refactor handleFormSubmit util * Refactor login form not to use custom form since it doesn't need to * Add exit form dialog to order refund page * Add exit form dialog to order return page * Add exit form dialog to order order settings page * Add exit form dialog to product variant page * Add exit form dialog to product create page * Add exit form dialog to product update page * Add exit form dialog to product variant create page * Fix confirm leave prop passing in generic Form * Add util function to handle for submit to extract errors * Add confirmLeave prop to generic forms * Move handleChange for custom forms to useForm * Add exit dialog to more forms * Add extract mutation errors util function * Add extracting errors to submit functions that use metadata create handler * Fix typo * Add missing category prop to getting initial data for category details form * Fix types * wip * wip * wip * wip * Fix types & refactor * Fix types & refactor * Fix typescript * Fix unmatching tag * Fixes * Add handling of multiple forms at once to exit dirty form provider * Change all usages of ExitFormDialogContext to designated hook * wip * wip * wip * Fix types wip * Fix types * Remove console logs * Add isSubmitting prop to exit form dialog in order to avoid enabling exit dialog while submit is still in progresS * Replace handleSubmit global util with a hook to use exit form dialog props inside * Move useHandleSubmit to general hooks dir, update imports * Small fixes * Update snapshots * Fix types * Small fixes due to extensive rebase * Update package lock * Fixes after rebase * Remove exit form from customer address dialog * Fix types and update messages * Fix types * Change imports names * Refactor * Remove unnecessary console.log * Update types, snapshots. etc after rebase
2022-02-01 09:58:06 +00:00
},
"zLtb4N": {
"context": "gift card removed success alert message",
"string": "{selectedItemsCount,plural,one{Successfully deleted gift card} other{Successfully deleted gift cards}}"
Exit dirty form (#1816) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Fixes after review * Add default value for useform prop opts so the app doesn't crash * Add missing category prop to getting initial data for category details form * Add exit dialog to everywhere WIP (#1600) * Add Exit form prompt component and change some minor styles in other components to match * Add Exit form prompt provider * Adjust generic form and useform hook to allow using exit form prompt provider * Add exit form prompt provider to index * wip * Fix types * Fix styling * Fix types * Revert warehouse details refactor * Add handling of edge cases to exit prompt * Refactor, add comments, fix some types * Refactor after exit form dialog name change * fix types * Add CommonUseFormResultWithHandlers type for later use and refactor handleFormSubmit util * Refactor login form not to use custom form since it doesn't need to * Add exit form dialog to order refund page * Add exit form dialog to order return page * Add exit form dialog to order order settings page * Add exit form dialog to product variant page * Add exit form dialog to product create page * Add exit form dialog to product update page * Add exit form dialog to product variant create page * Fix confirm leave prop passing in generic Form * Add util function to handle for submit to extract errors * Add confirmLeave prop to generic forms * Move handleChange for custom forms to useForm * Add exit dialog to more forms * Add extract mutation errors util function * Add extracting errors to submit functions that use metadata create handler * Fix typo * Add missing category prop to getting initial data for category details form * Fix types * wip * wip * wip * wip * Fix types & refactor * Fix types & refactor * Fix typescript * Fix unmatching tag * Fixes * Add handling of multiple forms at once to exit dirty form provider * Change all usages of ExitFormDialogContext to designated hook * wip * wip * wip * Fix types wip * Fix types * Remove console logs * Add isSubmitting prop to exit form dialog in order to avoid enabling exit dialog while submit is still in progresS * Replace handleSubmit global util with a hook to use exit form dialog props inside * Move useHandleSubmit to general hooks dir, update imports * Small fixes * Update snapshots * Fix types * Small fixes due to extensive rebase * Update package lock * Fixes after rebase * Remove exit form from customer address dialog * Fix types and update messages * Fix types * Change imports names * Refactor * Remove unnecessary console.log * Update types, snapshots. etc after rebase
2022-02-01 09:58:06 +00:00
},
"zQX6xO": {
"context": "dialog header",
"string": "Delete App"
},
"zQnYKn": {
"context": "status section subtitle",
"string": "Channel status"
Apps (#599) * create Apps view * create more app components, generate types and messages * apps refactor, update snapshots * show error message in tooltip when app installation fail * update apps components and view, add apps list to storybook * update defaultMessages * create app details view * update AppListPage with Skeleton component * create app activate/deactivate dialogs, create app details stories * add AppHeader to AppDetailsPage * update defaultMessages * update AppDetails view and components after review * create custom app details view * refactor webhooks * update webhooks fixtures * update WebhookDetailsPage story * update strings * create CustomAppCreate view and components * update AppListPage story * create AppInstall view and page * handle errors in AppInstall view * update defaultMessages * add AppInstallPage to storybook * add status prop to MessageManager * update defaultMessages * remove service account section * remove service account routes * remove as operator from notify status * add notifications for app installations * update styles for deactivated app * update app installations with local storage * update defaultMessages * AppInstall update * dd delete button to ongoin installations table * fix active installations condition * fix error messages in AppsList * update defaultMessages * add iframe to AppDetailsPage * create AppDetailsSettingsPage * install macaw-ui * apps styles clean up * update schema, fixtures * few apps updates * WebhookCreate - fix onBack button name * WebhookCreatePage story update * rename apps table from external to thirdparty * update defaultMessages * fix test, update snapshots * AppDetailsSettings - add token to headers * fix first number in local apps query * app details settings - use shop domain host * add onSettingsRowClick to InstalledApps * resolve conflicts * update changelog and messages * add noopener noreferrer do app privacy link * update snapshots * update snapshots * updates after review * update defaultMessages * CustomAppDetails - add missing notify status
2020-07-22 10:54:15 +00:00
},
"zR9Ozi": {
"context": "select all channels label",
"string": "Select All Channels"
},
"zRrcOG": {
"context": "order history message",
"string": "Order was cancelled"
},
"zSOvI0": {
"string": "Filters"
2020-03-18 11:03:31 +00:00
},
"zWM89r": {
"context": "numeric attribute units of",
"string": "Units of"
},
"zWgbGg": {
"string": "Today"
},
"zZCCqz": {
"context": "button",
"string": "Assign countries"
},
"zb4eBO": {
"context": "order total price",
"string": "Total"
},
"zbJHl7": {
"context": "attribute type",
"string": "Content Attribute"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"zf48rQ": {
"context": "sum of captured amount of all transactions",
"string": "Total captured"
},
"zfBsje": {
"context": "bulk actions button label",
"string": "Delete content"
},
Support for new transactions API (#2233) * Revert "🦄 Simple taxes (#2072)" This reverts commit 5c1a62171d94d00c3b457dc321c0d14900d4188f. * 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 15:51:19 +00:00
"zfjAc7": {
"context": "grant refund, card header",
"string": "Unfulfilled products"
},
"zgqPGF": {
"context": "attribute list",
"string": "Attribute {name}"
},
2023-04-12 07:11:11 +00:00
"zhnwl6": {
"context": "save preset name",
"string": "Preset name"
},
"zjHH6b": {
"context": "sale start date",
"string": "Started"
2021-01-25 10:28:44 +00:00
},
"zjZuhM": {
"context": "created gift card code label",
"string": "This is the code of a created gift card:"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"zjkAMs": {
"context": "header",
"string": "Translation Sale \"{saleName}\" - {languageCode}"
},
"zmnGkp": {
"context": "button",
"string": "Fork on GitHub"
},
"znbVYT": {
"context": "product available for purchase date",
"string": "Will become available on {date}"
},
"zqarUF": {
"context": "modal information under title",
"string": "Select an address you want to use from the list below"
},
"ztQgD8": {
"string": "No attributes found"
},
"zxs6G3": {
"string": "Manage how you ship out orders"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"zyXcBP": {
"string": "Sorting by this column requires active filter: {filterName}"
Add channel shipping zones (#1015) * Add naked input option to SingleAutocompleteSelectField and update it's stories * Add new icons - chevron up, down & trash * Add deletable item component and stories * Add card add items footer component to be used in warehouses and product stocks assign * Update schema and types * Add shipping zones card components * Update channel details page form to also include shipping zones * Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time * Update channels types & fragments * Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir * Add shippinh zone to channel update and create and add shipping zone search * Update messages * Fix types * Fix lint, types etc * Small refactor from review and quick fix styles of shipping zones card * Refactor a bit and update snapshots * Refactor a bit and update snapshots * Addd / refactor channels availability components * Add useChannelsWithProductVariants hook with utils and types * Add / refactor more channels availability components * Move avatar from table cell avatar to separate component for it to be usable outside of tables * Add channels with variants logic to product create and update pages & views * Refactor components to use updated channels availability components * Remove unnecessary comments * Update storybook * Update types * Update messages * Fix prices for variants / simple product not uodating properly * Post merge cleanup, update schema, types, etc. * Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone * Update types * Update snapshots * Fix selecting / deselecting all channels in channels with variants modal * Fixes after review, some types changes etc. * Update snapshots * Small types fixes * Make price rates views use parent shipping method channels instead of all * Make price rates views use parent shipping method channels instead of all * Update types * Fix bugs * Fixes after review * Fix channels availability data submission * Fix lint * Fix variant pricing card showing not related channels * Fixes after review * Fix types * Hide unaviable variants in add products to draft order dialog * Fix channels with variants availability modal showing confirm button as enabled when it shouldn't * Fix types * Update semi checked icon to match old designs * Update types * Update channels icon in channels with variants availability * Fix product cypress test after product channels mutation changed * Fix trash and chevron down colors in dark mode * Fix shipping zones card footer not updating query after click away * Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected * Fix products adding in order draft dialog * Fix simple productupdate * Update snapshots after merge with master * Update messages * Fix product api request for cypress * Add missing test id * Fix selecting if product is simple -> form being submitted with empty data sometimes * Update snapshots, messages and add fix for invalid date at product update * Remove unnecessary imports * Fix failing test in saleor 2552 (#1061) * fix * fix * fix Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
},
"zyceue": {
"context": "placed order counter",
"string": "{count}/{max} orders"
},
"zzfj8H": {
"context": "label",
"string": "No refund"
}
}