Jonatan Witoszek
1b51a978ec
Fix Jest wrong timezone when run locally ( #3029 )
2023-01-24 10:50:08 +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
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
Krzysztof Żuraw
fe709db82b
Clean up storybook ( #2941 )
2023-01-05 13:34:34 +01:00
Krzysztof Żuraw
422feec2b7
Remove enzyme and react-test-renderer ( #2788 )
2022-12-07 11:20:09 +01:00
Patryk Andrzejewski
c4f6a18d38
Remove snapshots ( #2754 )
...
* Remove snapshots
* Remove setup file
* Keep config
2022-12-02 12:58:43 +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
Krzysztof Żuraw
ac063c6410
Update Dockerfile ( #2523 )
...
Co-authored-by: Francisco Marques <franciscopcmarques@gmail.com>
2022-11-16 16:01:34 +01:00
Patryk Andrzejewski
c009f07581
DataGrid full-screen mode ( #2453 )
...
* full screen mode
* add product title, review
* update snapshots
* Update messages
2022-10-27 17:26:09 +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
Dominik Żegleń
7d9441a7ec
Use esbuild-loader ( #1983 )
...
* Minor fixes for intl messages
* Add esbuild-loader
* switch from babel to esbuild-loader
* use formatjs enforce-id linter
* Generate ids for intl messages
* id format defined by idInterpolationPattern
* Modify intl messages extraction
* remove react-intl-translations-manager
* remove transpile-tx.js
* use formatjs cli
* Modify defaultMessages.json
* modify ids in defaultMessages.json with defined idInterpolationPattern
* Fix errors
* Fix page crash
* Use babel to transpile tests
* Fix useStateFromProps
* Improve render count
* Add test to useStateFromProps
* Fix reloading state buh
* Do not check if form with channels is dirty
* Stop blocking save if form has not changed
* Remove debug code
* Fix form disabling
* Fix variant selection checkbox onClick
* Update translations
* Update messages
* Use esbuild to build storybook
Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-05-05 09:54:28 +02:00
Dominik Żegleń
2a52eb581c
Update apollo to v3 ( #1837 )
...
* Update apollo to v3
* Fix imports
* Add generated file to ignored
* Use proper import
* Tidy up code
* Remove unused packages
* Fix tests
2022-02-21 14:32:38 +01:00
Dawid Tarasiuk
4880093f63
Use Auth SDK ( #1474 )
...
* Use Auth SDK
* Update auth provider hook
* Update sdk module mapping
* Update setting password
* Fix no user details on first login
* Update auth tests
* Cleanups
* Update SDK
Update SDK
Update SDK
Update test recordings
Update SDK
* Implement SDK External Auth
Update new password view
Hnalde external logout
Update SDK
Fix logout external redirect
* Fix login page style
* Update SDK
* Auth Provider cleanups
Update and refactor auth
Auth types cleanups and refactor
* Update channel context provider
* Fix login error handling
* Logout immidiatelly non-staff user
* Update test snapshots
* Trigger CI
* Update to SDK v0.4, remove duplicated UserContext hook
* Handle server errors during login
* Fix wrong login page form submition handling
* Update login error messages
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-12-17 12:10:54 +01:00
Jakub Majorek
69b7f64403
Use node v14 for running tests on CI ( #1646 )
...
* Use old default for unhandled rejections flag
* Update type import
* Use less strict flag, fix types
* Use node v14 for running tests
2021-12-02 15:56:54 +01: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
Dominik Żegleń
62817568a7
Use MacawUI ( #1229 )
...
* Replace withStyleswith useStyles (#1100 )
* Replace withStyleswith useStyles
* Update messages
* Use rem as a spacing unit (#1101 )
* Use rems as spacing units
* Fix visual bugs
* Update stories
* Use macaw-ui as theme provider (#1108 )
* Use macaw ui as a theme provider
* Add react-dom to aliases
* Fix jest module resolution
* Update useTheme hook usage
* Fix test wrapper
* Use macaw from git repo
* Fix CI
* Update stories
* Fix aliasing
* Extract savebar to macaw ui (#1146 )
* wip
* Use savebar from macaw
* Use confirm button from macaw
* Improve file structure
* Use sidebar context from macaw
* Update macaw
* Update macaw version
* Remove savebar from storybook
* Update stories
* Use alerts and notifications from macaw (#1166 )
* Use alerts from macaw
* Add notifications from macaw
* Update stories
* Pin macaw version
* Encapsulate limit reached in one component
* Remove unused imports
* Use backlinks from macaw (#1183 )
* Use backlink from macaw
* Update macaw version
* Use macaw sidebar (#1148 )
* Use sidebar from macaw
* Use shipped logo
* Use lowercase
* Update stories
* Use user chip from macaw (#1191 )
* Use user chip from macaw
* Use dedicated components for menu items
* Simplify code
* Bump version and fix types (#1210 )
* Rename onBack to onClick
* Rename UserChip to UserChipMenu
* Rename IMenuItem to SidebarMenuItem
* Update macaw version
* Fix tables after changes in macaw (#1220 )
* Update macaw version
* Update changelog
* Update stories
* Fix after rebase
* Update to macaw 0.2.0
* Lint files
* Update macaw to 0.2.2
2021-07-21 10:59:52 +02:00
Dominik Żegleń
935a6f4542
Reduce bundle size ( #1103 )
...
* Add analysis tools
* Use deep imports to reduce bundle size
* Remove tslint config
* Remove unused packages
* Remove lodash-es references
* Use root level mui imports
* Remove mui from restricted imports
2021-05-14 10:15:15 +02:00
Jakub Majorek
a7736e2bf9
Attach permission variables to all queries ( #1000 )
...
* [SALEOR-2190] Attach permission variables to all queries
* Fix TS linter issues
* Update package-lock
2021-03-09 09:44:09 +01:00
Krzysztof Wolski
6762e7bf3f
[chore] Update dependencies, fix warnings during tests ( #845 )
...
* Fix attr name typo
* Use proper string serialization
* Use proper image URL
* Remove unused draft component
* Fix classname for invoice card
* Update deps
* Remove unused testcafe
* Resolve issue with missing intl in one of the stories, bump intl package version
* Update packages
* Update commit hooks
* Bump ts to last pre4.0 version
* Center metadata image
* Unused property
* Bump enzyme
* Revert
* Fix logo on login screen
* Fix console errors on entering translations pages
* Fix styles for invoice card
2020-11-27 17:32:12 +01:00
Dominik Żegleń
7770ae34df
Add metadata ( #670 )
...
* Add metadata editor component
* Add tests
* Fix plurals
* Use pascal case in selectors
* Update product metadata
* Add metadata handler decorator
* Update snapshots
* wip
* Remove operation provider component
* Add metadata to collections
* Add metadata editor to variant
* Add metadata editor to categories
* Add metadata to product types
* Simplify code
* Add metadata to attributes
* Drop maybe
* Rename Metadata to MetadataFragment
* Update changelog and snapshots
2020-08-28 14:45:11 +02:00
Dominik Żegleń
df5aea6200
Add product export ( #620 )
...
* Add component backbone
* Make step component generic and typed
* Add step tabs
* Add settings view
* Encapsulate all dialog components in one directory
* Move types to separate file
* Add mutations
* Use gql types
* Add error handling
* Do not keep separate types file
* Allow products to be exported
* Fix types
* Update snapshots
* Update to latest schema
* Add disabled option
* Use wizard hook
* Update type definitions
* Queue export check task
* Fix bug causing jobs to be endless and duplicated
* Fix minor bugs
* Add accordion component
* Allow selection of fields to be exported
* Add attribute export
* Update snapshots
* Update messages
* Update changelog
* Add missing key
* Add quick peek to accordioin
* Sort imports
* Remove unused files
* Add chiips to attribute selection
* Change menu positioning
* Add product counter
* Add select all option
* Update snapshots
* Update messages
* Remove unused import
* Add chips
* Add test tags
* Update snapshots
* Change number of max chips
* Add accordion tags
* Update messages
2020-07-30 11:54:16 +02:00
dominik-zeglen
69336b8cca
Do not throw error if API_URI is not set
2020-07-29 15:34:39 +02:00
dominik-zeglen
4ffbcd069d
Do not match requests by url and headers
2020-07-29 15:10:39 +02:00
dominik-zeglen
6f29fa274e
Throw error if API_URI is not set
2020-07-28 13:01:28 +02:00
dominik-zeglen
1e1de16c87
Use env variable
2020-07-28 12:33:55 +02:00
dominik-zeglen
41e60b6418
Add tests to auth
2020-07-27 12:23:42 +02:00
dominik-zeglen
b5029deca0
wip
2020-07-27 12:21:25 +02:00
dominik-zeglen
ed5cd00062
Add test utils
2020-01-20 16:46:54 +01:00