feat(editor): Unify regular and trigger node creator panels (#5315)

* WIP: Merge TriggerHelperPanel with MainPanel

* WIP: Implement switching between views

* Remove logging

* WIP: Rework search

* Fix category toggling and search results display

* Fix node item description

* Sort actions based on the root view

* Adjust personalisation modal, make trigger canvas node round

* Linting fixes

* Fix filtering of API options

* Fix types and no result state

* Cleanup

* Linting fixes

* Adjust mode prop for node creator tracking

* Fix merging of core nodes and filtering of single placeholder actions

* Lint fixes

* Implement actions override, fix node creator view item spacing and increase click radius of trigger node icon

* Fix keyboard view navigation

* WIP: E2E Tests

* Address product review

* Minor fixes & cleanup

* Fix tests

* Some more test fixes

* Add specs to check actions and panels

* Update personalisation survey snapshot
This commit is contained in:
OlegIvaniv
2023-02-17 15:08:26 +01:00
committed by GitHub
parent 561882f599
commit 9a1e7b52f7
49 changed files with 1187 additions and 1339 deletions

View File

@@ -22,56 +22,67 @@ const nodeOperations: INodePropertyOptions[] = [
name: 'Blur',
value: 'blur',
description: 'Adds a blur to the image and so makes it less sharp',
action: 'Blur Image',
},
{
name: 'Border',
value: 'border',
description: 'Adds a border to the image',
action: 'Border Image',
},
{
name: 'Composite',
value: 'composite',
description: 'Composite image on top of another one',
action: 'Composite Image',
},
{
name: 'Create',
value: 'create',
description: 'Create a new image',
action: 'Create Image',
},
{
name: 'Crop',
value: 'crop',
description: 'Crops the image',
action: 'Crop Image',
},
{
name: 'Draw',
value: 'draw',
description: 'Draw on image',
action: 'Draw Image',
},
{
name: 'Rotate',
value: 'rotate',
description: 'Rotate image',
action: 'Rotate Image',
},
{
name: 'Resize',
value: 'resize',
description: 'Change the size of image',
action: 'Resize Image',
},
{
name: 'Shear',
value: 'shear',
description: 'Shear image along the X or Y axis',
action: 'Shear Image',
},
{
name: 'Text',
value: 'text',
description: 'Adds text to image',
action: 'Apply Text to Image',
},
{
name: 'Transparent',
value: 'transparent',
description: 'Make a color in image transparent',
action: 'Add Transparency to Image',
},
];