saleor-dashboard/src/components
mmarkusik 8fe66a3bde
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories

* Add new icons - chevron up, down & trash

* Add deletable item component and stories

* Add card add items footer component to be used in warehouses and product stocks assign

* Update schema and types

* Add shipping zones card components

* Update channel details page form to also include shipping zones

* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time

* Update channels types & fragments

* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir

* Add shippinh zone to channel update and create and add shipping zone search

* Update messages

* Fix types

* Fix lint, types etc

* Small refactor from review and quick fix styles of shipping zones card

* Refactor a bit and update snapshots

* Refactor a bit and update snapshots

* Addd / refactor channels availability components

* Add useChannelsWithProductVariants hook with utils and types

* Add / refactor more channels availability components

* Move avatar from table cell avatar to separate component for it to be usable outside of tables

* Add channels with variants logic to product create and update pages & views

* Refactor components to use updated channels availability components

* Remove unnecessary comments

* Update storybook

* Update types

* Update messages

* Fix prices for variants / simple product not uodating properly

* Post merge cleanup, update schema, types, etc.

* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone

* Update types

* Update snapshots

* Fix selecting / deselecting all channels in channels with variants modal

* Fixes after review, some types changes etc.

* Update snapshots

* Small types fixes

* Make price rates views use parent shipping method channels instead of all

* Make price rates views use parent shipping method channels instead of all

* Update types

* Fix bugs

* Fixes after review

* Fix channels availability data submission

* Fix lint

* Fix variant pricing card showing not related channels

* Fixes after review

* Fix types

* Hide unaviable variants in add products to draft order dialog

* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't

* Fix types

* Update semi checked icon to match old designs

* Update types

* Update channels icon in channels with variants availability

* Fix product cypress test after product channels mutation changed

* Fix trash and chevron down colors in dark mode

* Fix shipping zones card footer not updating query after click away

* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected

* Fix products adding in order draft dialog

* Fix simple productupdate

* Update snapshots after merge with master

* Update messages

* Fix product api request for cypress

* Add missing test id

* Fix selecting if product is simple -> form being submitted with empty data sometimes

* Update snapshots, messages and add fix for invalid date at product update

* Remove unnecessary imports

