Paweł Chyła
67c674126a
Show absolute dates ( #3186 )
2023-02-28 10:50:54 +01:00
Krzysztof Żuraw
9c88e17f34
Add new Layout structure ( #3213 )
2023-02-28 10:33:16 +01:00
Lukasz Ostrowski
b9acfe6214
Improve AppPage ( #3216 )
...
* WIP - reduce rerenders and change how dashboard sends events to app
* Cleanup
* Refactor
* Add loader behind the iframe
* Fix linter
2023-02-27 16:35:35 +01:00
Bartłomiej Wiaduch
0fef41b04f
Allow subscription query for sync events ( #3099 )
...
Allow subscription query for sync events
2023-02-23 10:03:41 +01:00
Krzysztof Żuraw
9f54a7840c
Add padding to install page ( #3210 )
2023-02-22 16:31:22 +01:00
Paweł Chyła
a0663475f6
Fix styles issues after reshaping ( #3201 )
...
* Fix style issues after reshaping
* Fix remove button padding
2023-02-22 16:20:42 +01:00
Bartłomiej Wiaduch
ab2ce01c8a
Add WebhookHeaders component ( #3107 )
...
* Add custom request headers to webhook form
2023-02-22 14:14:51 +01:00
Krzysztof Żuraw
0f81e158ce
Do not show sidebar if it is not needed ( #3198 )
2023-02-22 14:00:03 +01:00
Timur Carpeev
6434f277e8
Metadata by default no expanded ( #3172 )
2023-02-21 16:14:00 +01:00
Lukasz Ostrowski
82071f4b88
Handle Appstore app empty manifest URL ( #3177 )
2023-02-21 12:50:37 +01:00
Jakub Neander
d4d9b1b91c
Extract permissions for subscription query ( #3155 )
2023-02-21 12:38:28 +01:00
Timur Carpeev
1410919c6f
Remove awkward uppercase in filters ( #3170 )
2023-02-21 11:26:34 +01:00
Patryk Andrzejewski
3789f5bb52
New macaw ui ( #3069 )
...
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
2023-02-20 16:21:28 +01:00
Jakub Neander
91bd9c772d
Fix the menu title for GraphiQL redirect ( #3175 )
2023-02-17 11:11:22 +01:00
Paweł Chyła
b040a0deb8
Product variants bulk update ( #3032 )
2023-02-15 14:31:45 +01:00
Paweł Chyła
15a0b812a6
Fix show full date insted of date with toolip in orders ( #3149 )
2023-02-13 10:40:05 +01:00
Jakub Neander
6cdf378532
Fix the API URL construction ( #3142 )
2023-02-09 10:33:02 -05:00
Timur Carpeev
696aeb7010
Add multiline ( #3134 )
2023-02-09 15:18:00 +01:00
Michał Droń
e69bf63498
Disable failing product update test ( #3121 )
2023-02-07 12:39:29 +01:00
Lukasz Ostrowski
477de5c3dc
Change Vercel deployment button to fork on github button ( #3119 )
...
* Change vercel deployment button to fork on github button
* Extract translations
2023-02-07 11:59:06 +01:00
Lukasz Ostrowski
3d1fa0df35
Remove MARKETPLACE_URL env which was used for previous AppStore implementation ( #3086 )
2023-02-06 15:05:06 +01:00
poulch
c8bb645ae8
Fix edit user settings ( #3079 )
...
* Prepare mutation for change password nad user first nad last name
* User mutations
* User and staff mutation hooks
* Split mution for user and staff specific
* Ad props types and refetch after user mutations
* Add save button status for user mutation
* Get rid of maybe
* Improve hooks naming
* useProfileOperations
2023-02-01 16:50:43 +01:00
Michał Droń
34cdd75b60
Change tax configurations amount from 20 to 100 ( #3088 )
2023-02-01 15:25:51 +01:00
Lukasz Ostrowski
7321ca959f
Encode appID when updateRouting action handled ( #3064 )
2023-01-30 17:12:21 +01:00
poulch
83962d6e93
Fix cut numbers ( #3072 )
2023-01-30 14:49:08 +01:00
Bartłomiej Wiaduch
6dbb8e4ecc
Webhook query dry run ( #2960 )
2023-01-30 13:06:54 +01:00
Jakub Neander
7b8ececc3d
Make webhook active by default ( #3067 )
2023-01-30 12:59:24 +01:00
Anna Szczęch
1baa9d35a7
Fix test should not be able to create staff member with not unique email. TC: SALEOR_3508 ( #3055 )
...
* add data-test-id for error text and update test SALEOR_3508
* undo xit
* move selector form test body to elements
2023-01-30 11:54:58 +01:00
Lukasz Ostrowski
4ae2748e8e
Refactor app actions handling ( #3042 )
...
* Update app-sdk
* extract useHandleNotificationAction
* Extract useUpdateRoutingAction hook
* extract redirect action
* Extract isAppDeepUrlChange to AppUrls
* Rewrite redirection logic
* Remove useCallback
* add tests
* finish tests
* refactor trycatch
* Fix actions respond calls
* Fix how route is resolved for updateRouting
2023-01-27 16:21:19 +01:00
poulch
301b488277
Fix sending type when new attribute ( #3058 )
2023-01-26 16:21:22 +01:00
Jakub Neander
b510d68fa9
Add redirect to GraphiQL from product & order ( #2940 )
2023-01-26 12:04:39 +01:00
Patryk Andrzejewski
ffb16ff1ed
Cover optional error property ( #3004 )
2023-01-26 11:11:50 +01:00
Lukasz Ostrowski
f1d13dd264
Provide active theme to app in iframe URL ( #3028 )
2023-01-26 11:09:39 +01:00
Krzysztof Żuraw
71d0e4a980
Revert feature flag for sidebar from main ( #3047 )
2023-01-26 11:01:15 +01:00
poulch
993595caac
Fix strict null check in attributes ( #3005 )
2023-01-26 09:38:19 +01:00
Karolina Rakoczy
d413c8e852
update tax configuration before creating vouchers ( #2939 )
2023-01-25 13:32:30 +01:00
Krzysztof Żuraw
ee00b27795
Revert "Basic sidebar version" ( #3046 )
2023-01-25 12:21:36 +01:00
poulch
7593e6378a
Fix crash staff page when access property of undefined ( #3038 )
2023-01-25 08:34:01 +01:00
Krzysztof Żuraw
1e6b53e249
Basic sidebar version ( #3039 )
2023-01-24 16:48:51 +01:00
Jakub Neander
112747a51c
Add GraphiQL for defining subscription queries for webhooks ( #2885 )
...
Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: Michał Droń <dron.official@yahoo.com>
2023-01-24 14:59:14 +01:00
Bartłomiej Wiaduch
93df011c7b
Fix data-test-id
for TokenCreateDialog
( #3034 )
2023-01-24 13:18:53 +01:00
poulch
167274d361
Remove flagsmith ( #3025 )
2023-01-24 11:50:14 +01:00
poulch
0c704cf1d7
Improve feature flags ( #3027 )
...
* Fix checking if env flag is enabled
* Restrict flag value to string
* Flagsmit to string value
2023-01-24 11:27:04 +01:00
Timur Carpeev
8e09d15522
Add playground headers ( #3016 )
...
* Add playground headers
* Small refactor, messages generation
* Small refactor, messages generation
* Ci
* Ci
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-24 09:35:29 +01:00
Krzysztof Żuraw
373c9e9ac3
Add sidebar feature flag ( #3019 )
...
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-23 12:16:02 +01:00
Michał Droń
abbe76442d
Fix strict null errors in utils ( #3007 )
...
* Fix strict null in utils/errors
* Fix auth-related src/utils strict null errors
* Fix data, maps and tables utils
* Fix utils/urls
* Fix filters
* Fix strict null errors in utils/handlers
* Fix strict nulls in utils/menu
* Fix strict nulls in utils/sort
* Fix strict nulls in utils/richText
* Fix search handler
* Fix siteSettings leftover type mismatch
* Fix page map error for attribute case
* Fix type error for sdk error codes
* Fix Choice type in page maps
* Fix error types mismatch
* Remove addressType from type union in auth error message
2023-01-23 09:30:04 +01:00
poulch
221adf25d6
Paginate tax rates in the tax class view ( #2997 )
2023-01-20 13:51:46 +01:00
Dawid
05b2da8082
Uncover new apps marketplace ( #2993 )
...
* Uncover new apps marketplace
* Update apps marketplace GitHub workflows envs
2023-01-19 14:15:46 +01:00
Dawid
513655f3a1
Improve contextual actions in new apps marketplace ( #2975 )
2023-01-19 12:54:57 +01:00
Krzysztof Żuraw
b88ee3c3b9
Add Feature Flags support to storybook ( #2994 )
2023-01-18 14:23:43 +01:00
Michał Droń
931467a73a
Fix strict null checks in warehouses ( #2945 )
...
* Fix strict nulls in warehouse details
* Fix strict null check in warehouse list
* Fix stcit null checks in warehouse create view
* Fix overlapping label in textfields
* Improve labels in warehouse details
* Improve function description
2023-01-18 10:23:24 +01:00
Patryk Andrzejewski
53806abc10
Staff member cannot chnge its own settings ( #2968 )
2023-01-17 09:51:18 +01:00
poulch
d5ed6fb202
Feature flags ( #2961 )
...
* [Feature Flags] Abstraction over flags provider (#2928 )
* Remove useFlag hook
* [Feature Flags] GraphQL build multiple schemas (#2937 )
* Build script
* Refactor build types script
* Remove old codegen.yml
* Clean feature flags in script
* Refactor schema path
* Restore useAuthProvider
* Update configuration file
* encapsulate details for feature flags provider
* Add proper env to flagsmith provider
* Remove flagsmith mocks
* Vite config define global variables
* Render flagmisth provider only when is used
* Keep name service agnostic
* Test with mocked flagsmith
* Use global FLAGS varaible for env flags
* Fix type issue with FLAGS
* Fix build issue
* Remove duplicate translations
* Fix typo
* Prepare for QA tests
* Remove test feature flag
2023-01-16 14:55:38 +01:00
Patryk Andrzejewski
7a43421af5
Use mount uri in redirect ( #2979 )
...
* Reflect mount uri in the app redirect
* use URL constructor
2023-01-16 11:09:24 +01:00
Krzysztof Żuraw
04247d3f95
Migrate from @saleor alias to @dashboard ( #2981 )
2023-01-16 10:45:12 +01:00
Anna Szczęch
d90abd4f8b
Fix test related to saving variant ( #2962 )
...
* Update test after changes in variant name behaviour
* remove comment
* Add data-test-id and update tests
2023-01-13 09:21:18 +01:00
Michał Droń
2714ac82b6
Fix duplicate attributes type error ( #2977 )
...
* Fix intl.ts
* Disable failing tests
2023-01-12 14:26:28 +01:00
Michał Droń
88d0cecfed
Replace order line total calculation with API value ( #2969 )
...
* Query total price in order line data
* Add order line total to discount context consumer
* Replace frontend calculations with api value for order line totals
* Split logic for order discount and order line discount contexts
* Pass extra props to money component
* Add unit test
* Do not pass all props to Money's span
2023-01-12 13:57:39 +01:00
Timur Carpeev
b17f6e735b
Align label to dropdown ( #2822 )
2023-01-12 09:24:06 +01:00
Dawid
eb01b84412
Improve apps contextual actions ( #2943 )
2023-01-12 09:19:13 +01:00
Michał Droń
ddf4adda9d
Mark taxes as preview ( #2971 )
...
* Create dedicated TaxPageTitle component
* Change page headers in taxes views
* Apply CR fixes
2023-01-11 17:10:04 +01:00
poulch
e619866338
fix: datagrid does not save prices without decimal prices ( #2955 )
2023-01-11 10:49:21 +01:00
Dawid
5bc8e39eb7
Hide toolbar in app page ( #2938 )
...
* Hide toolbar in app page
* Remove back button from app frame page
2023-01-10 15:24:24 +01:00
Dawid
1621feb691
Apps marketplace ( #2850 )
...
* Add new Apps List
* Update apps routing
* Add marketplace apps list
* Update apps urls
* Update app list style
* Add installed apps section
* Update apps sections and connect actions with mutations
* Add latest missing buttons and labels to installed apps list
* Update installed apps list
* Update installed apps list
* Add tests and marketplace error handling
* Update environment configuration
* Update GitHub actions env configuration
* Refactor AppListCard component
* Test InstallWithManifestFormButton
* Test AppListCard
* Extract InstalledAppListRow with tests
* Update GitHub actions env configuration
* Tests of apps dialogs
* Update GitHub actions env configuration
* Update messages
* Update GitHub actions env configuration
* Quote untrusted GitHub actions variables
* Change useFetch to useMarketplaceApps and add tests
* Fix strict null check errors
* Refactor apps details components
* Add strict null checks for /new-apps/ components
2023-01-10 11:04:30 +01:00
İlkay Kısayol
3f94803c79
Update ProductVariantName components "name" form field into "variantName" ( #2903 )
2023-01-05 14:33:17 +01:00
Krzysztof Żuraw
fe709db82b
Clean up storybook ( #2941 )
2023-01-05 13:34:34 +01:00
Krzysztof Żuraw
c60f6f870c
Remove isDevelopment
flag and cleanup a code in Form component ( #2912 )
2023-01-03 11:04:42 +01:00
Karol
00757a50d1
2865 standardize test ids for elements ( #2931 )
...
* done
* done
2023-01-03 09:18:56 +01:00
poulch
bf2a2035d3
Fix strict null check in Apps ( #2911 )
...
* Fix apps strict null checks
* Set strictNullChecks to false
* Improve strict null checks
* Replace typ to Extension
2022-12-29 13:51:54 +01:00
Patryk Andrzejewski
4e0528146b
Fix displaying ountry are as readable name ( #2910 )
...
* Fix displaying country area
* Fix displaying country area
* Remove local code
2022-12-23 13:17:41 +01:00
Karol
e69eb9cc5f
Cypress 2608 staff member tests ( #2902 )
...
* fix existing
* add SALEOR_3508
* add data-test-id needed for 3509
* add TODOs
* 3509 done, work on 3510
* done 3510
* found bug blocking test 3507, gh 2847
* pr review adjustments
* pr adjustments
* additional pr adjustments
2022-12-23 11:30:21 +01:00
Michał Droń
402069f464
Fix dialog maxHeight on short viewports ( #2881 )
2022-12-21 13:17:33 +01:00
Patryk Andrzejewski
6db5dfa94a
Implement dropdown for province/country area selection based on allowedFields from the API ( #2833 )
...
* Dropdown for province / country area
* Remove unused ref
* Implementation for settings and warehouses
* Disable autocomplete
2022-12-21 09:54:45 +01:00
Endo
3669f45061
replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751 ( #2772 )
...
* replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751
* added fuse.js and replace filter of fuzzaldrin with search of fuse.js to fix country select issue #2751
* use original array if query is empty in SingleAutocompleteSelectField, not use fusejs result
2022-12-20 14:18:50 +01:00
Patryk Andrzejewski
2327d92b41
Fix search in reference attributes ( #2878 )
...
* Fix attribute reference search
* Fix attribute reference search
2022-12-20 11:55:28 +01:00
poulch
1d4c4d878e
Datagrid - show icon button when single menu item with icon ( #2862 )
...
* RowMenu component
* Show first menu item as icon
* RowAction tests
* Change Edit button
* Remove outline from colum picker
* Change ghost color
* Update enterVariantEditPage test
* Update test id in test for edit button
* Update editVariant selector in test
2022-12-16 20:59:39 +01:00
Michał Droń
e90a2fd757
Remove submitting from exit dirty form modal ( #2820 )
...
* Remove submit from exit dirty form util
* Extract messages
* Change data-test-id attributes
* Add a unit test
* Change given when then to AAA
* Mock packages
* Change button click to user events
2022-12-16 15:54:41 +01:00
Dawid
bba95a8fb4
Extract "webhooks & events" to separate page ( #2818 )
...
* Extract "webhooks & events" to separate page
* Create separate /custom-app/ path for custom apps with webhooks
* Change all /webhooks/ paths to /custom-apps/
* Update messages
* Update generated graphql types
* Create findById util
* Refactor consts and resolvers for custom app urls
* Fix app graphql fragment
* Update Miscellaneous icon for Webhooks and Events
* Add tests for custom apps utils
* Fix dark-mode Miscellaneous icon for Webhooks and Events
* adjustments for autotests
Co-authored-by: karolm-saleor <karol.macheta@saleor.io>
2022-12-15 14:51:05 +01:00
poulch
ef35e5149b
Fix strict null check in SiteSettings module ( #2851 )
...
* Fix strict null check in SiteSettings
* Improve urls
2022-12-14 18:11:24 +01:00
poulch
769268a9a7
Restore expand-icon test id ( #2856 )
...
* Remove expand icon in ChannelList
* Update macaw ui to 0.7.1
2022-12-14 13:48:43 +01:00
Patryk Andrzejewski
550ef12ab2
Fix assign attribute for pages ( #2843 )
...
* Fix assign attribute for pages
* Fix assign attribute for pages
* Fix assign attribute for pages
* Fix assign reference for edit page
2022-12-14 12:15:39 +01:00
Karol
9c605f8d1b
[cypress] add tests for gift cards bulk create and export ( #2801 )
...
* first draft
* fixed data-test-id
* done
* restore port for cypress
* change email
* pr improvments
* add csv check
* adjustments
* added check for xlsx
* change name
* change name
* remove cy log
* remove cy log
* add yaml cypress mailhog var
2022-12-13 08:04:54 +01:00
Krzysztof Żuraw
6b685b109c
Remove double pkgs in pkg.json ( #2826 )
2022-12-12 10:45:14 +01:00
Dawid
6725f6fde2
Fix products filtering ( #2746 )
...
* Fix products filtering
* Refactor products filtering functions
* Update filter test snapshots
* Add tests for attribute filtering
2022-12-09 15:18:59 +01:00
Patryk Andrzejewski
15105f77ce
Demo mode improvements ( #2825 )
...
* Enable DEMO_MODE env
* Set GH star button
2022-12-08 16:34:46 +01:00
Patryk Andrzejewski
e803c1980e
Fix overlapping cells in product list view ( #2657 )
...
* Fix breaking words on table cells
* Update snapshots
2022-12-08 13:08:35 +01:00
Patryk Andrzejewski
81615ab6a6
Fix broken HRM on the apps page ( #2794 )
...
* Split context to the separate file
* Split context to the separate file
2022-12-07 13:10:51 +01:00
Krzysztof Żuraw
422feec2b7
Remove enzyme and react-test-renderer ( #2788 )
2022-12-07 11:20:09 +01:00
Michał Droń
8634aa4542
Fix exit form issue in product translations ( #2644 )
...
* Fix rich text exit form issue
* Add unit test for rich text submit hook
* Extract logic
* Fix tests
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2022-12-07 11:02:02 +01:00
Michał Droń
b0ba5cc2ab
Enable use unknown in catch variables ( #2784 )
...
* Enable use unknown in catch variables rule
* Add type guards in useAuthProvider
* Add type cast in FilterErrorsList
* Handle error in tasks
2022-12-07 11:00:42 +01:00
Dawid
0741d3ca2c
Improve saving variant images ( #2640 )
...
* Improve saving variant images
* Update storybook types
* Add getSelectedMedia function for products
* Add test for handleAssignMedia in products
* Follow AAA test convention
* Add confirm button to media dialog selector
* Move dialog styles to separate file
2022-12-06 12:03:41 +01:00
Dawid
b98d5d57ef
Fix visual regression in datetime attribute ( #2787 )
2022-12-06 12:02:45 +01:00
Patryk Andrzejewski
018b93aaa6
Prevent infinite reloading service worker ( #2785 )
...
* Respect interval for service worker
* Do not load sw by vie plugin
* Move comment above
2022-12-06 11:12:19 +01:00
Patryk Andrzejewski
c4f6a18d38
Remove snapshots ( #2754 )
...
* Remove snapshots
* Remove setup file
* Keep config
2022-12-02 12:58:43 +01:00
Michał Droń
347e32ef4a
Replace classnames with clsx ( #2759 )
...
* Replace classnames with clsx
* Add clsx to package.json
* Remove classnames
* Remove classnames types
* Restrict classnames in eslint rules
2022-12-02 11:45:19 +01:00
Karol
d2496679c0
[cypress] Add tests for delete several gift cards ( #2646 )
...
* done
* pr fixes part1
* wip
* pr adjustments
* remove cy log
2022-12-02 10:37:09 +01:00
Michał Droń
e900f2e1df
Fix strict null checks in webhooks ( #2678 )
...
* Fix strict null errors in webhooks
* Disable strict null checks
* Update snapshots
* Add migration comment in tsconfig
* Fix 404 on loading
* Fix loading case
2022-12-01 14:42:18 +01:00
Patryk Andrzejewski
9bd69248d4
Fix service worker ( #2760 )
2022-12-01 11:55:46 +01:00
Lukasz Ostrowski
e06d3bdf0d
Improve dashboard and marketplace connection ( #2666 )
...
* Change env variables related to marketplace, add navigation item
* Change apps order
* Add button to browse marketplace
* Add redirect to Saleor Apps Marketplace on button click
* Move apps tabs state to URL
* Pass theme for initial marketplace iframe load
* Improve marketplace mount
* fix types
* fix cr
* Update env variables to disable marketplace on envs other than master staging
* Extract locales
* update snapshots
2022-11-30 17:20:20 +01:00
Dawid
f2af4a1b23
Metadata settings in tax classes ( #2680 )
...
* feat: added metadata settings to tax classes
* test: update test snapshots
* refactor: update taxes error handling
* refactor: add TaxClassBase fragment
* refactor: update tax classes initial values definition
2022-11-30 17:18:44 +01:00