Commit graph

25 commits

Author SHA1 Message Date
Krzysztof Żuraw
50c8e93534
Setup chromatic and cleanup storybook (#3588) 2023-05-12 13:06:27 +02:00
Patryk Andrzejewski
2c200af0dd
Adding env variable that allows to display any version name in the dashboard settings (#3533)
* Add env var that overrides version

* Trigger CI
2023-04-26 12:05:16 +02:00
Krzysztof Żuraw
701d96a690
Allow macaw-ui to be linked (#3539) 2023-04-25 08:33:09 +02:00
Patryk Andrzejewski
d95a800b4b
Fix sourcemaps (#3375)
* Fix sourcemaps

* Ci

* Ci
2023-03-17 11:28:17 +01:00
Michał Droń
f585e2ab7c
Update React SWC Vite Plugin (#3368)
* Update React SWC vite plugin

* Rename plugin so that it follows vite docs
2023-03-17 10:44:00 +01:00
Lukasz Ostrowski
5b945162a7
Remove legacy Marketplace code and env variables that it was using (#3342)
* Remove legacy Marketplace code and env variables that it was using

* Update locales
2023-03-14 12:17:19 +01:00
Patryk Andrzejewski
300b57ace0
Set open graph for demo (#3267) 2023-03-08 10:13:00 +01:00
Lukasz Ostrowski
7fcc71839a
Appstore improvements for non-cloud dashboard (#3258)
* Add empty screen message if no apps are installed

* Add .env.template with Appstore and Demo set by default

* Change how section is resolved

* Add message that Saleor apps can be installed only in Cloud

* Add apps.saleor.io url be default Appstore url in Dockerfile

* Show cloud only message for apps with manifest

* Extract messages

* Fix test

* Change message to tooltip

* Update readme
2023-03-03 08:51:35 +01:00
Paweł Chyła
15a0b812a6
Fix show full date insted of date with toolip in orders (#3149) 2023-02-13 10:40:05 +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
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
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
Patryk Andrzejewski
b612e2be69
Prevent crash apps about page caused by react-markdown library (#2803)
* Install polyfill for process

* Install polyfill for rollup
2022-12-09 15:12:16 +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
c2a322aa95
Docker building images improvement (#2767)
* Optional deps

* Move storybook as optional dep

* Set defaults
2022-12-07 09:25:44 +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
c46ec15e14
Wrap path into array (#2753) 2022-12-01 13:16:03 +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
Patryk Andrzejewski
aa10a1d08e
Introduce vite (#2677)
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2022-11-28 14:56:46 +01:00
Patryk Andrzejewski
9ef4d4c6ee
Revert "Introduce vite (#2580)" (#2676)
This reverts commit 9de945d61a.
2022-11-24 16:24:04 +01:00
Patryk Andrzejewski
470acdb97f
Revert "Set fixed assets directory (#2674)" (#2675)
This reverts commit 495862478f.
2022-11-24 16:22:42 +01:00
Patryk Andrzejewski
495862478f
Set fixed assets directory (#2674) 2022-11-24 16:08:32 +01:00
Patryk Andrzejewski
9de945d61a
Introduce vite (#2580)
* Vite, remove webpack

* Clean deps

* Fix apollo types

* Fix types

* CI

* Fix types

* Fix types

* Keep required deps for storybook

* Rename build dir

* Sentry config, fix react-virtualized issue

* Set NODE_OPTIONS

* Fast-refresh rule for eslint

* Update deps

* Update deps

* Update deps

* Remove webpack

* Add sw

* Update dockerfile

* Update dockerfile

* Update readme, dev port
2022-11-24 15:24:08 +01:00