-
Notifications
You must be signed in to change notification settings - Fork 396
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(frontend): Add context for inner components of list, groups and … #3974
Conversation
Deploying windmill with
|
Latest commit: |
057c0da
|
Status: | ✅ Deploy successful! |
Preview URL: | https://700ca92d.windmill.pages.dev |
Branch Preview URL: | https://fr-add-missing-context.windmill.pages.dev |
There was a problem hiding this 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 e7779d0 in 1 minute and 26 seconds
More details
- Looked at
84
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_vyzffLo6n9hHPWet
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.
frontend/src/lib/components/apps/editor/settingsPanel/ContextVariables.svelte
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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 5347f2c in 1 minute and 43 seconds
More details
- Looked at
77
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_q2Idr2L9XwPKoXhR
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Incremental review on d2e00e7 in 1 minute and 36 seconds
More details
- Looked at
126
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_F6qQGkVqrEkTMehS
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.
frontend/src/lib/components/apps/editor/settingsPanel/ContextVariables.svelte
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Incremental review on bbb3eb8 in 1 minute and 59 seconds
More details
- Looked at
44
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_z1IXQuQKw03q5x0s
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.
frontend/src/lib/components/apps/editor/settingsPanel/ContextVariables.svelte
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Incremental review on 40ac35c in 1 minute and 17 seconds
More details
- Looked at
22
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_etx26Nf63bMAruid
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.
frontend/src/lib/components/apps/editor/settingsPanel/ContextVariables.svelte
Show resolved
Hide resolved
There was a problem hiding this 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 d3f56c3 in 1 minute and 24 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. frontend/src/lib/components/apps/editor/settingsPanel/ContextVariables.svelte:57
- Draft comment:
The removal of unnecessary optional chaining inparentId.split('-')[0]
is a good simplification sinceparentId
is already checked for truthiness. This makes the code cleaner and more efficient. - Reason this comment was not posted:
Confidence changes required:33%
The PR modifies theprocessParents
function, specifically the line whereparentId
is parsed. The change removes unnecessary optional chaining sinceparentId
is already checked for truthiness in the line above. This is a minor cleanup that simplifies the code and removes redundant checks.
Workflow ID: wflow_XMtbQEetfhpOViSd
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this 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 8116e30 in 1 minute and 50 seconds
More details
- Looked at
66
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. frontend/src/lib/components/apps/editor/settingsPanel/ContextVariables.svelte:72
- Draft comment:
Consider moving the call tofindParentsContextVariables(id)
inside anonMount
lifecycle function to ensure that all component properties are fully initialized before this function is executed. This can prevent potential issues with uninitialized or changing properties during component setup. - Reason this comment was not posted:
Confidence of 0% on close inspection, compared to threshold of 50%.
Workflow ID: wflow_9nip3J0r4ggW4Fwu
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
…labs/windmill into fr/add-missing-context
Add missing contexts table actions and sub components
![Screenshot 2024-06-25 at 15 27 24](https://private-user-images.githubusercontent.com/456655/342748346-84d42811-3938-48a3-a926-f0fec33e1643.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2Mjk3MDksIm5iZiI6MTcxOTYyOTQwOSwicGF0aCI6Ii80NTY2NTUvMzQyNzQ4MzQ2LTg0ZDQyODExLTM5MzgtNDhhMy1hOTI2LWYwZmVjMzNlMTY0My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwMjUwMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01NGIwZjliNGQ0MGQ2OWZjMWMyODM4ZTAzZTU5NTU4NTE4MmQ2MWUyYzIxY2I3ZTViYTI2ZTk5MjFhM2MzYWExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.OfWgOEiilU6BiBPJWc5XFo4AD1t4_-MUdgud7Y5AXlg)
![Screenshot 2024-06-25 at 15 27 41](https://private-user-images.githubusercontent.com/456655/342748326-91a0b915-f0f1-45c2-9776-316209166681.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2Mjk3MDksIm5iZiI6MTcxOTYyOTQwOSwicGF0aCI6Ii80NTY2NTUvMzQyNzQ4MzI2LTkxYTBiOTE1LWYwZjEtNDVjMi05Nzc2LTMxNjIwOTE2NjY4MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwMjUwMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wM2ZiZDcwN2U1ODY5NTNkOGQxNmIyNTY5Yzc0YTM3NGFjMTQ3OTBlMjlhMGE0Nzc3MTU0MGVhNDRhZThjN2EwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.5evbtNYkzlukcF_WAwSw0du_62dfDTBaa6So9mRuzrc)
…tables
Summary:
Enhanced handling of context variables in the settings panel, including updates to logic and the introduction of a function to prevent duplicates, along with the removal of an outdated function.
Key points:
frontend/src/lib/components/apps/editor/settingsPanel/ContextVariables.svelte
addContextVariable
function to avoid duplicate entriescontainercomponent
,listcomponent
, and various table-related componentsfindEveryParentGridItem
function fromfrontend/src/lib/components/apps/editor/appUtils.ts
Generated with ❤️ by ellipsis.dev