कारतोफ्फेलस्क्रिप्ट™
d6deceacde
refactor(core): Remove roleId indirection (no-changelog) ( #8413 )
2024-01-24 13:38:57 +01:00
Milorad FIlipović
8b99384367
fix(editor): Fix cloud plan data loading on instance ( #7841 )
...
Moving cloud hooks and store initialization logic after users are
authenticated. This will ensure user local account is available when
their cloud plan data is being fetched.
This PR also adds the following error handling improvements:
- Added error handling to the same initialization logic
- Fixed empty `catch` clauses inside the cloud store which caused it to
silently fail and complicated debugging of this bug
2023-11-29 10:51:15 +01:00
कारतोफ्फेलस्क्रिप्ट™
753cbc1e96
refactor(editor): Delete some barrel files and reduce circular dependencies (no-changelog) ( #7838 )
2023-11-28 12:15:08 +01:00
Csaba Tuncsik
152883eed1
build: Upgrade lint related packages ( #7790 )
2023-11-27 09:11:52 +01:00
Alex Grozav
67a88914f2
feat(editor): Add routing middleware, permission checks, RBAC store, RBAC component ( #7702 )
...
Github issue / Community forum post (link here to close automatically):
---------
Co-authored-by: Csaba Tuncsik <csaba@n8n.io >
2023-11-23 13:22:47 +02:00
Mutasem Aldmour
151e60f829
fix(editor): Fix local storage flags defaulting to undefined string ( #7603 )
...
useStorage takes the default value `undefined` and sets it in local
storage.. also returns "undefined" as string which breaks onboarding
flows
Github issue / Community forum post (link here to close automatically):
2023-11-07 10:06:08 +01:00
Ricardo Espinoza
a43f720658
fix: Add role check for upgrade path ( #7374 )
...
Github issue / Community forum post (link here to close automatically):
---------
Co-authored-by: Mutasem <mutdmour@gmail.com >
2023-10-09 11:18:08 +02:00
Ricardo Espinoza
1dfa052301
feat(editor): Support autologin for upgrade path ( #7316 )
...
Github issue / Community forum post (link here to close automatically):
2023-10-06 13:16:27 +02:00
Csaba Tuncsik
cd12a5990a
feat(editor): Workflow history [WIP]- Improve switching between workflow history and editor (no-changelog) ( #7353 )
2023-10-05 15:49:59 +02:00
Csaba Tuncsik
4bc9164032
feat(editor): Workflow history [WIP]- Add workflow history opening button to main header component (no-changelog) ( #7310 )
...
Co-authored-by: Iván Ovejero <ivov.src@gmail.com >
2023-10-04 16:45:18 +02:00
Milorad FIlipović
6d3d1789db
fix(editor): Disable email confirmation banner for trialing users ( #7340 )
...
Github issue / Community forum post (link here to close automatically):
2023-10-04 13:36:51 +02:00
Milorad FIlipović
04dfcd73be
fix(editor): Separate cloud endpoint calls ( #7312 )
...
This PR untangles calls to cloud endpoints so failure in one of them
doesn't stop others to go through.
2023-10-02 14:25:03 +02:00
Mutasem Aldmour
01e9340621
feat: Add onboarding flow ( #7212 )
...
Github issue / Community forum post (link here to close automatically):
2023-09-25 15:49:36 +02:00
Milorad FIlipović
b0e98b59a6
feat(editor): Rework banners framework and add email confirmation banner ( #7205 )
...
This PR introduces banner framework overhaul:
First version of the banner framework was built to allow multiple
banners to be shown at the same time. Since that proven to be the case
we don't need and it turned out to be pretty messy keeping only one
banner visible in such setup, this PR reworks it so it renders only one
banner at a time, based on [this priority
list](https://www.notion.so/n8n/Banner-stack-60948c4167c743718fde80d6745258d5?pvs=4#6afd052ec8d146a1b0fab8884a19add7 )
that is assembled together with our product & design team.
### How to test banner stack:
1. Available banners and their priorities are registered
[here](f9f122d46d/packages/editor-ui/src/components/banners/BannerStack.vue (L14) )
2. Banners are pushed to stack using `pushBannerToStack` action, for
example:
```
useUIStore().pushBannerToStack('TRIAL');
```
4. Try pushing different banners to stack and check if only the one with
highest priorities is showing up
### How to test the _Email confirmation_ banner:
1. Comment out [this
line](b80d2e3bec/packages/editor-ui/src/stores/cloudPlan.store.ts (L59) ),
so cloud data is always fetched
2. Create an
[override](https://chrome.google.com/webstore/detail/resource-override/pkoacgokdfckfpndoffpifphamojphii )
(URL -> File) that will serve user data that triggers this banner:
- **URL**: `*/rest/cloud/proxy/admin/user/me`
- **File**:
```
{
"confirmed": false,
"id": 1,
"email": "test@test.com ",
"username": "test"
}
```
3. Run n8n
2023-09-21 09:47:21 +02:00
Ricardo Espinoza
dc58340eee
feat(editor): Change upgrade CTA on community editions (no-changelog) ( #6317 )
...
* Change upgrade CTA on community editions
* upgrade CTA event
* Send source as ref in when redirecting
* fix tests
* import correcty telemetryfunction
* aja
* remove useUpgradeLink composable
* remove composable from index.ts
* Add goToUpgrade to usage view
2023-06-05 13:39:04 -04:00
Alex Grozav
4eb8437196
fix: Show actual execution data for production executions even if pin data exists ( #6302 )
2023-06-01 19:12:21 +03:00
Iván Ovejero
d5c44987f4
refactor(editor): Add infix to Pinia stores (no-changelog) ( #6149 )
...
* ⚡ Add infix to Pinia stores
* ⚡ Fix paths in mocks
* 🐛 Fix import
2023-05-05 10:41:54 +02:00
Iván Ovejero
57aab63c10
refactor: Integrate consistent-type-imports in FE packages (no-changelog) ( #6060 )
...
* 👕 Move `consistent-type-imports` to top level
* 👕 Apply lintfixes
* 👕 Apply more lintfixes
* 👕 More lintfixes
* 👕 More lintfixes
2023-04-24 12:18:24 +02:00
Iván Ovejero
4bd55f7a1e
refactor(editor): Switch to plan change URL on cloud (no-changelog) ( #6001 )
...
* 🚚 Switch to plan change URL on cloud
* 🧪 Update URL in test
2023-04-24 10:42:03 +02:00
Michael Auerswald
ac245fdb8d
refactor(editor): Consolidate IN8nUISettings interface ( #6055 )
...
* consolidate IN8nUISettings
* cleanup
2023-04-21 13:30:57 +02:00
Csaba Tuncsik
9eeba13156
refactor(editor): Go to upgrade page ( #5994 )
...
* refactor(editor): Go to upgrade page
* test(editor): add UI store upgrade link tests
* fix(editor): update execution filter links
* fix(editor): update unit test
* fix(editor): update unit test
* fix(editor): remove unused variables
2023-04-19 11:00:09 +02:00
Csaba Tuncsik
3c9b2e1e01
test(editor): Move unit tests (no-changelog) ( #5998 )
...
* test(editor): Move unit tests (no-changelog)
* trigger checks
* trigger checks
* trigger checks
* trigger checks
2023-04-19 08:46:06 +02:00
Val
1bb987140a
feat: Add variables feature ( #5602 )
...
* feat: add variables db models and migrations
* feat: variables api endpoints
* feat: add $variables to expressions
* test: fix ActiveWorkflowRunner tests failing
* test: a different fix for the tests broken by $variables
* feat: variables licensing
* fix: could create one extra variable than licensed for
* feat: Add Variables UI page and $vars global property (#5750 )
* feat: add support for row slot to datatable
* feat: add variables create, read, update, delete
* feat: add vars autocomplete
* chore: remove alert
* feat: add variables autocomplete for code and expressions
* feat: add tests for variable components
* feat: add variables search and sort
* test: update tests for variables view
* chore: fix test and linting issue
* refactor: review changes
* feat: add variable creation telemetry
* fix: Improve variables listing and disabled case, fix resource sorting (no-changelog) (#5903 )
* fix: Improve variables disabled experience and fix sorting
* fix: update action box margin
* test: update tests for variables row and datatable
* fix: Add ee controller to base controller
* fix: variables.ee routes not being added
* feat: add variables validation
* fix: fix vue-fragment bug that breaks everything
* chore: Update lock
* feat: Add variables input validation and permissions (no-changelog) (#5910 )
* feat: add input validation
* feat: handle variables view for non-instance-owner users
* test: update variables tests
* fix: fix data-testid pattern
* feat: improve overflow styles
* test: fix variables row snapshot
* feat: update sorting to take newly created variables into account
* fix: fix list layout overflow
* fix: fix adding variables on page other than 1. fix validation
* feat: add docs link
* fix: fix default displayName function for resource-list-layout
* feat: improve vars expressions ux, cm-tooltip
* test: fix datatable test
* feat: add MATCH_REGEX validation rule
* fix: overhaul how datatable pagination selector works
* feat: update completer description
* fix: conditionally update usage syntax based on key validation
* test: update datatable snapshot
* fix: fix variables-row button margins
* fix: fix pagination overflow
* test: Fix broken test
* test: Update snapshot
* fix: Remove duplicate declaration
* feat: add custom variables icon
---------
Co-authored-by: Alex Grozav <alex@grozav.com >
Co-authored-by: Omar Ajoue <krynble@gmail.com >
2023-04-18 12:41:55 +02:00
Csaba Tuncsik
dc0055fc5c
test(editor): Move test utils to the proper place ( #5975 )
2023-04-14 13:17:03 +02:00
Csaba Tuncsik
bc1db5e16a
test(editor): SSO tests ( #5946 )
...
* test(editor): SSO tests
* test(editor): move store tests to __tests__ folder
* test(editor): move tests in a different PR
* test(editor): add SSO tests
* test(editor): add SSO settings page tests
* test(editor): add SSO onboarding page base test
* test(editor): add SSO onboarding page test
* test(editor): fix router spy
2023-04-13 16:17:47 +02:00
Alex Grozav
d253aa3e95
feat: Add Mirage.js server to enable editor-ui unit tests ( #5671 )
...
feat: add Mirage.js server to enable editor-ui unit tests
2023-03-13 11:05:08 +02:00