Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(editor): Add support for loadOptionsDependsOn to RLC #6101

Merged
merged 5 commits into from
Apr 28, 2023

Conversation

MiloradFilipovic
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 27, 2023

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Files matching **/*.vue:

  • Used composition API for all new components.
  • Added component or unit tests to cover functionality.

Files matching packages/editor-ui/**/*.vue:

  • Added E2E if adding new features.
  • Used design system tokens (colors, spacings...) where possible.

Files matching packages/nodes-base/nodes/**:

  • Added workflow tests for nodes if possible.

Files matching cypress/e2e/**:

  • Avoided chaining commands more than two or three times (to avoid flakiness because only last one will be retried).
  • Spoofed endpoints that are not critical for the test (to avoid flakiness).
  • Picked most efficient path to start the test (for example skipped account setup and starting at /workflow/new for a canvas test).
  • Avoided adding waits on time (use request intercepts instead).
  • Ensured each spec does not depend on any another spec to pass.

Make sure to check off this list before asking for review.

@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5974af1) 19.19% compared to head (c56d47e) 19.19%.

❗ Current head c56d47e differs from pull request most recent head 1e7e694. Consider uploading reports for the commit 1e7e694 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6101   +/-   ##
=======================================
  Coverage   19.19%   19.19%           
=======================================
  Files        2589     2589           
  Lines      116890   116890           
  Branches    18339    18339           
=======================================
  Hits        22439    22439           
  Misses      93806    93806           
  Partials      645      645           
Impacted Files Coverage Δ
...es/Google/Sheet/v2/actions/sheet/Sheet.resource.ts 0.00% <ø> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request ui Enhancement in /editor-ui or /design-system labels Apr 27, 2023
@MiloradFilipovic MiloradFilipovic self-assigned this Apr 27, 2023
dependentParametersValues() {
// Reset value if dependent parameters change
if (this.value && isResourceLocatorValue(this.value) && this.value.value !== '') {
console.log('reset value');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn 🤦‍♂️

@@ -429,6 +433,18 @@ export default mixins(debounceHelper, workflowHelpers, nodeHelpers).extend({
this.$emit('input', { ...this.value, __regex: mode.extractValue.regex });
}
},
dependentParametersValues() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where are the tests?
7VE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we have RLC unit tests but can add some in ndv e2e tests

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would create its own test suite

* master:
  fix(editor): Remove pagination from binary data output (#6093)
  fix(editor): Show error in RLC if credentials are not set (#6108)
  fix(editor): Loading state for executions tab (#6100)
  ci: Additionally checkout PR head for e2e tests (no-changelog) (#6105)
  fix(core): Skip auth for controllers/routes that don't use the `Authorized` decorator, or use `Authorized('none')` (#6106)
  fix(editor): Disable changing of email and pw when SAML login enabled (#6104)
  fix(HTTP Request Node): Always lowercase headers
  fix(Compression Node): Fix issue with decompression failing with uppercase extensions (#6098)
  fix(Mattermost Node): Fix base url trailing slash error (#6097)
  feat(Item Lists Node): Split out items work on objects as well as arrays
* master:
  fix(core): Only take into account users that active for the first time to show activation modal (no-changelog) (#6121)
  fix(editor): Change wording for Variables feature available plans (no-changelog) (#6096)
  refactor(editor): Add skip option to activation modal (#6092)
  fix(HTTP Request Node): Add description for 'Specify Body' option (#6114)
  test(editor): Test personal settings view (#6119)
Copy link
Contributor

@mutdmour mutdmour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍 thank you

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@MiloradFilipovic MiloradFilipovic merged commit b17d5f9 into master Apr 28, 2023
@MiloradFilipovic MiloradFilipovic deleted the ADO-77-RLC-loadOptionsDependsOn branch April 28, 2023 10:14
MiloradFilipovic added a commit that referenced this pull request May 2, 2023
* master: (37 commits)
  fix(editor): Fix copy selection behavior (#6112)
  fix(core): Account for nodes with renamable content (#6109)
  fix(editor): Fix quote handling on dollar-sign variable completions (#6128)
  fix(editor): Fix cropped off completions docstrings (#6129)
  fix(Date & Time Node): Numbers conversions fix
  fix(Merge Node): Do not error if expected key is missing
  fix(core): Improve saml endpoints and audit events (#6107)
  fix: Prevent displaying an endless timer in the execution list for finished executions (#6137)
  fix(editor): Fix `Show details` summary (#6113)
  fix(editor): Fix sidebar button styling (#6138)
  fix(editor): Fix unique names for node duplication (#6134)
  fix(editor): Fix missing `Stop Listening` button (#6125)
  fix(editor): Fix unscrollable node settings (#6133)
  fix(core): Avoid using `Object.keys` on Buffer and other non-plain objects (#6131)
  fix(editor): Change execution list tab loader design (#6120)
  fix(Slack Node): Restore ability to send text in addition of blocks or attachments
  feat(editor): Add support for `loadOptionsDependsOn` to RLC (#6101)
  fix: Correctly allow sharees to test credential when opening the modal (#6111)
  fix(core): Fix `hasOwnProperty` on augmented objects (#6124)
  fix(core): Only take into account users that active for the first time to show activation modal (no-changelog) (#6121)
  ...
MiloradFilipovic added a commit that referenced this pull request May 2, 2023
…rce-mapper-ui-P2

* feature/resource-mapping-component: (37 commits)
  fix(editor): Fix copy selection behavior (#6112)
  fix(core): Account for nodes with renamable content (#6109)
  fix(editor): Fix quote handling on dollar-sign variable completions (#6128)
  fix(editor): Fix cropped off completions docstrings (#6129)
  fix(Date & Time Node): Numbers conversions fix
  fix(Merge Node): Do not error if expected key is missing
  fix(core): Improve saml endpoints and audit events (#6107)
  fix: Prevent displaying an endless timer in the execution list for finished executions (#6137)
  fix(editor): Fix `Show details` summary (#6113)
  fix(editor): Fix sidebar button styling (#6138)
  fix(editor): Fix unique names for node duplication (#6134)
  fix(editor): Fix missing `Stop Listening` button (#6125)
  fix(editor): Fix unscrollable node settings (#6133)
  fix(core): Avoid using `Object.keys` on Buffer and other non-plain objects (#6131)
  fix(editor): Change execution list tab loader design (#6120)
  fix(Slack Node): Restore ability to send text in addition of blocks or attachments
  feat(editor): Add support for `loadOptionsDependsOn` to RLC (#6101)
  fix: Correctly allow sharees to test credential when opening the modal (#6111)
  fix(core): Fix `hasOwnProperty` on augmented objects (#6124)
  fix(core): Only take into account users that active for the first time to show activation modal (no-changelog) (#6121)
  ...
@janober
Copy link
Member

janober commented May 3, 2023

Got released with n8n@0.227.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants