Krzysztof Żuraw
fe709db82b
Clean up storybook ( #2941 )
2023-01-05 13:34:34 +01:00
Karol
1c0076a0db
Bump macaw-ui to 0.7.2 ( #2936 )
...
* macaw 0.7.2
* add lock
2023-01-03 10:04:16 +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
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
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
Krzysztof Żuraw
d19427784a
Do not install husky on CI ( #2839 )
2022-12-12 14:08:06 +01:00
Krzysztof Żuraw
03a6cc72ad
Remove double husky pkg ( #2838 )
2022-12-12 12:52:50 +01:00
Krzysztof Żuraw
3463d1d179
Run tests on push to origin ( #2791 )
2022-12-12 11:22:39 +01:00
Krzysztof Żuraw
6b685b109c
Remove double pkgs in pkg.json ( #2826 )
2022-12-12 10:45:14 +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
5c7b191bb2
Update dependencies (intel fix) + bump current dev version ( #2816 )
...
* Fix deps
* Set curent dev version
2022-12-08 11:40:00 +01:00
Krzysztof Żuraw
422feec2b7
Remove enzyme and react-test-renderer ( #2788 )
2022-12-07 11:20:09 +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
Krzysztof Żuraw
04b93cdc9b
Use stable release of macaw-ui ( #2789 )
2022-12-06 10:49:51 +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
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
Krzysztof Żuraw
ab268dec0b
Use MacawUI that supports node 18 ( #2684 )
2022-11-25 11:08:24 +01:00
Patryk Andrzejewski
9ef4d4c6ee
Revert "Introduce vite ( #2580 )" ( #2676 )
...
This reverts commit 9de945d61a
.
2022-11-24 16:24:04 +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
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
Krzysztof Żuraw
3247131570
Use cross-env to pass env vars ( #2610 )
2022-11-21 11:52:35 +01:00
Krzysztof Żuraw
5bd79d9692
Upgrade node to 18 ( #2533 )
...
Co-authored-by: Karolina Rakoczy <karolina.rakoczy@saleor.io>
2022-11-15 15:41:46 +01:00
Michał Droń
dc5a6ac76b
Update Typescript ( #2494 )
...
* Update TypeScript
* Fix recursive typing in navigation
* Fix linter issue
* Update lockfile
2022-11-03 11:43:44 +01:00
Patryk Andrzejewski
802524744b
Set different version of macaw ( #2501 )
...
* Set different version of macaw
* Spanshots
2022-10-28 11:29:07 +02:00
Michał Droń
513b39ae5f
Bump version to 3.9.0-dev ( #2491 )
...
* Bump package.json version to 3.9.0-dev
* Update lockfile
2022-10-28 09:48:43 +02:00
Patryk Andrzejewski
992aa64937
Update Macaw-UI ( #2495 )
...
* Update Macaw-UI
* Update snapshots
2022-10-27 17:52:13 +02: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ń
96650bb237
Update macaw to 0.6.6 ( #2459 )
...
* Update macaw-ui
* Update snapshots
* Change caret to tilde
2022-10-27 14:02:51 +02:00
Dawid
d66083d38a
Update @testing-library/react ( #2390 )
2022-10-25 14:05:06 +02:00
Dawid
158188002a
Update React to 17 and related packages ( #2370 )
...
* Update React to 17
* Update types for React 17
* Update references in useEffect cleanup functions
* Update react-error-boundary
* Update react-inlinesvg
* Update Apollo Client and Upload Link
* Update apollo-upload-client types
* Fix comment about csstypes
* Downgrade apollo-client version due to log-in bug
* Add missing apollo link
* Update package-lock version
* Fix button type
* Fix datagrid test after react update
* Fix polish language letter bug
2022-10-24 11:49:11 +02:00
Dominik Żegleń
6f10c32176
Bump version to 3.8.0-dev ( #2308 )
2022-10-19 10:40:07 +02:00
Dominik Żegleń
31e0c11fea
New datagrid view for product variant management ( #2162 )
...
* New datagrid view for product variant management (#2040 )
* Split simple and product with variants updates
* Simplify code
* Change selectedVariantsIds to availableVariants
selectedVariantsIds suggested that these variants *were just* selected
* Add datagrid component
Add datagrid component
Add actions column
Add column picker
Add ts-ignore comment
Remove unused import
Fix after rebase
Add story
Fix column picking
Fix column dragging
Add column resizing
Extract components to own files
Apply styles from class
Improve data storage
Extract state to hook
Expose handlers
Fix styles
Fix header overflow
Add select all option
Add cell types
Fix types
Add number type cell
Add min to stocks
Fix types
Generate columns from shop data
Add number type editor
Fix tests
Update src/components/Datagrid/Datagrid.tsx
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Reconstruct data after column toggling
Minor fixes
Add missing id
Remove unused import
Fix container width
Keep changes in state
Drop onChange usage
Use glide datagrid
* Add column picker
* Memoize callbacks
* Add right toolbar
* Make toolbar as prop
* Clean up code
* Fix styling
* Lint files
* Save variant data in datagrid (#2161 )
* Allow rows to be deleted
* Add row adding
* Clean up code
* Improve mutations
* Add stock saving
* Add sku and attribute saving
* Display notification after all mutations
* Fix types
* Save channels in datagrid (#2197 )
* wip
* Merge simple and variantable handlers
* Move channel setting to form
* Link availability card to form
* Extract listing management to hook
* Update only touched channels
* Improve channel listing managemend
* Display channel data in datagrid
* Save variant channels
* Save changes in channel listings
* Group columns
* Fix types
* Display touched fields
* Return errors from hook
* Display errors in cells
* Improve naming
* Improve naming
* Use reliable called/loading state
* Update src/components/Datagrid/cells.ts
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Apply fixes from review
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Fix type error
* Trigger CI
* Trigger CI
* Save added and deleted variants (#2237 )
* Save new variants
* Update channel data
* Remove bulk variant delete dialog
* Do not fetch products from api after save
* Extract types
* Reset errors after api response
* Display error when creating variants
* Fix variant reordering
* Remove commented code
* Fix imports
* Edit attributes in datagrid (#2305 )
* Add basic dropdown cell
* Fix clickaway
* Add choice customization
* Add callback to fetch choices
* Add attriute value search
* wip
* Pass getSuggestions cb using props
* Fix row adding
* Fix choice creation
* Add styles to datagrid (#2315 )
* Improve cell styling
* Prevent navigation when scrolling horizontally
* Fix text editor styles
* Remove unused variable
* Update whole row after editing cell
* Translate column names
* Improve empty message
* Highlight newly created rows
* Add name editing
* Add disabled context menu to added rows
* Add column groups
* Translate column groups names
* Save edited name
* Fix missing column id error
* Add card to datagrid
* Improve shadow on scroll
* Improve fonts
* Fix toolbar placement
* Update api type definitions
* Fix copypasting from excel
* Fix editor font weight
* Improve dark theme
* Improve cell coloring
* Drop styling from story
* Add docs to datagrid (#2339 )
* Add docs
* Add summary
* Datagrid fix bugs (#2341 )
* Pass refetch to form to avoid double calls
* Add missing prop
* Remove paddings (#2352 )
* remove paddings
* remove paddings
* remove paddings
* remove vertical scroll
* update tests
* styles, currency
* Fix variants tests in datagrid (#2365 )
* refactor variant test after adding datagrid
* adding assertion to check if datagrid table is visible
* adding check for datagrid
* fix flaky tests in variants
* fix flaky tests in variants
* small changes
* amedments
* update styles
* refactoring, handle prices
* update snapshots
* messages
* snap
* scrolling handle, css for safari
* snap, random mock
* update overflow
* history back hook
* fix cross-price changing, scroll optimization
* trigger ci
* channel checking when adding new variant
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2022-10-18 11:10:15 +02:00
Dawid
2c49ea1af0
Revert "Update React to 17 and update related packages ( #2344 )" ( #2367 )
...
This reverts commit 3ba3dac2a7
.
2022-10-11 12:01:17 +02:00
Dawid
3ba3dac2a7
Update React to 17 and update related packages ( #2344 )
...
* Update React to 17
* Update types for React 17
* Update references in useEffect cleanup functions
* Update react-error-boundary
* Update react-inlinesvg
* Update Apollo Client and Upload Link
* Update apollo-upload-client types
* Trigger CI
* Fix comment about csstypes
2022-10-07 12:50:02 +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
84e179604d
Migrate @saleor/app-bridge to @saleor/app-sdk ( #2266 )
...
* Migrate @saleor/app-bridge to @saleor/app-sdk
app-bridge is deprecated and was merged into app-sdk.
This commit fixes imports and points to new package
* Downgrade package-lock version
* Update app-sdk to 0.9.1
* Change sdk version to production
* Refresh app-sdk install
2022-09-06 13:11:06 +02:00
Dominik Żegleń
6c79170d9f
Bump version to 3.7.0-dev ( #2231 )
2022-08-25 10:34:36 +02:00
Wojciech Mista
c6e8537174
Update app actions for new action type ( #2200 )
2022-08-10 15:26:09 +02:00
Jonatan Witoszek
5fb28b0dc1
Update version in package.json ( #2168 )
2022-07-14 12:25:34 +02:00
Timur Carpeev
b9a53a6fde
Add rules of hooks ( #2131 )
...
* Fix conditional hooks
* Add rules of hooks lint
* Install dependencies with node 14
2022-07-13 11:13:58 +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
Michał Droń
dc327f1f76
Bump MacawUI ( #2126 )
...
* Bump macaw
* Bump macawUI to 0.6.3
2022-07-07 10:28:10 +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
Karolina Rakoczy
fd7813692a
Change way of tagging tests, add stable tag ( #2102 )
...
* change tags in tests
* change tags in tests
* add finde-names
* correct critical tag
* fix navigation
* remove comments
* fix config
* fix baseUrl port
2022-06-27 11:30:51 +02:00
Karolina Rakoczy
056b3501eb
Update Cypress Version ( #2080 )
...
* Update Cypress Version
* sparete specs with coma
* change workflows to use latest cypress verion
2022-06-08 12:33:11 +04:00