n8n/packages/editor-ui
Mutasem Aldmour 15a20d257d
feat(core): Add support to import/export tags (#3130)
* Export and Import Workflow Tags

Support exporting and importing tags of workflows via frontend and cli.

On export, all tag data is included in the json.
- id
- name
- updatedAt
- createdAt

When importing a workflow json to n8n we:
- first check if a tag with the same id and createdAt date exists in the
  database, then we can assume the tag is identical. Changes on the name
  of the tag are now preserved.
- check if a tag with the same name exists on the database.
- create a new tag with the given name.

* clean up fe export

* remove usage count

* return updatedat, createdat

* fix tags import

* move logic from workflow package

* refactor import

* check for tags before import

* update checks on type

* fix on import

* fix build issues

* fix type issue

* remove unnessary ?

* update tag helpers so only name is required

* fix tag import

* add don't replace existing tags

* fix build issue

* address comments

* fix with promise.all

* update setting tags

* update check

* fix existing check

* add helper

* fix duplication

* fix multiple same tags bug

* fix db bugs

* add more validation on workflow type

* fix validation

* disable importing tags on copy paste

Co-authored-by: Luca Berneking <l.berneking@mittwald.de>
2022-06-02 12:39:42 +02:00
..
public feat(editor): Improve n8n welcome experience (#3289) 2022-05-16 18:19:33 +02:00
src feat(core): Add support to import/export tags (#3130) 2022-06-02 12:39:42 +02:00
tests feat: Add User Management (#2636) 2022-03-14 14:46:32 +01:00
.browserslistrc Initial commit to release 2019-06-23 12:35:23 +02:00
.eslintrc.js Introduce telemetry (#2099) 2021-10-19 05:57:49 +02:00
.gitignore Initial commit to release 2019-06-23 12:35:23 +02:00
.npmignore Initial commit to release 2019-06-23 12:35:23 +02:00
babel.config.js 🎨 Set up linting and formatting (#2120) 2021-08-29 20:58:11 +02:00
cypress.json Initial commit to release 2019-06-23 12:35:23 +02:00
index.js Serve editor-ui correctly also when installed as package 2019-08-19 20:41:10 +02:00
jest.config.js Initial commit to release 2019-06-23 12:35:23 +02:00
LICENSE.md 📚 Add missing full stop to license text 2022-03-25 09:54:00 +01:00
package.json 🔖 Release n8n-editor-ui@0.145.0 2022-05-30 12:09:22 +00:00
postcss.config.js Initial commit to release 2019-06-23 12:35:23 +02:00
README.md 📜 Change to the Sustainable Use License #2932 2022-03-17 10:15:24 +01:00
tsconfig.json Add autocompletion for i18n keys in script sections of Vue files (#3133) 2022-04-15 08:22:58 +02:00
tslint.json Add autocompletion for i18n keys in script sections of Vue files (#3133) 2022-04-15 08:22:58 +02:00
vue.config.js 🐛 Fix issue with tooltips getting displayed behind node details view 2022-03-04 17:34:24 +01:00

n8n-editor-ui

n8n.io - Workflow Automation

The UI to create and update n8n workflows

npm install n8n -g

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your end-to-end tests

npm run test:e2e

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.

License

n8n is fair-code distributed under the Sustainable Use License.

Additional information on the license can be found in the FAQ