Skip to content
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

Merged
merged 9 commits into from
Jul 1, 2023

Conversation

pierrbt
Copy link
Contributor

@pierrbt pierrbt commented Jun 30, 2023

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 :

image

@stonith404
Copy link
Owner

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.

@pierrbt
Copy link
Contributor Author

pierrbt commented Jun 30, 2023

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 conventional-changelog is not found, even after installing it with npm. Any idea about this ?

Copy link
Owner

@stonith404 stonith404 left a 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.

@pierrbt
Copy link
Contributor Author

pierrbt commented Jun 30, 2023

I've made the requested changes.

@stonith404 stonith404 merged commit 46305ed into stonith404:main Jul 1, 2023
@pierrbt pierrbt changed the title feat: Adding reverse share ability to copy the link feat: Adding reverse share ability to copy the link (copy) Jul 10, 2023
stonith404 added a commit that referenced this pull request Jul 10, 2023
* 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]>
stonith404 added a commit that referenced this pull request Jul 10, 2023
* 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]>
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.

2 participants