Michał Droń
a466676858
Fix pagination state after refresh ( #1496 ) ( #1515 )
...
* fix pagination state after refresh
* remove unused imports
* remove unused imports
* add newline
* add generic types to hook parameters
2021-10-25 17:29:27 +02:00
Michał Droń
e879a0c1d5
Disable auto scroll to the top on assign references ( #1510 ) ( #1524 )
...
* add resetScroll behavior to navigator hook
* disable scroll to top on modal close
* refactor useNavigator hook
* fix linter issue
* fix no default value of destructured parameter
2021-10-21 10:34:56 +02:00
marbin274
a47667a9fb
Add missing rowNumber dependency to update queryVariables ( #1256 )
...
* fix: add rowNumber like dependency to update queryVariables
* Add resetPagination hook and refactor
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2021-09-28 14:24:45 +02:00
Magdalena Markusik
c566539cc1
Add tab selector util for lists and refactor ( #1421 )
...
* Add tab selector util for lists, refactor
* Remove unnecessary imports
* Update types
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-09-21 16:06:45 +02:00
Jakub Majorek
d5a36e47fc
Add channel picker product details ( #1355 )
...
* Add channel picker product details (#1353 )
* Enable channel picker on product details page
* Add channel picker to product details
* Simplify category details page
* Update snapshots and translations
* Update types
* Update testId, bump macaw-ui
* Update snapshots, types and schema
2021-09-03 14:27:34 +02:00
sektordv
e99307d461
refresh lists when changing number of rows
2021-08-26 13:18:22 +02:00
sektordv
0585f61522
disable picker via context
2021-08-11 13:39:18 +02:00
Kamil Pastuszka
db5ad19827
Fixed incorrectly handled image upload errors ( #1223 )
...
* fixed incorrectly handled image upload errors
* updated Changelog
* updated defaultMessages.json
* fix for collections and products
* fix for user avatar upload error
* implemented changes after review
* fixed conflict
2021-07-23 14:56:46 +02:00
Karolina Rakoczy
f68410b7cb
Saleor 3711 tests for categories and collections ( #1204 )
...
* tests for collections
* all tests for categories
2021-07-15 14:17:56 +03: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
Magdalena Markusik
d1ae1559d0
Add mapEdgesToItems util function and replace all usages
2021-05-10 17:25:54 +02:00
Jakub Majorek
e5df1b2dbf
Add shipping method description ( #1058 )
...
* Add shipping method description - WIP
* Wire up logic
* Handle more editorjs issues
* Fix minor issues
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-16 14:33:14 +02:00
Magdalena Markusik
9730e44abe
Update everything to handle null values in content and description fields
2021-02-18 13:38:41 +01:00
Jakub Majorek
10131163c1
SALEOR-2036 Drop descriptionJson and contentJson fields ( #950 )
...
* Drop descriptionJson and contentJson fields
* Bump EditorJS version
* Update changelog
* Update tests
2021-01-22 12:13:40 +01:00
Marek Choiński
d0be941ade
Saleor 1712 dashboard unable to handle empty channel list ( #924 )
...
* Use query hook on home page
* Handle no channel
* Handle no channel on pages
* Add navigate channels
* Move messages
* Refactor
* Update storybook and locale
* Remove comment
* Refactor
* Update storybook
* Fix skip
* Fix undefined channel
* Update storybook
2021-01-13 10:33:38 +01:00
AlicjaSzu
2f9eddd9ee
Saleor 1659 use query params in channels picker ( #886 )
...
* use Query params in channels picker
* update urls
2020-12-04 18:09:28 +01:00
Dominik Żegleń
a175fb9497
Add global channel picker ( #841 )
...
* Move theme switch to user menu
* Add global channel picker
* Fix picker styles
* Use app channel state
* Improve prop naming to indicate id vs slug
* Disable picker if no reason to pick channel
* Remove settings modal leftovers
* Remove channel settings dialog
* Remove unused props
* Skip channel fetching if user is not authenticated
* Remove channel selection from components
* Update messages
* Fix e2e tests
* Remove channel picker leftover
* Revert ChannelSettingsDialog deletion
* Update snapshots
* Update messages
2020-11-23 10:39:24 +01:00
Dominik Żegleń
6f9060144a
Multichannel ( #833 )
...
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598 )
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609 )
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655 )
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662 )
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698 )
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702 )
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727 )
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739 )
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743 )
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746 )
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750 )
* update sale views with channels
* small fixes in discounts
* order views with channels (#752 )
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755 )
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762 )
* update translations
* fix translation types
* update messages
* update Availability component (#766 )
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785 )
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791 )
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801 )
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803 )
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804 )
* channels currency code select (#806 )
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 17:10:42 +01:00
dominik-zeglen
7c90ec1c72
Fix types
2020-11-04 13:59:26 +01:00
Magdalena Markusik
37e0ecce26
add slug field to category update and create
2020-09-21 12:47:03 +02:00
dominik-zeglen
5737e5f64d
Add metadata editor to category creator
2020-09-01 17:14:44 +02: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-zeglen
ce2624bb9f
Use query hooks in category details view
2020-08-24 12:35:10 +02:00
dominik-zeglen
ccee92a8d0
Fix incorrect messages
2020-08-13 16:44:05 +02:00
AlicjaSzu
1887769055
add status to notifications
2020-07-06 10:46:14 +02:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters ( #519 )
...
* Add circleci config
* Season linting config
* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
6af08af910
Update product stock management to newest design
2020-05-04 18:06:36 +02:00
dominik-zeglen
4b661c9bff
Add simple product stock management
2020-04-28 16:33:22 +02:00
dominik-zeglen
852bd71beb
Use translated errors in categories section
2020-03-24 13:53:02 +01:00
dominik-zeglen
4c27d69229
Fix form errors
2020-03-03 14:33:35 +01:00
dominik-zeglen
fa8231992f
Explicitely return not found page
2020-02-20 15:18:22 +01:00
dominik-zeglen
c4c0f22cec
Fix ICU plurals
2020-02-13 12:54:05 +01:00
dominik-zeglen
5ff1521b26
Unify dialog handling
2019-12-18 13:20:59 +01:00
dominik-zeglen
9c688d3aef
Add sorting to lists
2019-12-18 11:22:02 +01:00
dominik-zeglen
bf0bad5a5e
Rename state to status prop
2019-12-06 18:17:44 +01:00
dominik-zeglen
6b62f5cc40
Do not use getMutationState explicitly
2019-12-06 18:11:46 +01:00
dominik-zeglen
8a6cd1ef1f
Create makeQuery hook
2019-11-14 15:37:32 +01:00
dominik-zeglen
1dd0488c62
Use mutation hooks
2019-11-13 17:46:08 +01:00
dominik-zeglen
d71324ced2
Add ability to paginate through subcategories
2019-11-12 14:21:13 +01:00
dominik-zeglen
4b574c5d6c
Fix messages
2019-11-07 14:40:28 +01:00
dominik-zeglen
33e956ea57
Use FC instead of deprecated StatelessComponent
2019-11-07 12:34:54 +01:00
dominik-zeglen
1f190c50da
Fix text styling
2019-09-30 14:52:03 +02:00
dominik-zeglen
89e7aa82df
Add search to collection list
2019-09-16 16:06:56 +02:00
dominik-zeglen
53ac48062f
Add search bar to category list
2019-09-16 16:06:33 +02:00
dominik-zeglen
8a71976c4b
Use prettier
2019-08-29 14:12:35 +02:00
dominik-zeglen
a472c8cd1a
Remove ids
2019-08-29 14:12:34 +02:00
dominik-zeglen
b3720a6361
Fix dialog windows rendering
2019-08-29 14:12:34 +02:00
dominik-zeglen
bd679bb1ed
Improve labels
2019-08-29 14:12:34 +02:00
dominik-zeglen
a280c10e0e
Use delete word instead of remove
2019-08-29 14:12:34 +02:00
dominik-zeglen
50cbfa1e17
Improve descriptions
2019-08-29 14:12:34 +02:00