linagora / twake-drive

The open-source alternative to Google Drive.
GNU Affero General Public License v3.0
105 stars 20 forks source link

When somebody shared file by the link, I want to have ability to save it to my drive #263

Open shepilov opened 1 year ago

tprudentova commented 11 months ago

Goal of the feature

To attract more users to Twake Drive and prompt existing users to use it

User story

When I follow the link to a document on Twake Drive, I see a page that includes a button “Save to Twake Drive”.

If I’m signed in

When I click Save to Twake Drive, I see a toast message, and the file is saved to Shared with me.

Button Save to Twake Drive chages to “Open in Twake Drive”. NB: if I reload page, the button is “Save to Twake Drive” again

If I’m not signed in but have an account

When I click Save to Twake Drive, I’m redirected to Sign-in. After I complete sign-in, I’m redirected back to the shared by link page, the file is saved to my Twake Drive automatically as soon as I’m redirected. I see a toast message.

Button Save to Twake Drive chages to “Open in Twake Drive”. NB: if I reload page, the button is “Save to Twake Drive” again

If I’m not signed in and don’t have an account

When I click Save to Twake Drive, I’m redirected to Sign-up. After I complete sign-up, I’m redirected back to the shared by link page, the file is saved to my Twake Drive automatically as soon as I’m redirected. I see a toast message.

Button Save to Twake Drive chages to “Open in Twake Drive”. NB: if I reload page, the button is “Save to Twake Drive” again

Acceptance criteria

  1. I can save a file shared with me directly to Twake Drive
  2. I can save such file to my Twake Drive after I complete sign-in
  3. I can save such file to my Twake Drive after I complete sign-up
  4. I can open saved file in my Twake Drive