Skip to content

Commit

Permalink
Merge pull request #3 from liamjtoohey/feature/amend-fe
Browse files Browse the repository at this point in the history
Amend FE for Akeneo 2
  • Loading branch information
nei authored May 24, 2018
2 parents 7200610 + 3011a0e commit 630f032
Show file tree
Hide file tree
Showing 4 changed files with 197 additions and 496 deletions.
140 changes: 97 additions & 43 deletions Resources/config/form_extensions/snowio_product_export_edit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@ extensions:
snowio-csv-product-export-edit:
module: pim/form/common/edit-form

snowio-csv-product-export-edit-main-image:
module: pim/form/common/main-image
parent: snowio-csv-product-export-edit
targetZone: main-image
config:
path: bundles/pimui/images/illustration-export-csv.svg

snowio-csv-product-export-edit-user-navigation:
module: pim/menu/user-navigation
parent: snowio-csv-product-export-edit
targetZone: user-menu
config:
userAccount: pim_menu.user.user_account
logout: pim_menu.user.logout

snowio-csv-product-export-edit-breadcrumbs:
module: pim/common/breadcrumbs
parent: snowio-csv-product-export-edit
targetZone: breadcrumbs
config:
tab: pim-menu-exports

snowio-csv-product-export-edit-cache-invalidator:
module: pim/cache-invalidator
parent: snowio-csv-product-export-edit
Expand All @@ -21,34 +43,38 @@ extensions:
position: 100
config:
tabTitle: pim_enrich.form.job_instance.tab.properties.title
tabCode: pim-job-instance-properties
tabCode: snowio-properties

snowio-csv-product-export-edit-global:
module: pim/job/common/edit/properties
parent: snowio-csv-product-export-edit-tabs
aclResourceId: pim_importexport_export_profile_property_edit
targetZone: container
position: 120
config:
tabTitle: pim_enrich.export.product.global_settings.title
tabCode: snowio-global

snowio-csv-product-export-edit-content:
module: pim/job/product/edit/content
parent: snowio-csv-product-export-edit-tabs
aclResourceId: pim_importexport_export_profile_content_edit
targetZone: container
position: 110
position: 130
config:
tabTitle: pim_enrich.form.job_instance.tab.content.title
tabCode: pim-job-instance-content

snowio-csv-product-export-edit-content-structure:
module: pim/job/product/edit/content/structure
parent: snowio-csv-product-export-edit-content
targetZone: structure-filters
position: 100
tabCode: snowio-content

snowio-csv-product-export-edit-history:
module: pim/common/tab/history
parent: snowio-csv-product-export-edit-tabs
targetZone: container
aclResourceId: pim_importexport_export_profile_history
position: 120
position: 140
config:
class: Akeneo\Component\Batch\Model\JobInstance
title: pim_enrich.form.job_instance.tab.history.title
tabCode: pim-job-instance-history
tabCode: snowio-history

snowio-csv-product-export-edit-properties-code:
module: pim/job/common/edit/field/text
Expand All @@ -70,10 +96,21 @@ extensions:
label: pim_enrich.form.job_instance.tab.properties.label.title
readOnly: false

snowio-csv-product-export-edit-properties-file-path:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-global
position: 120
targetZone: properties
config:
fieldCode: configuration.filePath
readOnly: false
label: pim_enrich.form.job_instance.tab.properties.file_path.title
tooltip: pim_enrich.form.job_instance.tab.properties.file_path.help

snowio-csv-product-export-edit-properties-decimal-separator:
module: pim/job/common/edit/field/decimal-separator
parent: snowio-csv-product-export-edit-properties
position: 120
parent: snowio-csv-product-export-edit-global
position: 130
targetZone: properties
config:
fieldCode: configuration.decimalSeparator
Expand All @@ -83,8 +120,8 @@ extensions:

snowio-csv-product-export-edit-properties-date-format:
module: pim/job/product/edit/field/date-format
parent: snowio-csv-product-export-edit-properties
position: 130
parent: snowio-csv-product-export-edit-global
position: 140
targetZone: properties
config:
fieldCode: configuration.dateFormat
Expand All @@ -94,8 +131,8 @@ extensions:

snowio-csv-product-export-edit-properties-delimiter:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
position: 140
parent: snowio-csv-product-export-edit-global
position: 150
targetZone: properties
config:
fieldCode: configuration.delimiter
Expand All @@ -105,8 +142,8 @@ extensions:

snowio-csv-product-export-edit-properties-enclosure:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
position: 150
parent: snowio-csv-product-export-edit-global
position: 160
targetZone: properties
config:
fieldCode: configuration.enclosure
Expand All @@ -116,8 +153,8 @@ extensions:

snowio-csv-product-export-edit-properties-with-header:
module: pim/job/common/edit/field/switch
parent: snowio-csv-product-export-edit-properties
position: 160
parent: snowio-csv-product-export-edit-global
position: 170
targetZone: properties
config:
fieldCode: configuration.withHeader
Expand All @@ -127,8 +164,8 @@ extensions:

snowio-csv-product-export-edit-properties-with-media:
module: pim/job/common/edit/field/switch
parent: snowio-csv-product-export-edit-properties
position: 170
parent: snowio-csv-product-export-edit-global
position: 180
targetZone: properties
config:
fieldCode: configuration.with_media
Expand All @@ -137,19 +174,19 @@ extensions:
tooltip: pim_enrich.form.job_instance.tab.properties.with_media.help

snowio-csv-product-export-edit-properties-endpoint:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
position: 180
targetZone: properties
config:
fieldCode: configuration.endpoint
readOnly: false
label: snowio_connector.form.job_instance.tab.properties.endpoint.title
tooltip: snowio_connector.form.job_instance.tab.properties.endpoint.help
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-global
position: 180
targetZone: properties
config:
fieldCode: configuration.endpoint
readOnly: false
label: snowio_connector.form.job_instance.tab.properties.endpoint.title
tooltip: snowio_connector.form.job_instance.tab.properties.endpoint.help

snowio-csv-product-export-edit-properties-application-id:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
parent: snowio-csv-product-export-edit-global
position: 190
targetZone: properties
config:
Expand All @@ -160,7 +197,7 @@ extensions:

snowio-csv-product-export-edit-properties-secret-key:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
parent: snowio-csv-product-export-edit-global
position: 200
targetZone: properties
config:
Expand All @@ -171,7 +208,7 @@ extensions:

snowio-csv-product-export-edit-properties-export-dir:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
parent: snowio-csv-product-export-edit-global
position: 210
targetZone: properties
config:
Expand All @@ -182,7 +219,7 @@ extensions:

snowio-csv-product-export-edit-properties-rsync-directory:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
parent: snowio-csv-product-export-edit-global
position: 220
targetZone: properties
config:
Expand All @@ -193,7 +230,7 @@ extensions:

snowio-csv-product-export-edit-properties-rsync-user:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
parent: snowio-csv-product-export-edit-global
position: 230
targetZone: properties
config:
Expand All @@ -204,7 +241,7 @@ extensions:

snowio-csv-product-export-edit-properties-rsync-host:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
parent: snowio-csv-product-export-edit-global
position: 240
targetZone: properties
config:
Expand All @@ -215,7 +252,7 @@ extensions:

snowio-csv-product-export-edit-properties-rsync-options:
module: pim/job/common/edit/field/text
parent: snowio-csv-product-export-edit-properties
parent: snowio-csv-product-export-edit-global
position: 240
targetZone: properties
config:
Expand All @@ -224,6 +261,12 @@ extensions:
label: snowio_connector.form.job_instance.tab.properties.rsync_options.title
tooltip: snowio_connector.form.job_instance.tab.properties.rsync_options.help

snowio-csv-product-export-edit-content-structure:
module: pim/job/product/edit/content/structure
parent: snowio-csv-product-export-edit-content
targetZone: structure-filters
position: 100

snowio-csv-product-export-edit-label:
module: pim/job/common/edit/label
parent: snowio-csv-product-export-edit
Expand All @@ -236,15 +279,22 @@ extensions:
targetZone: meta
position: 100

snowio-csv-product-export-edit-delete:
module: pim/job/export/edit/delete
snowio-csv-product-export-edit-secondary-actions:
module: pim/form/common/secondary-actions
parent: snowio-csv-product-export-edit
targetZone: buttons
position: 50

snowio-csv-product-export-edit-delete:
module: pim/job/export/edit/delete
parent: snowio-csv-product-export-edit-secondary-actions
targetZone: secondary-actions
aclResourceId: pim_importexport_export_profile_remove
position: 100
config:
trans:
title: confirmation.remove.job_instance
title: confirmation.remove.export_profile
subTitle: pim_menu.item.export_profile
content: pim_enrich.confirmation.delete_item
success: flash.job_instance.removed
failed: error.removing.job_instance
Expand Down Expand Up @@ -318,6 +368,10 @@ extensions:
config:
types: [pim_catalog_identifier]

snowio-csv-product-export-edit-content-data-help:
module: pim/job/common/edit/content/data/help
parent: snowio-csv-product-export-edit-content-data

snowio-csv-product-export-edit-validation:
module: pim/job/common/edit/validation
parent: snowio-csv-product-export-edit
Expand All @@ -326,4 +380,4 @@ extensions:
module: pim/job/product/edit/content/data/add-select/attribute
parent: snowio-csv-product-export-edit-content-data
targetZone: headings
position: 90
position: 90
Loading

0 comments on commit 630f032

Please sign in to comment.