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

Small clarification message about all flow triggers #4441

Closed
wants to merge 2 commits into from

Conversation

hcourdent
Copy link
Contributor

@hcourdent hcourdent commented Sep 25, 2024

Important

Enhance FlowModuleWrapper.svelte alert message with a hyperlink to flow triggers documentation.

  • UI Enhancement:
    • In FlowModuleWrapper.svelte, updated the alert message for the preprocessor step to include a hyperlink to documentation on flow triggers.

This description was created by Ellipsis for 9dcddf8. It will automatically update as commits are pushed.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to e6ff31c in 16 seconds

More details
  • Looked at 18 lines of code in 1 files
  • Skipped 2 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_8vUVDONTjEEmP9H1


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

>
It prepares arguments for the flow. Besides request arguments, the preprocessor receives a
`wm_trigger` argument with trigger details.
`wm_trigger` argument with trigger details. Learn more about all flow triggers
<a href="https://www.windmill.dev/docs/getting_started/trigger_flows" target="_blank">here</a>.
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider adding rel="noopener noreferrer" to the anchor tag for security reasons when using target="_blank". This prevents the new page from having access to the window.opener property, which can be a security risk.

Copy link

cloudflare-workers-and-pages bot commented Sep 25, 2024

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9dcddf8
Status:⚡️  Build in progress...

View logs

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on 9dcddf8 in 7 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. frontend/src/lib/components/flows/content/FlowModuleWrapper.svelte:103
  • Draft comment:
    Adding rel="noopener noreferrer" is a good security practice when using target="_blank". It prevents potential security vulnerabilities by not allowing the new page to access the window.opener property.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The addition of rel="noopener noreferrer" is a security best practice when using target="_blank". It prevents the new page from having access to the window.opener property, which can be a security risk.

Workflow ID: wflow_hTr16ckBZBvRXI7U


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@hcourdent hcourdent closed this Sep 25, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant