mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 00:00:46 +00:00
internal: nits for claude demo (#6141)
* nits for claude demo * better prompt
This commit is contained in:
@@ -38,4 +38,6 @@ jobs:
|
||||
|
||||
Provide constructive feedback with specific suggestions for improvement.
|
||||
Use inline comments to highlight specific areas of concern.
|
||||
|
||||
At the end of your review, add complete instructions to reproduce the added changes through the app interface. These instructions will be given to a tester so he can verify the changes. It should be a short descriptive text (not a step by step or a list) on how to navigate the app (what page, what action, what input, etc) to see the changes.
|
||||
allowed_tools: "mcp__github__create_pending_pull_request_review,mcp__github__add_pull_request_review_comment_to_pending_review,mcp__github__submit_pending_pull_request_review,mcp__github__get_pull_request_diff"
|
||||
|
||||
@@ -61,11 +61,14 @@ export function triggerableByAI(element: HTMLElement, options: TriggerableByAIOp
|
||||
// register the triggerable
|
||||
const currentData = { description, onTrigger: handleTrigger }
|
||||
triggerablesByAi[id] = currentData
|
||||
element.setAttribute('ai-description', description)
|
||||
}
|
||||
|
||||
function unregister() {
|
||||
if (isDisabled || !id) return
|
||||
|
||||
element.removeAttribute('ai-description')
|
||||
|
||||
// unregister the triggerable
|
||||
if (triggerablesByAi[id]) {
|
||||
delete triggerablesByAi[id]
|
||||
@@ -77,7 +80,7 @@ export function triggerableByAI(element: HTMLElement, options: TriggerableByAIOp
|
||||
|
||||
return {
|
||||
update(newOptions: TriggerableByAIOptions) {
|
||||
; ({ id, description, callback, showAnimation = true } = newOptions)
|
||||
;({ id, description, callback, showAnimation = true } = newOptions)
|
||||
register()
|
||||
},
|
||||
destroy() {
|
||||
|
||||
Reference in New Issue
Block a user