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

Generate URL with the aswers for sharing #1

Closed
marcosvrs opened this issue Oct 24, 2019 · 6 comments
Closed

Generate URL with the aswers for sharing #1

marcosvrs opened this issue Oct 24, 2019 · 6 comments

Comments

@marcosvrs
Copy link

Use case:

One would like to share his answers for a specific component case.

Requirements:

  • At the end of the page, a share link button is shown with a link for the current form answers;
  • The link must render the page with the answers selected and the total amount of recommendation points;
@Dan503
Copy link
Owner

Dan503 commented Oct 24, 2019

Great idea 😁

A decent amount of work to read and write the url though ☹

Maybe with a vue routing plugin it would be easier.

I'm focused on other projects at the moment. If you create a pull request with the feature added I would be happy to accept it. 😊

I would imagine it working by modifying the url every time the user answered a question. That way you don't have to answer every question to get it working.

@Dan503
Copy link
Owner

Dan503 commented Oct 24, 2019

I might give it a go over the weekend.

@Dan503
Copy link
Owner

Dan503 commented Oct 26, 2019

Hi @marcosvrs,

The URL in the browser URL bar now updates with a shareable link as you answer questions.

I have created a separate issue for the button that copies the URL to the users clipboard.

I am going to close this ticket now since the core functionality of generating a link that can be shared with colleagues is complete.

@Dan503 Dan503 closed this as completed Oct 26, 2019
@Dan503
Copy link
Owner

Dan503 commented Oct 26, 2019

Oops, I didn't test it in production. There is a bug in the url generation >_<

@Dan503 Dan503 reopened this Oct 26, 2019
@Dan503
Copy link
Owner

Dan503 commented Oct 26, 2019

Bug fixed now.

@Dan503 Dan503 closed this as completed Oct 26, 2019
@marcosvrs
Copy link
Author

Nice! Thanks! :)

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

No branches or pull requests

2 participants