cozy / cozy-libs

Libraries used to build Cozy products and tools.
MIT License
7 stars 12 forks source link

[PRD-613] fix: Handle shared notes #2621

Closed paultranvan closed 4 days ago

paultranvan commented 5 days ago

When a note is coming from a Cozy sharing, a special URL must be built, including the sharing instance URL, a sharecode and a the note ID on this instance. The client does not have these information, so the stack is required to build the opening URL. This is directly handled by Drive, so when the user wants to open a shared note, we first need to redirect on Drive, that will redirect on Notes.

See https://github.com/cozy/cozy-drive/pull/3244/files