LBRY Developer Program #255

Merged
NetOpWibby merged 15 commits from 209-quickstart into master 2019-02-19 23:22:28 +01:00
NetOpWibby commented 2019-02-14 18:08:13 +01:00 (Migrated from github.com)

Closes #209

Closes #209
NetOpWibby (Migrated from github.com) reviewed 2019-02-14 18:10:23 +01:00
@ -390,2 +414,3 @@
selector: "#emailMessage"
}));
});
}
NetOpWibby (Migrated from github.com) commented 2019-02-14 18:10:23 +01:00

Is this copy good?

Is this copy good?
NetOpWibby (Migrated from github.com) reviewed 2019-02-14 18:10:42 +01:00
NetOpWibby (Migrated from github.com) commented 2019-02-14 18:10:42 +01:00

More copy you may want to change.

More copy you may want to change.
kauffj (Migrated from github.com) requested changes 2019-02-17 22:16:12 +01:00
kauffj (Migrated from github.com) commented 2019-02-17 22:11:58 +01:00

There should only be one set of values here, not two differently named ones. The production server receives the production values; local development can use the test values.

There should only be one set of values here, not two differently named ones. The production server receives the production values; local development can use the test values.
@ -0,0 +14,4 @@
document.querySelector("developer-program").innerHTML = `
<form>
<input-submit>
<input id="walletAddress" placeholder="Your LBRY wallet address" type="text"/>
kauffj (Migrated from github.com) commented 2019-02-17 22:12:35 +01:00

Can this look stylistically similar or identical (and use the same classes/elements) to the input + button on the playground?

Can this look stylistically similar or identical (and use the same classes/elements) to the input + button on the playground?
kauffj (Migrated from github.com) commented 2019-02-17 22:14:10 +01:00

Can this be a single centered button labeled "Claim Developer LBC" with smaller/meta text below it that says "This will authenticate you with GitHub to prove eligibility as well as mark you as a follower of LBRY".

Can this be a single centered button labeled "Claim Developer LBC" with smaller/meta text below it that says "This will authenticate you with GitHub to prove eligibility as well as mark you as a follower of LBRY".
kauffj (Migrated from github.com) commented 2019-02-17 22:14:35 +01:00

I was going to change this myself, but we don't have a button style?!

I was going to change this myself, but we don't have a button style?!
kauffj (Migrated from github.com) commented 2019-02-17 22:16:03 +01:00

This component should error cleanly if the relevant GitHub values aren't set.

This component should error cleanly if the relevant GitHub values aren't set.
kauffj (Migrated from github.com) commented 2019-02-17 22:15:03 +01:00

^ what this says

^ what this says
NetOpWibby (Migrated from github.com) reviewed 2019-02-18 20:11:44 +01:00
@ -0,0 +14,4 @@
document.querySelector("developer-program").innerHTML = `
<form>
<input-submit>
<input id="walletAddress" placeholder="Your LBRY wallet address" type="text"/>
NetOpWibby (Migrated from github.com) commented 2019-02-18 20:11:43 +01:00

Do you mean having lbry inside the input? Otherwise, the input/button on Playground is going to match what's on this page (not the other way around). It's the new component.

Do you mean having `lbry` inside the input? Otherwise, the input/button on Playground is going to match what's on this page (not the other way around). It's the new component.
kauffj (Migrated from github.com) reviewed 2019-02-18 23:03:29 +01:00
@ -0,0 +14,4 @@
document.querySelector("developer-program").innerHTML = `
<form>
<input-submit>
<input id="walletAddress" placeholder="Your LBRY wallet address" type="text"/>
kauffj (Migrated from github.com) commented 2019-02-18 23:03:29 +01:00

OK, if they're the same, consider this resolved. I thought they looked different when I checked, will confirm when PR is ready for review again.

OK, if they're the same, consider this resolved. I thought they looked different when I checked, will confirm when PR is ready for review again.
NetOpWibby (Migrated from github.com) reviewed 2019-02-19 00:32:41 +01:00
NetOpWibby (Migrated from github.com) left a comment

Done making changes.

Done making changes.
kauffj (Migrated from github.com) requested changes 2019-02-19 19:23:29 +01:00
kauffj (Migrated from github.com) left a comment

I want to get this live, so please just merge and release after next changes and then we can test it in production.

I want to get this live, so please just merge and release after next changes and then we can test it in production.
@ -0,0 +13,4 @@
if (window.location.search.includes("?code=")) {
document.querySelector("developer-program").innerHTML = `
<form>
<input-submit>
kauffj (Migrated from github.com) commented 2019-02-19 19:22:38 +01:00

This is still not styled correctly for me. Sending you a screenshot on Slack.

This is still not styled correctly for me. Sending you a screenshot on Slack.
@ -17,1 +16,4 @@
let apiUrl = process.env.REWARD_URL;
let githubAppId = process.env.GITHUB_APP_ID;
let githubAppSecret = process.env.GITHUB_APP_SECRET;
kauffj (Migrated from github.com) commented 2019-02-19 19:20:25 +01:00

I removed the additional check to use TEST variables that was below this.

I removed the additional check to use `TEST` variables that was below this.
kauffj (Migrated from github.com) commented 2019-02-19 19:21:24 +01:00

I was never able to get this to work, but I assume it actually does. It would be good to update this to include a link to the transaction on the block explorer.

I was never able to get this to work, but I assume it actually does. It would be good to update this to include a link to the transaction on the block explorer.
NetOpWibby (Migrated from github.com) reviewed 2019-02-19 22:38:48 +01:00
NetOpWibby (Migrated from github.com) commented 2019-02-19 22:38:48 +01:00

It requires a test wallet address.

It requires a test wallet address.
NetOpWibby (Migrated from github.com) reviewed 2019-02-19 23:02:05 +01:00
NetOpWibby (Migrated from github.com) commented 2019-02-19 23:02:05 +01:00

Ah, just realized you must've been trying to do this with the production values. I'm not sure if it's active or not.

Ah, just realized you must've been trying to do this with the production values. I'm not sure if it's active or not.
NetOpWibby (Migrated from github.com) reviewed 2019-02-19 23:03:28 +01:00
NetOpWibby (Migrated from github.com) commented 2019-02-19 23:03:28 +01:00

I'm not sure how to grab the block explorer transaction since I have only been doing this in testing and I don't recall seeing an address I could use. I may forgetting this though.

I'm not sure how to grab the block explorer transaction since I have only been doing this in testing and I don't recall seeing an address I could use. I may forgetting this though.
Sign in to join this conversation.
No reviewers
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.tech#255
No description provided.