n8n/packages
Elias Meire 39fa8d21bb
feat(editor): Add sections to create node panel (#7831)
This PR sets the stage for the node creator to handle sections within
subcategories. No visible changes result from this PR; the next PR will
define sections and assign nodes accordingly.

Sections are configurable in
`packages/editor-ui/src/components/Node/NodeCreator/viewsData.ts`:
```
{
	type: 'subcategory',
	key: FILES_SUBCATEGORY,
	category: CORE_NODES_CATEGORY,
	properties: {
		title: FILES_SUBCATEGORY,
		icon: 'file-alt',
		sections: [
			{
				key: 'popular',
				title: i18n.baseText('nodeCreator.sectionNames.popular'),
				items: ['n8n-nodes-base.readBinaryFiles', 'n8n-nodes-base.compression'],
			},
		],
	},
},
```

For example:
<img width="302" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/74470c07-f4ea-4306-bd4a-8d33bd769b86">

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-12-04 10:02:07 +01:00
..
@n8n docs: Fix typo in tooltip relating to JMESPath (#7910) 2023-12-04 08:19:36 +00:00
@n8n_io/eslint-config build: Upgrade lint related packages (#7790) 2023-11-27 09:11:52 +01:00
cli docs: Update breaking changes with binary data TTL note (#7894) 2023-12-01 12:52:12 +01:00
core refactor(core): Switch plain errors in core to ApplicationError (no-changelog) (#7873) 2023-11-30 09:06:19 +01:00
design-system 🚀 Release 1.19.0 (#7863) 2023-11-29 13:17:03 +01:00
editor-ui feat(editor): Add sections to create node panel (#7831) 2023-12-04 10:02:07 +01:00
node-dev 🚀 Release 1.19.0 (#7863) 2023-11-29 13:17:03 +01:00
nodes-base docs: Fix typo in tooltip relating to JMESPath (#7910) 2023-12-04 08:19:36 +00:00
workflow refactor(core): Separate API response from error in execution error causes (no-changelog) (#7880) 2023-11-30 14:44:10 +01:00