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
9803202e75
Migrate app view to new-apps ( #3161 )
2023-02-28 14:20:17 +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
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
Krzysztof Żuraw
04247d3f95
Migrate from @saleor alias to @dashboard ( #2981 )
2023-01-16 10:45:12 +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
Lukasz Ostrowski
17e3c4c8f2
Resolve saleor host/domain from full saleor api url ( #2613 )
2022-11-28 12:15:48 +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 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
a4804e2f3d
Inform App iframe about current and changed locale ( #2304 )
...
* Inform App iframe about current and changed locale
* Install production app-sdk@0.11.0
2022-09-15 08:18:43 +02:00
Lukasz Ostrowski
ff09d04660
Send theme update event to marketplace app on theme change detected ( #2289 )
2022-09-13 09:15:48 +02:00
Wojciech Mista
e7f68f4c07
Periodical refresh of app token ( #2091 )
...
* Install jwt-decode
* Add token refetch hook
* Fix types
* Remove app settings
* Regenerate lock
* Fix jwt test issues
* CR fixes
* Bump node and npm
* Reinstall jwt-decode
2022-07-12 12:30:53 +02:00
Dawid
1f179f8fbd
Fix app deep url redirects ( #2116 )
...
* Fix app deep url redirects
* Update app-bridge
* Refactor useAppActions helper function
* Trigger CI
2022-07-05 10:39:58 +02:00
Jonatan Witoszek
69eeb4c280
Pass query params for product and order details app mounting points ( #2100 )
...
* Pass query params to iframe from dashboard
* Pass search params in product details and order details extensions
* Move released features in Changelog
* Add entry to chagnelog
* Fix ESLint issues
2022-06-24 14:17:58 +02:00
Michał Droń
d5c9a3dae8
Add trailing commas ( #2062 )
...
* Require trailing commas
* Add trailing commas
* Add trailing commas in testUtils dir
* Add trailing commas
2022-06-21 11:36:55 +02:00
Wojciech Mista
c922dfb6fe
Application Marketplace available in dashboard ( #2054 )
...
* Add marketplace
* Update messages
* Extract styles
* Update test env
* Update config and rename uri
* Update template
* Trigger CI
* Possible fix
* Update deploy yml
* Add marketplace to staging
* Fix responsiveness
* Trigger CI
* Fix navigation tests (#2081 )
* fix navigate through shop
* wait for progress bar not to exist
* simplify code
* add wait
* Fix navigate through shop (#2076 )
* fix navigate through shop
* wait for progress bar not to exist
* simplify code
* Refine App about section (#2056 )
* Trigger CI
* Trigger CI
* Trigger CI
* Trigger CI
* Fix app activation/deactivation
* Hide configuration url and policy if theres none
* Remove about and support links
* Remove unused code
* Update stories and tests
* Update messages
* Fix privacy policy
* Fix activation and "open app"
* Update tests
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2022-06-08 08:44:28 +02:00
Wojciech Mista
522569f536
Pass appId to iframe src ( #1990 )
...
* Pass appId to iframe src
* Bump app-bridge version
2022-04-25 18:06:45 +02:00
Jakub Majorek
cf7a51ab8e
Use sandbox on App iframe ( #1893 )
...
* Use sandbox, handle external redirect
* Add allow-same-origin flag
* Update translations
2022-03-25 13:39:09 +01:00
Jakub Majorek
dbaed5478a
App adjustments ( #1385 )
...
* Use shop domain as backendHost, guard domain changes on cloud instances
* Update messages and snapshots
* Remove unused prop
2021-09-13 16:14:04 +02:00
Jakub Majorek
ab4c897b2a
Add dashboard extensions ( #1292 )
...
* Fix app embed
* initial setup
* Create ButtonWithSelect component
* Use context
* Use dialog
* Handle app-bridge actions
* Code adjustments, bump packages
* Fix tests
* Fix schema formatting
* Send response
* Use latest package versions
2021-08-20 15:58:53 +02:00