Launch-ish #163
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
campaign-blocker
consider soon
Content
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry.tech#163
Loading…
Reference in a new issue
No description provided.
Delete branch "launch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why remove this?
It's better to have parameters in alphabetical order for easy searching/glancing, unless there are multiple parameters that go together like margin/padding, width/height, top/left, bottom/right.
@ -8,3 +4,2 @@
import dedent from "dedent";
import fs from "graceful-fs";
import raw from "choo/html/raw";
import redirectOr404 from "../modules/redirectOr404";
Why is this here?
@ -103,2 +108,3 @@
if (urlSlug === "sdk") apiFileLink = process.env.NODE_ENV === "development" ?
"https://rawgit.com/lbryio/lbry/master/docs/api.json" :
"https://cdn.rawgit.com/lbryio/lbry/5b3103e4/docs/api.json"
"https://cdn.rawgit.com/lbryio/lbry/master/docs/api.json"
In master,
lbry.tech/api
defaults to displaying one of these pages. In this branch, that page is scrunched. There should be a redirect for this use case if a default API page isn't going to be used.@ -9,4 +4,2 @@
// V A R I A B L E
import linkGrid from "../components/link-grid";
Why break convention in a repo? Like I mentioned elsewhere, being able to glance and see where you need to go is super helpful.
This indentation's off.
There needs to be a top border here, preferably using the
:before
pseudo-selector so that it sits flush with the background of the first.api__content__example
.probably not removed with intent and was a result of copying/pasting/editing other CSS
I'm a big fan of deterministic formatting (e.g. Prettier) so that these issues never come up
top goes with
postion: relative
@ -8,3 +4,2 @@
import dedent from "dedent";
import fs from "graceful-fs";
import raw from "choo/html/raw";
import redirectOr404 from "../modules/redirectOr404";
this was left over from a conflicted rebased, removed
@ -9,4 +4,2 @@
// V A R I A B L E
import linkGrid from "../components/link-grid";
every JS file has import or require statements at the top, it didn't seem necessary to have a comment explaining that that's what they are
fixed
good call, I think
/api
should just send people to/resources
. I've updated it as such.@NetOperatorWibby addressed above, but
snazzy
complained about the spacing you desired onhome.js
. I filed this ticket for deterministic formatting. I think it makes sense to just add that feature rather than spend time debating spacing (I care about consistency, but I care little about the specific choices.)@ -103,2 +108,3 @@
if (urlSlug === "sdk") apiFileLink = process.env.NODE_ENV === "development" ?
"https://rawgit.com/lbryio/lbry/master/docs/api.json" :
"https://cdn.rawgit.com/lbryio/lbry/5b3103e4/docs/api.json"
"https://cdn.rawgit.com/lbryio/lbry/master/docs/api.json"
/api now goes to /resources