* tests for images on product list
* image on product details page should be displayed
* test for upload image
* fix collection utils import
* fix creating test data
* update jest
* Fix filters not handling autocomplete values properly
* Add handling single selection to filter autocomplete field
* Change giftCardsListUrl function name to GiftCardListUrl for consistency
* Update schema
* Add gift card currencies query and update types
* Add validating function for filter number fields
* Add util function for mapping person node to select choice, fix types
* Add gift card list filters and search
* Add handling of gift card list search and filters dialogs in dialogs provider
* Add gift card search bar in gift card list
* Update gift card list queries and types, add filters to gift card list provider
* Fix types
* Fix types
* Fix currency filters in gift card list
* Update messages
* Remove unnecessary usages of maybe
* Change gift card balance filters not to be send to api when currency filter not present
* Update messages
* fix wrong words and ordering for staff member form
* add messages
* remove line
* apply changes from review
* change to local messages
Co-authored-by: Kamil Pastuszka <33246308+kamilpastuszka@users.noreply.github.com>
* Feed preorder data to product variant forms
* Add end preorder date input and handle date data
* Translate strings, refactor date parsing
* Fix snapshots
* CR response
* CR response
* CR response
* Fix negative threshold, product variant preorder toggle, product variant update, and simple product creation
* Make preorder data optional
* Prevent setting past date as preorder end
* Disable replacing preorder variant in order
* Adjust fulfill view to preorder in variant
* CR response + prevent subbmiting form when endPreorderDate is in the past and display warning
* Add ErrorNoticeBar
* Translate preorder end date in past error message, fix form submissison disabling logic
* Rebase fixes
* Fix preorder form disabling logic, remove isPreorder field
* Fix edge cases aroud preorder inputs
* Update storyshots
* Update dashboard to work without SKU
* Allow variant ID export in products export
* Update messages
* Update test snapshots
* Update schema
* Update order line detials without SKU
* Update test ssnapshots
* Make SKU optional for prodduct without variants
* Update schema and biuld types for sale per variant
* Create variant search module and generate types for it
* Add listing component for sale view
* Create dialog for variant assignment
* Expand sale page with vairnats
* Add new sale fixtures
* Add transaltions for variants on sale view
* Update snapshot
* Refactor sales dialogs and tables, move styles and ittl to local files
* Rework search dialog. Create item/subitem selectable table for variants, update spapshot
* Adjust table columns width
* Standardize the tables
* Unify messages
* Drop whole variant object in favor of just ids, simplify filtring functions
* Update snapshots
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* gift cards in checkout
* complete checkout after trying to add gift card
* fix gift cards tests
* fix gift cards
* update snapshots
* fix tests
* fix gift cards in checkout
* delete created channels
* WIP add new configuration menu
* Add missing permissions
* Changed filtering to one based on arrays of permissions
* Add hasAnyPermissions and hasAllPermissions functions
* Simplify getConfigMenuItemsPermissions function
* Simplify routing logic
* Add gift card expiry status to gift card details provider WIP
* Add gift card expiry handling in gift card update page header
* Add gift card expiry handling to gift card update details tag section & refactor
* Add gift card expiry handling to gift card update details expiry date section
* Add gift card expiry handling to gift card update metadata fields, add disabled prop to metadata cards
* Add comment
* Add gift card expiry handling to gift card list & refactor
* Change back some parts because of change of requirements
* Extract messages
* Remove comments, fix wrong expiry label being displayed in gift card list
* Simplify "changed" logic
* Improve code composition
* Test base state and setters
* Add more tests
* Fix changed logic
* Rename hasChanged output
* Move channel data outside hook
* Move some logic to utils
* Save data in dialog and pass to view
* Split hooks
* Fix react warnings
* Fix story
* Alias type
* Fix stories
* Remove rebase artifact
* Reset state after closing modal
* Capitalize type name