* Fix failing test in saleor 2552 (#1061)

* fix

* fix

* fix

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 15:44:25 +02:00
..
Accordion Improve theming (#1020) 2021-03-30 09:40:18 +02:00
AccountPermissionGroups Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
AccountPermissions Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ActionDialog Improve theming (#1020) 2021-03-30 09:40:18 +02:00
AddressEdit Improve theming (#1020) 2021-03-30 09:40:18 +02:00
AddressFormatter Saleor 1945 adjust adress management to the designs (#922) 2021-01-07 11:17:40 +01:00
Alert Handle Cloud limits (#1053) 2021-04-13 11:59:16 +02:00
AppHeader Improve theming (#1020) 2021-03-30 09:40:18 +02:00
AppLayout Improve theming (#1020) 2021-03-30 09:40:18 +02:00
AppStatus Apps (#599) 2020-07-22 12:54:15 +02:00
AssignAttributeDialog Improve theming (#1020) 2021-03-30 09:40:18 +02:00
AssignAttributeValueDialog Product reference attributes (#948) 2021-01-20 17:37:36 +01:00
AssignCategoryDialog Make category and collection assign dialog common 2020-10-30 15:00:43 +01:00
AssignCollectionDialog Make category and collection assign dialog common 2020-10-30 15:00:43 +01:00
AssignContainerDialog Improve theming (#1020) 2021-03-30 09:40:18 +02:00
AssignProductDialog Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Attributes Add rich text attribute input (#1023) 2021-04-09 09:51:49 +02:00
AttributeUnassignDialog Page types (#807) 2020-11-19 15:42:14 +01:00
AutocompleteSelectMenu Improve theming (#1020) 2021-03-30 09:40:18 +02:00
BulkAttributeUnassignDialog Page types (#807) 2020-11-19 15:42:14 +01:00
CardMenu Improve theming (#1020) 2021-03-30 09:40:18 +02:00
CardTitle Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ChannelsAvailability Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
ChannelsAvailabilityCard Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
ChannelsAvailabilityContent Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
ChannelsAvailabilityDialog Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
ChannelsAvailabilityDialogChannelsList Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
ChannelsAvailabilityDialogWrapper Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
ChannelsAvailabilityDropdown Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Checkbox Update checkboxes to newest design 2020-08-18 16:10:15 +02:00
Chip Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ColumnPicker Improve theming (#1020) 2021-03-30 09:40:18 +02:00
CompanyAddressInput Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ConfirmButton Improve theming (#1020) 2021-03-30 09:40:18 +02:00
CountryList Saleor 1737 tests for shipping methods (#1013) 2021-04-02 13:01:38 +02:00
CreatorSteps Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Date Define node requirements, ts cleanup (#1008) 2021-03-19 13:06:17 +01:00
DeletableItem Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
DeleteFilterTabDialog Update @material-ui to v4 2019-11-07 14:29:07 +01:00
EditableTableCell Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ErrorMessageCard Update @material-ui 2019-11-07 14:22:40 +01:00
ErrorPage Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ExtendedPageHeader Add rich text attribute input (#1023) 2021-04-09 09:51:49 +02:00
ExternalLink Improve theming (#1020) 2021-03-30 09:40:18 +02:00
FileUploadField File attributes (#884) 2020-12-16 11:53:28 +01:00
Filter Saleor 2692 tests for filtering products (#1055) 2021-04-12 17:22:12 +02:00
FilterBar Improve theming (#1020) 2021-03-30 09:40:18 +02:00
FilterCard Use FC instead of deprecated StatelessComponent 2019-11-07 12:34:54 +01:00
Form Use dedicated type to return error promise 2020-11-02 14:26:02 +01:00
Grid Improve theming (#1020) 2021-03-30 09:40:18 +02:00
IconButtonTableCell Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ImageUpload Improve theming (#1020) 2021-03-30 09:40:18 +02:00
LanguageSwitch Improve theming (#1020) 2021-03-30 09:40:18 +02:00
LinkChoice Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ListField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Locale Fix react-intl missing translation error (#882) 2020-12-01 18:18:58 +01:00
MediaTile Improve theming (#1020) 2021-03-30 09:40:18 +02:00
messages Handle Cloud limits (#1053) 2021-04-13 11:59:16 +02:00
Metadata Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Money Multichannel (#833) 2020-11-17 17:10:42 +01:00
MoneyRange Update @material-ui to v4 2019-11-07 14:29:07 +01:00
MultiAutocompleteSelectField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
MultiSelectField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Navigator Merge branch 'master' of github.com:mirumee/saleor-dashboard into update-collection-error-types 2021-03-30 11:41:26 +02:00
NavigatorButton Improve theming (#1020) 2021-03-30 09:40:18 +02:00
NotFoundPage Improve theming (#1020) 2021-03-30 09:40:18 +02:00
PageHeader Handle Cloud limits (#1053) 2021-04-13 11:59:16 +02:00
Percent Use proper loading and null value logic (#848) 2020-11-23 10:38:46 +01:00
PhoneField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
PriceField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
RadioGroupField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
RadioSwitchField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ResponsiveTable Improve theming (#1020) 2021-03-30 09:40:18 +02:00
RichTextEditor Improve theming (#1020) 2021-03-30 09:40:18 +02:00
RowNumberSelect Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SaveButtonBar Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SaveFilterTabDialog Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
SearchBar Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SeoForm Saleor 2696 tests for product create (#1026) 2021-04-01 14:33:36 +02:00
Shop Prevent endless limit refetching (#1059) 2021-04-14 13:09:13 +02:00
SideBar Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SideBarDrawer Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SingleAutocompleteSelectField Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
SingleSelectField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SortableChip Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SortableChipsField Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SortableTable Improve theming (#1020) 2021-03-30 09:40:18 +02:00
SquareButton Improve theming (#1020) 2021-03-30 09:40:18 +02:00
StatusChip Improve theming (#1020) 2021-03-30 09:40:18 +02:00
StatusLabel Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Tab Improve theming (#1020) 2021-03-30 09:40:18 +02:00
TableCellAvatar Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
TableCellHeader Improve theming (#1020) 2021-03-30 09:40:18 +02:00
TableFilter Improve theming (#1020) 2021-03-30 09:40:18 +02:00
TableHead Improve theming (#1020) 2021-03-30 09:40:18 +02:00
TablePagination Improve theming (#1020) 2021-03-30 09:40:18 +02:00
TextFieldWithChoice Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Theme Handle Cloud limits (#1053) 2021-04-13 11:59:16 +02:00
Timeline Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Timezone Do not use asterisk imports 2019-08-09 12:26:22 +02:00
UserChip Improve theming (#1020) 2021-03-30 09:40:18 +02:00
VisibilityCard Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Weight Update @material-ui to v4 2019-11-07 14:29:07 +01:00
WeightRange Update @material-ui to v4 2019-11-07 14:29:07 +01:00
WindowTitle Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
CardSpacer.tsx Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Container.tsx Improve theming (#1020) 2021-03-30 09:40:18 +02:00
ControlledCheckbox.tsx Add channel shipping zones (#1015) 2021-04-14 15:44:25 +02:00
ControlledSwitch.tsx Fix minor bugs in plugin details view 2020-08-19 13:35:35 +02:00
Debounce.tsx Update @material-ui to v4 2019-11-07 14:29:07 +01:00
DebounceForm.tsx Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
Dropzone.tsx Update from saleor/master 2019-08-09 13:14:35 +02:00
FormSpacer.tsx Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Hr.tsx Improve theming (#1020) 2021-03-30 09:40:18 +02:00
Link.tsx Improve theming (#1020) 2021-03-30 09:40:18 +02:00
MenuToggle.tsx Use eslint instead of tslint 2019-12-02 16:33:58 +01:00
RequirePermissions.tsx Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
Skeleton.tsx Improve theming (#1020) 2021-03-30 09:40:18 +02:00