Dawid Tarasiuk
8703c8d3c4
Fix label names in reference attributes ( #1184 )
...
* Fix label names in reference attributes
* Update changelog
2021-06-22 10:00:00 +02:00
Piotr Grundas
a0dce99b5d
[SALEOR-3090] Boolean attribute ( #1157 )
2021-06-20 01:13:16 +02:00
Dawid Tarasiuk
64c0f0fcc4
Update list settings types ( #1165 )
2021-06-15 17:15:14 +02:00
Dawid Tarasiuk
d342bdb63b
Variant attribute values pagination ( #1133 )
...
* Implement attribute values pagination in variant pages
* Implement attribute values pagination in variant creator
* Update variant creator design bugs
* Fix deleting attribute value error
* Refactor attribute value handling in variant creator
* Update after review
* Create local pagination state for attribute values
* Fix autocomplete select field scrolling on fetch more
* Change onAttributeSelect to onAttributeFocus
* Update cypress test function with attribute values pagination
2021-06-08 09:51:27 +02:00
Dawid Tarasiuk
988b191690
Change attribute values to choices ( #1129 )
...
* Change attribute values to choices
* Trigger CI
2021-06-08 09:51:26 +02:00
Dawid Tarasiuk
453e4192fe
Attribute values pagination in product details ( #1125 )
...
* Attribute values pagination in product list filters
* Update product queries and mutations to handle attribute values pagination
* Search for attribute values dynamically on product details page
* Update product attributes mutation payload
* Support attribute values pagination on product create page
* Temporary mock not implemented attribute values pagination in variants and pages
* Trigger CI
* Fix simple product update channel listings
* Add simple local pagination implementation
* Create useLocalPageInfo hook to handle client side pagination
* Allow custom values always for attribute select inputs to prevent bug
2021-06-08 09:51:26 +02:00
Dawid Tarasiuk
f5324cee60
SALEOR-3345 Attribute values pagination on attribute details page ( #1116 )
...
* Attribute values pagination on attribute details page
* Update test snapshots
* Update values pagination in attribute create page
* Trigger CI
* Update attribute valus list pagination settings
* Update attribute details queries
* Fetch only attribute values after values update
2021-06-08 09:51:26 +02:00
Dawid Tarasiuk
39e107a7a6
Remove values from attribute list view ( #1113 )
2021-06-08 09:51:25 +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
Magdalena Markusik
d1ae1559d0
Add mapEdgesToItems util function and replace all usages
2021-05-10 17:25:54 +02:00
Piotr Grundas
2a21609eae
Numeric attributes ( #1065 )
...
* Update schema, types
* Add numeric unit control
* Improvements, tests
* Cleanup
* Add messages
* Small fixes
* Add test id's
* Improve useForm, logic
* Use short names
* Review corrections
* Small improvements
2021-04-29 10:58:03 +02:00
Jakub Majorek
a83a245654
Drop deprecated fields ( #1071 )
...
* Drop deprecated fields
* Update changelog
* Update test recordings
* Fix e2e tests
* Fix product sorting (#1079 )
* update stories
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-04-26 09:49:55 +02:00
Piotr Grundas
d48c0087e0
Rich text, multiselect, useFormset fixes ( #1077 )
...
* Rich text field fix
* Fix useFormset setItemValue
* Update changelog
2021-04-23 14:27:31 +02:00
Piotr Grundas
a3fd4bb6c2
Add rich text attribute input ( #1023 )
...
* Clean structure, add text input, add story
* Improvements
* Update tests, changelog
* Extract messages
* Improvements
* Generate messages, update snapshots
* Switch to rich text
* Handle transitions
* Update translations
2021-04-09 09:51:49 +02:00
Damian W
94ceead89d
Merge branch 'master' of github.com:mirumee/saleor-dashboard into update-collection-error-types
2021-03-30 11:41:26 +02:00
Dominik Żegleń
416d7d87f6
Improve theming ( #1020 )
...
* Remove unused code
* Move theme to separate directory
* Separate types
* Separate shadows
* Separate shadows
* Rename types
* Modularize code
* Do not pollute prototypes
* Fix missing import
* Aliast mui styles
* Import theming internally
* Fix types
* Fix override type
2021-03-30 09:40:18 +02:00
Damian W
3e0794cb61
Update error type on CollectionBulkDelete
2021-03-29 12:28:59 +02:00
Dawid Tarasiuk
11bddd3d1b
Product reference attributes ( #948 )
...
* Update changelog with product reference attributes
* 2068 - Add product reference type to attributes (#949 )
* 2069 - Add product reference attribute search implementation (#951 )
2021-01-20 17:37:36 +01:00
Dawid Tarasiuk
b07bb08ade
1863 - Support reference attribute reordering ( #946 )
...
* Support reference attribute reordering
* Update attribute handlers tests
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
4b8c2ea5e7
1427, 1866, 1868 - Implement reference attribute submission ( #938 )
...
* Implement reference attribute submitting
* Fix updating reference attributs
* Fix displaying references attribute values names
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
5303d9f714
1992 - Add attribute references select dialog ( #931 )
...
* Add attribute references select dialog
* Add reference attribute support to products and variants
* Fix attribute select dialog selection
* Refactor reference attribute handlers
* Refactor reference attribute handlers
* Refactor searching for reference pages
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
8b0fe986b2
1425 - Support reference type attribute on attribute details page ( #918 )
...
* Support reference type attribute on attribute details page
* Trigger CI
* Prevent changing attribute entity type during attribute update
* Refactor attribute details components
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
1e140853ec
File attributes ( #884 )
...
* Update changelog with file attributes
* Add file type attribute
* Update attribute properties form
* Update translation messages with file upload
* Create generic attributes component (#832 )
* Create generic Attributes component
* Add story for Attributes component
* Remove deprecated attribute value type field from queries
* Update test snapshots of attributes component
* Add file upload field to atributes (#888 )
* Add story for Attributes component
* Update test snapshots of attributes component
* Create file upload field in attributes
* Update upload file input data-test
* Update storybook test snapshots of attributes
* Add dedicated input props to file field
* Run Cypress using custom API
* Add missing error handling in file upload field
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Add file attribute upload to page attributes (#894 )
* Support upload file attribute for pages
* Update after review
* Add file attribute upload to variant attributes (#892 )
* Support upload file attribute for variants
* Update after review
* Refactor attribute values errors merging
* Update after review
* Add file attribute upload to product attributes (#826 )
* Support upload file attribute for products
* Update after review
* Refactor attribute values errors merging
* Refactor product attribute value delete handling
* Fix deleting file in file upload field
* Fix delete attribute values errors handling
* Add link to file upload field (#898 )
* Update file attributes updates (#899 )
* Update file attributes updates
* Refactor file uploads handling
* Move attributes utils to attributes directory
* Fix product channel listing updates
* Clear file field value if file is not passed as prop
* Delete attribute values before update (#908 )
* Delete file attributes after file update
* Triggr CI
* Show skeleton in file upload field during loading
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 11:53:28 +01:00
Dawid Tarasiuk
fc02fce701
Page types ( #807 )
...
* Create attribute class selector
* Use ProductAttributeType to check if product is simple or with variants
* Allow attribute class selection only during its creation
* Update attribute type selection translations
* Show only product attributes in columns picker on product list view
* Cleanups in Attribute Organization component
* Create Page Types list page
* Create content management section in settings
* Implement page types list view
* Remove unused imports from page type list
* Updatte page type list style
* Remove legacy code from page type list component
* Update PageTypeListPage component
* Create Page Types details page
* Fix page type attribute reordering
* Implement PageType create view
* Implement PageType update view
* gUpdate page type details components
* Fix page type update component
* Update page type components stories
* Update page type errors handling
* Update page type details view
* Create Page Types details page
* Implement PageType create view
* Update product attribute assignment mutations
* Add page types attribute assignment mutations
* Add page types attribute assignment handling
* Temporarily fix page create mutation
* Update page type error messages
* Remove legacy storybook page type stories
* Update attribute assignment dialogs stories
* Update page type details error handling
* Update props for page type components
* Create attribute class selector
* Implement page types list view
* Add page type selector on page create and details views
* Add attributes list to page details views
* Update page types list
* Use attribute errors for attributes muatations
* Save attribute values on page create and update
* Update messages for page view
* Update page attributes fragment
* Use AttributeError in AttributeBulkDelete
* Update page type and its attribute selection
* Handle page types deleting
* Update page types deleting messages
* Handle page types attribute reorder
* Fix PageOrganizeContent component types
* Update graphqql types
* Fix page fixture
* Update messages
* Update test snapshots
* Pass pageTypes to PageForm
* Update changelog with page type addition note
* Update package-lock
* Update test snapshots
* Fix malformed generated type
* Update messages after rebase
2020-11-19 15:42:14 +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
a27a029452
Pass promise to reset form state
2020-10-30 16:10:06 +01:00
dominik-zeglen
7052027b1d
Fix column width
2020-10-12 14:47:44 +02:00
Dominik Żegleń
287a2eb8ed
Hide save bar if no action is available ( #735 )
2020-10-01 17:50:17 +02:00
Dominik Żegleń
dda68cf6cd
Merge pull request #686 from mirumee/fix/attribute-crash
...
Fix crashing attribute value creation
2020-09-03 11:29:39 +02:00
dominik-zeglen
5ef0da5b1e
Simpify logic
2020-09-02 12:12:32 +02:00
dominik-zeglen
a6ce67b6c9
Fix crashing attribute value creation
2020-09-02 11:42:22 +02:00
dominik-zeglen
ca78ecc19f
Add metadata editor to attribute creator
2020-09-01 17:14:48 +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
daf5c4d6fb
Fix storage filter key
2020-08-19 10:59:57 +02:00
dominik-zeglen
eddec1a5c2
Move fragments to avoid circular imports
2020-07-07 12:14:12 +02:00
AlicjaSzu
1887769055
add status to notifications
2020-07-06 10:46:14 +02:00
Krzysztof Wolski
f4d570c7e5
Fix warnings and better test tag ( #582 )
...
* Resolve test warnings
* Tename data-tc to data-test
* Update src/orders/components/OrderFulfillPage/OrderFulfillPage.tsx
2020-07-02 12:59:09 +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
381665409f
Rebase fixes
2020-03-24 15:05:26 +01:00
Dominik Żegleń
bf92214fc3
Revert "Use error formatting in product type section"
2020-03-11 10:56:04 +01:00
dominik-zeglen
e1a01060f3
Store errors in variable
2020-03-05 14:18:14 +01:00
dominik-zeglen
db14154c34
Use error formatting in attribute view
2020-03-04 13:50:25 +01:00
dominik-zeglen
4c27d69229
Fix form errors
2020-03-03 14:33:35 +01:00
dominik-zeglen
c4863ece60
Do not store errors in form component
2020-02-24 15:14:48 +01:00
dominik-zeglen
c4c0f22cec
Fix ICU plurals
2020-02-13 12:54:05 +01:00
dominik-zeglen
943232acb3
Add query param getters
2020-01-20 16:46:58 +01:00
dominik-zeglen
83e1f62da4
Add filter tests
2020-01-20 16:46:56 +01:00
dominik-zeglen
c90c58473f
Move filter structure to page component
2020-01-20 16:46:16 +01:00
dominik-zeglen
12255d7f38
Add missing filters to query variables
2020-01-20 16:46:15 +01:00
dominik-zeglen
1e559b2feb
Fix types
2020-01-20 16:46:14 +01:00