Skip to content

Conversation

@rodcoffani
Copy link

  • new login in external window for embed mode
  • new route with signInCallback for popup window
  • cherry-picked commit for new share-links event (with links and passwords)
  • targetOrigin configurable via URI for integration with extenal services (ex: indico and codimd)

}
if (unref(isEmbedModeEnabled) && !unref(isFilePicker)) {
if (unref(isEmbedModeEnabled)) {
Copy link

Choose a reason for hiding this comment

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

why? isFilePicker is true if the target is file, which is what we want, no? I see use cases to embed and allow users to download or open files.

Copy link
Author

@rodcoffani rodcoffani Feb 4, 2026

Choose a reason for hiding this comment

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

the embed method does not allow users to open files (https://github.com/cernbox/web/blob/cernbox/packages/web-pkg/src/composables/actions/files/useFileActions.ts#L113-L115)

In upstream, this added later on the file picker and I didn't manage to find a reason why.
I removed it to avoid downloading a file when clicking on its name.
The download via context menu or buttons is still available.

@rodcoffani rodcoffani marked this pull request as ready for review February 4, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants