n8n/packages
oleg 184ed8e17d
refactor: Migrate genericHelpers mixin to composable (#8220)
## Summary
- Moved out canvas loading handling to canvas store
- Tag editable routes via meta to remove router dependency from generic
helpers
- Replace all occurrences of `genericHelpers` mixin with composable and
audit usage
- Moved out `isRedirectSafe` and `getRedirectQueryParameter` out of
genericHelpers to remove dependency on router

Removing the router dependency is important, because `useRouter` and
`useRoute` compostables are only available if called from component
instance. So if composable is nested within another composable, we
wouldn't be able to use these. In this case we'd always need to inject
the router and pass it through several composables. That's why I moved
the `readonly` logic to router meta and `isRedirectSafe` and
`getRedirectQueryParameter` out as they were only used in a single
component.

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-01-05 12:23:28 +01:00
..
@n8n 🚀 Release 1.23.0 (#8205) 2024-01-03 13:41:28 +01:00
@n8n_io/eslint-config ci: Disable import/no-extraneous-dependencies in frontend tests (no-changelog) (#8182) 2023-12-29 10:45:55 +01:00
cli perf(core): Improve caching service (#8213) 2024-01-05 11:52:44 +01:00
core feat(HTTP Request Node): Interval Between Requests option for pagination (#8224) 2024-01-04 17:11:16 +02:00
design-system feat(editor): Add fullscreen view to code editor (#8084) 2024-01-04 17:23:24 +01:00
editor-ui refactor: Migrate genericHelpers mixin to composable (#8220) 2024-01-05 12:23:28 +01:00
node-dev 🚀 Release 1.23.0 (#8205) 2024-01-03 13:41:28 +01:00
nodes-base fix(Nextcloud Node): Throw an actual error if server responded with Fatal error (#8234) 2024-01-05 12:13:29 +02:00
workflow feat(HTTP Request Node): Interval Between Requests option for pagination (#8224) 2024-01-04 17:11:16 +02:00