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

Add Portal rating #475

Open
prayagd opened this issue May 29, 2024 · 12 comments
Open

Add Portal rating #475

prayagd opened this issue May 29, 2024 · 12 comments

Comments

@prayagd
Copy link
Collaborator

prayagd commented May 29, 2024

As a user i should be able to rate the portal

Acceptance criteria

  • After successfully completing any of these actions on portal, show the rating pop-up
    • Issue request
    • Redeem request
    • Staking
    • Unstaking
    • Unlock unstaked tokens
    • Claim rewards
  • The pop-up should close after rating is received.
  • Once the rating is received from the user, they should not be prompted for rating for 15 days.
  • If the user closes the pop-up without providing rating, show it after 15 days
  • Following info to be captured in a excel file/database
    • Rating
    • What action the rating was received on? for ex. /pendulum/staking

Wireframe

https://www.figma.com/proto/5up5sghcttBogehUq4255i/App?node-id=2849-5156&t=t26OmPb2nSn7Axcj-0&scaling=scale-down&page-id=136%3A114&starting-point-node-id=2849%3A5156

@prayagd prayagd added the draft Work in progress label May 29, 2024
@prayagd prayagd added priority:high Do it now and removed draft Work in progress labels Jun 13, 2024
@prayagd
Copy link
Collaborator Author

prayagd commented Jun 13, 2024

@ebma @Sharqiewicz anything unclear about the above? is it possible to capture the data on excel sheet?

Marked it as high priority as it is one, once estimated i would request to work on this asap.

@prayagd
Copy link
Collaborator Author

prayagd commented Jun 13, 2024

Hey team! Please add your planning poker estimate with Zenhub @ebma @Sharqiewicz

@ebma
Copy link
Member

ebma commented Jun 13, 2024

If the user closes the pop-up without providing rating, show the pop-up for next successful action.

Isn't this a bit too pushy? I would be annoyed if the app was asking me for feedback all the time, even if I manually close the dialog. I think if a user closes the dialog and actively decides not to provide feedback, we should also not prompt again for at least a week, or maybe treat it like the default case of 15 days.

Following info to be captured in a excel file/database

A database is definitely overkill for this so let's rather try to store it differently. While I've never tried it myself, I guess we can send that data to a Google Form.

@prayagd
Copy link
Collaborator Author

prayagd commented Jul 22, 2024

@Sharqiewicz please add you estimates

@prayagd
Copy link
Collaborator Author

prayagd commented Aug 12, 2024

Isn't this a bit too pushy? I would be annoyed if the app was asking me for feedback all the time, even if I manually close the dialog. I think if a user closes the dialog and actively decides not to provide feedback, we should also not prompt again for at least a week, or maybe treat it like the default case of 15 days.

Fair point, made changes in the ticket

@prayagd
Copy link
Collaborator Author

prayagd commented Aug 12, 2024

Please add your planning poker estimate with Zenhub @TorstenStueber

@TorstenStueber
Copy link
Member

We would need some backend for this, I think we should not directly push to the Google Form from the frontend, otherwise we expose the credentials.

@Sharqiewicz
Copy link
Collaborator

I think we can use Netlify Functions along with Google Sheets. It won't expose credentials. WDYT? @TorstenStueber @ebma

@ebma
Copy link
Member

ebma commented Aug 27, 2024

Since Netlify functions use AWS lambda internally, we can also just create a lambda function for this right away. We can then store the credentials in AWS secret manager for example. Creating an extra server that runs 24/7 just for this might be overkill.

@TorstenStueber
Copy link
Member

Yes, Lambda or Netlify functions sounds good. This can be setup and managed by DevOps.

@Sharqiewicz
Copy link
Collaborator

The code can be copied from Vortex

@ebma
Copy link
Member

ebma commented Oct 14, 2024

Yes, let's re-use the great component you already created in pendulum-chain/vortex#182.
Since we don't have a custom backend deployed for the portal, we need to implement a similar logic as part of a Netlify function though.

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

4 participants