Skip to content

Commit

Permalink
feat(foxy-item-category-form): redesign with summary controls and rem…
Browse files Browse the repository at this point in the history
…ove unsupported features
  • Loading branch information
pheekus committed Aug 14, 2024
1 parent 47f3dbf commit eb2e0b9
Show file tree
Hide file tree
Showing 5 changed files with 518 additions and 478 deletions.
40 changes: 19 additions & 21 deletions src/elements/public/ItemCategoryForm/ItemCategoryForm.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,28 @@ const summary: Summary = {
localName: 'foxy-item-category-form',
translatable: true,
configurable: {
sections: ['timestamps', 'header'],
sections: ['header', 'general', 'delivery', 'handling-and-discount', 'emails', 'timestamps'],
buttons: ['delete', 'create', 'submit', 'undo', 'header:copy-id', 'header:copy-json'],
inputs: [
'name',
'code',
'handling-fee-type',
'handling-fee',
'handling-fee-percentage',
'handling-fee-minimum',
'item-delivery-type',
'max-downloads-per-customer',
'max-downloads-time-period',
'shipping-flat-rate',
'shipping-flat-rate-type',
'default-weight',
'default-weight-unit',
'default-length-unit',
'customs-value',
'discount-name',
'discount-builder',
'admin-email-template-uri',
'customer-email-template-uri',
'gift-recipient-email-template-uri',
'general:name',
'general:code',
'taxes',
'handling-and-discount:handling-fee-type',
'handling-and-discount:handling-fee',
'handling-and-discount:handling-fee-percentage',
'handling-and-discount:handling-fee-minimum',
'handling-and-discount:discount-name',
'handling-and-discount:discount-builder',
'delivery:item-delivery-type',
'delivery:max-downloads-per-customer',
'delivery:max-downloads-time-period',
'delivery:shipping-flat-rate',
'delivery:shipping-flat-rate-type',
'delivery:default-weight',
'delivery:default-weight-unit',
'delivery:default-length-unit',
'delivery:customs-value',
'emails:gift-recipient-email-template-uri',
],
},
};
Expand Down
Loading

0 comments on commit eb2e0b9

Please sign in to comment.