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
Ewa Czerniak
1a41d24ac5
Saleor 7930 fix for sales tests ( #2249 )
...
* moving sales files to sales folder
* refactor tests for sales for products
* refactor of updateSales and createSalesForVariants tests
2022-08-24 21:02:30 +02:00
Ewa Czerniak
29c7f785c0
Saleor 7780 fix for collection tests ( #2227 )
...
* fix fox tests in collection
* removing then() in tests
* fixing failing collection tests and add stable tag to run will all tests
2022-08-16 13:27:37 +02:00
Karolina Rakoczy
5ede05affe
fix failing tests ( #1797 )
...
* fix failing tests
* fix tests for gift cards
* fix tests for gift cards
* upload video only when fail
* fix preorder time
* fixed translation page
* fix navigation, stripe and adyen
* fix graphQl npm
* update stories
2022-01-31 09:37:49 +01:00
Karolina Rakoczy
ef983cc347
Add tests for updating & deleting collections and categories ( #1662 ) ( #1693 )
...
* tests for updating & deleting collections and categories
* add empty spaces
* fix create category
2021-12-22 12:27:28 +01:00
Karolina Rakoczy
a311583647
Add tests for creating products without sku ( #1550 )
...
* create products without sku
* update stories
* update stories
2021-11-22 15:57:20 +04:00
Karolina Rakoczy
2c64a966cc
Saleor 4437 refactor tests ( #1389 )
...
* reference type cypress working
* refactor
* remove screenshots
* add reference
* add slash marker
* run tests based on shop version
* fix run tests based on shop version
* fix run tests based on shop version
* change base url to localhost
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix yml
* fix yml
* chage file names
* fix files names
* fix broken imports add checking for errors in grpah responses
* fix broken imports add checking for errors in grpah responses
* update jest
* fix snapshot
2021-09-27 12:04:21 +02:00