-
-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adding reverse share ability to copy the link (copy) #179
Conversation
These 2 PRs are nice additions, thanks! I'll look into it ASAP but as I have my final exams next week it could take some time. |
Ok, np, take your time there is no hurry. Good luck for your exams. PS : I also looked to make the 0.16.0 release, using the root package.json scripts, but the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice thanks! Please see my comment above.
I've made the requested changes. |
* fix: set link default value to random * fix: add auto EOL and add conventional-changelog package * feat: Adding reverse shares' shares a clickable link (#178) * Add clickable link to reverse share's shares * Ran format * Apply suggestions from code review * fix: set link default value to random (#181) * fix: set link default value to random * fix: add auto EOL and add conventional-changelog package * Apply suggestions from code review --------- Co-authored-by: Elias Schneider <[email protected]> * feat: Adding reverse share ability to copy the link (#179) --------- Co-authored-by: Elias Schneider <[email protected]>
* Add clickable link to reverse share's shares * Ran format * Adding copy icon to the reverse share list * Remove console.log * Ran format * Ran format in backend * fix: copy to clipboard spelling * Open the share in another window * feat: Adding reverse shares' shares a clickable link (#178) * Add clickable link to reverse share's shares * Ran format * fix: set link default value to random (#181) * fix: set link default value to random * fix: add auto EOL and add conventional-changelog package * Apply suggestions from code review --------- Co-authored-by: Elias Schneider <[email protected]> * feat: Adding reverse share ability to copy the link (#179) --------- Co-authored-by: Elias Schneider <[email protected]>
I fetched the token from the backend and then I created the upload link, in order to display a link icon to copy the reverse share's link. I also created a modal to display the link when the context isn't secured. I added this because it was yet impossible to copy the link of the reverse share once it was created. Now you can copy it anytime.
Like this branch is child to the other PR, this may cause some other changes but it should normally works.
This is a preview :