Skip to content

Conversation

julien-nc
Copy link
Member

@julien-nc julien-nc commented Jun 5, 2025

We can already know if the assistant should be displayed on top of an existing viewer. The isInsideViewer of openAssistantTask() and openAssistantForm() tells us that.

So instead of asking integrators to specify a mount point for that case, we can automatically mount the assistant at the end of the <body>.

The openAssistantTask() function has been adjusted to be consistent with openAssistantTask().

cc @juliusknorr

…iewer is true

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc added enhancement New feature or request 3. to review labels Jun 5, 2025
@juliusknorr
Copy link
Member

CI run to see if the failing text test passes again: nextcloud/text#7286

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

Works for text again, thanks a lot 🙏

@julien-nc julien-nc merged commit 12469cf into main Jun 6, 2025
9 checks passed
@julien-nc julien-nc deleted the fix/noid/assistant-in-viewer branch June 6, 2025 15:43
@julien-nc julien-nc mentioned this pull request Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants