Ability to redeem LBRY generated Reward Codes #1886

Closed
opened 2018-08-18 04:10:02 +02:00 by tzarebczan · 2 comments
tzarebczan commented 2018-08-18 04:10:02 +02:00 (Migrated from github.com)

The Issue

The API team has almost completed implementing a feature that will allow us to generate reward codes that can be redeemed by app users for LBC. We'd need to add a feature into the UI so a user can enter the reward code to claim their credits. @tiger5226 suggested a good place for it might be the top right area of the claimed rewards section (but now that I think about it, not sure if "claimed" rewards is the best place for it). My initial thought is that it would be another tile that's clickable - but this also could be easily missed.

Sample redemption call:
https:api.lbry.io/reward/new?auth_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxx&reward_type=reward_code&wallet_address=bQmVXv2LUP5riJ3yh8XNNd1mgYSVMiiCVB&code=xeuXjKm2pzWGNDUjfPSG

We would show a snackbar with the reward notification text after it's claimed and it would appear in the Claimed Rewards section.

System Configuration

  • LBRY Daemon version:
  • LBRY App version:
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-desktop/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on live chat at https://chat.lbry.io --> ## The Issue The API team has almost completed implementing a feature that will allow us to generate reward codes that can be redeemed by app users for LBC. We'd need to add a feature into the UI so a user can enter the reward code to claim their credits. @tiger5226 suggested a good place for it might be the top right area of the claimed rewards section (but now that I think about it, not sure if "claimed" rewards is the best place for it). My initial thought is that it would be another tile that's clickable - but this also could be easily missed. Sample redemption call: `https:api.lbry.io/reward/new?auth_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxx&reward_type=reward_code&wallet_address=bQmVXv2LUP5riJ3yh8XNNd1mgYSVMiiCVB&code=xeuXjKm2pzWGNDUjfPSG` We would show a snackbar with the reward notification text after it's claimed and it would appear in the Claimed Rewards section. ## System Configuration <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279' --data '{"method":"version"}' and include the full output --> - LBRY Daemon version: - LBRY App version: - LBRY Installation ID: - Operating system: ## Anything Else <!-- Include anything else that does not fit into the above sections --> ## Screenshots <!-- If a screenshot would help explain the bug, please include one or two here -->
kauffj commented 2018-08-20 16:19:50 +02:00 (Migrated from github.com)

IMO just showing this as a tile with the rest of the rewards is fine. Rather than "Get X LBC", it should say "Enter Code" or another equivalent cue.

When clicked take the user to a screen that let's them enter the code, and that's it.

IMO just showing this as a tile with the rest of the rewards is fine. Rather than "Get X LBC", it should say "Enter Code" or another equivalent cue. When clicked take the user to a screen that let's them enter the code, and that's it.
tiger5226 commented 2018-08-20 23:42:13 +02:00 (Migrated from github.com)

Currently it is hidden in our internal-apis. We would just need to make it visible and add a description. Then it should just work.

Currently it is hidden in our internal-apis. We would just need to make it visible and add a description. Then it should just work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#1886
No description provided.