Krzysztof Żuraw
76cde7c7b1
Migrate MacawUI to new spacing scale ( #3674 )
2023-05-24 12:12:07 +02:00
Krzysztof Żuraw
2f4b822acb
Adjust storybook to prevent false positivies ( #3679 )
2023-05-22 11:09:36 +02:00
Lukasz Ostrowski
8f58efcd50
Rebuild App Settings to be nested inside app screen ( #3676 )
...
* Rebuild App Settings to be nested inside app screen
* Remove memoization
* Update src/apps/components/AppPage/AppPageNav.tsx
Co-authored-by: Michał Droń <droniu@droniu.dev>
---------
Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-05-22 08:35:35 +02:00
Patryk Andrzejewski
3d2559ca0c
Set test id for apps iframe ( #3640 )
2023-05-16 10:02:54 +02:00
Krzysztof Żuraw
50c8e93534
Setup chromatic and cleanup storybook ( #3588 )
2023-05-12 13:06:27 +02:00
Krzysztof Żuraw
fc8f4be4e9
Add author field to app details page ( #3455 )
2023-04-20 09:39:54 +02:00
Jonatan Witoszek
593867f0c5
Fix iframe reloaded on each theme change ( #3491 )
...
* Fix iframe reloaded on each theme change
* CR
2023-04-13 14:18:14 +02:00
Paweł Chyła
5da48b07af
Replace all old tooltips with new one from macaw ( #3485 )
2023-04-12 15:55:42 +02:00
Krzysztof Żuraw
97c7a32455
Revert author field on app details page ( #3453 )
2023-04-04 10:55:12 +02:00
Krzysztof Żuraw
9690313d16
Add author field to app details page ( #3379 )
2023-03-22 13:17:48 +01:00
Michał Droń
51326e52c4
Refactor apps UI ( #3363 )
...
* Bump macaw-ui
* Add grouping util
* Refactor App cards UI using CSS Grid
* Rename AppListCard to AppListRow
* Fix unit tests
* Bump macaw-ui
* Remove inline styling
* Fix app installtion for second pair
* Add keys to grid rows
* Change grid template rows to repeat(4, auto)
* Replace groupIntoPairs with chunk method from lodash
* Fix borders on safari
* Add paddings to section names
2023-03-17 10:38:51 +01:00
Krzysztof Żuraw
4eebf16b55
Fix Gift Cards ( #3352 )
2023-03-17 08:41:44 +01:00
Lukasz Ostrowski
4ad8ad4a66
Introduce "debug" package and replace console.debug with it ( #3358 )
2023-03-15 10:44:02 +01:00
Michał Droń
228fe4d802
Fix overflowing integrations in app view ( #3313 )
...
* Bump lockfile
* Add flex-wrap to integrations
* Add flex-wrap to links
* Move integrations sections to upper card block
2023-03-10 09:08:08 +01:00
Lukasz Ostrowski
75a6edd864
Hide AppFrame loader when app handshaked ( #3303 )
2023-03-07 16:23:51 +01:00
Dawid
d79e21349a
Migrate new-apps to apps ( #3253 )
2023-03-06 10:57:25 +01:00
Dawid
ffa44f8b85
Remove app list view from old apps dir ( #3241 )
2023-03-02 10:22:01 +01:00
Dawid
a7d37ecd46
Migrate app install view to new-apps ( #3240 )
2023-03-02 09:33:40 +01:00
Dawid
dfb5f167d4
Migrate app details view (settings view) to new-apps ( #3167 )
...
* Migrate app details view to new-apps
* Fix data privacy card
2023-03-01 15:04:53 +01:00
Dawid
9803202e75
Migrate app view to new-apps ( #3161 )
2023-02-28 14:20:17 +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
Krzysztof Żuraw
9f54a7840c
Add padding to install page ( #3210 )
2023-02-22 16:31:22 +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
Lukasz Ostrowski
7321ca959f
Encode appID when updateRouting action handled ( #3064 )
2023-01-30 17:12:21 +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
Lukasz Ostrowski
f1d13dd264
Provide active theme to app in iframe URL ( #3028 )
2023-01-26 11:09:39 +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
Dawid
eb01b84412
Improve apps contextual actions ( #2943 )
2023-01-12 09:19:13 +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
Krzysztof Żuraw
fe709db82b
Clean up storybook ( #2941 )
2023-01-05 13:34:34 +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
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
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
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
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
Lukasz Ostrowski
17e3c4c8f2
Resolve saleor host/domain from full saleor api url ( #2613 )
2022-11-28 12:15:48 +01:00
Wojciech Mista
9574e6a92c
Macaw UI update ( #2512 )
...
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2022-11-24 13:16:51 +01:00
Lukasz Ostrowski
1fa9213871
Add support for synchronizing App's routing with Dashboard path ( #2551 )
...
* Add draft redirection fix
* Update SDK
2022-11-22 10:29:29 +01:00
Lukasz Ostrowski
8ab43fd519
Provide full API URL of Saleor to app iframe, add test ( #2579 )
...
* Provide full API URL of Saleor to app iframe, add test
* Fix imports after refactor
2022-11-17 15:10:33 +01:00
Krzysztof Żuraw
ac063c6410
Update Dockerfile ( #2523 )
...
Co-authored-by: Francisco Marques <franciscopcmarques@gmail.com>
2022-11-16 16:01:34 +01:00
Jonatan Witoszek
11a990d197
Remove hover from non-interactive table rows ( #2358 )
...
* Disable hover effect when TableRow is not clickable
* Replace TableRow with TableRowLink
* Update snapshots
2022-10-27 12:58:17 +02:00
Krzysztof Wolski
d3e2be165d
Add customer extensions mount points and pass object IDs to extensions ( #2176 )
...
* Pass additional page context to the popup via URL params
* Add customerID to available app params
* Handle the new customer app extensions
* Add extensions to the customer list
* Fix missing extensions from sidebar when no permission is required for them
* Pass selected products and customers to extension view
2022-10-26 13:19:20 +02:00
Lukasz Ostrowski
8f1a291c65
Change order of apps list and apps installations ( #2452 )
2022-10-24 15:56:03 +02:00
Karolina Rakoczy
4b46b4891c
Fix test for creating app ( #2439 )
2022-10-24 10:22:45 +02:00
Lukasz Ostrowski
7a20c12d22
remove dead link ( #2435 )
2022-10-21 15:16:36 +02:00
Lukasz Ostrowski
cb9d6ad471
Ensure app doesnt break when manifestUrl in app doesnt exist ( #2434 )
2022-10-20 16:36:21 +02:00
Lukasz Ostrowski
d67e4799b2
Apps tabs ( #2380 )
...
* Add tabs to apps page
* Detect app in tunnel
* Disable manifest install if Saleor Apps context
* Show only app origin instead full manifest
* Add copy manifest feature
* Update tests
* Add ENV with marketplace endpoint for fetching saleor apps
* Fetch Saleor apps for Marketplace and display them in the tab, otherwise hide
* Code review fixes
* Extract translation messages
* Update tests
2022-10-20 13:35:31 +02:00