Uh oh!
There was an error while loading. Please reload this page.
Add improve button to text outputs to allow for iteration - #596
Conversation
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
marcelklehr
commented
Jul 1, 2026
The button could read "Improve this text", so it's more clear what it does, perhaps? Otherwise, improve could also mean something like "help improve the assistant", etc. |
Uh oh!
There was an error while loading. Please reload this page.
| return { | ||
| providedCurrentTaskId: () => this.selectedTaskId, | ||
| streaming: () => this.streaming, | ||
| improveOutput: (content) => { |
There was a problem hiding this comment.
IMO this should be done with an event (still listen and handle the event here), not by providing a callback to the child components. Wdyt?
There was a problem hiding this comment.
It seemed easier to not use events because I would need to pass them through all the components, but I've changed it now to use events.
There was a problem hiding this comment.
You could use the Nextcloud event bus so the event does not have to be forwarded by every component.
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
lukasdotcom
commented
Jul 1, 2026
Makes sense |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
37cb446 to
4a5239eCompareSigned-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
0e66e4f to
56e064eCompare
Example in generate text:

It is on all text output fields right now. If you can think of some it shouldn't be on feel free to mention that.
🤖 AI (if applicable)