Launch-ish #163

Merged
kauffj merged 14 commits from launch into master 2018-10-01 17:21:11 +02:00
kauffj commented 2018-10-01 15:22:50 +02:00 (Migrated from github.com)
  • Re-wrote content on homepage, contribute, glossary, and more
  • New components for Resources page
  • Headers for API pages
  • Crude, unimplemented, redirection
  • Link grid as a component
  • Remove sitemap
  • Other cleanup / refactoring as I went
- Re-wrote content on homepage, contribute, glossary, and more - New components for Resources page - Headers for API pages - Crude, unimplemented, redirection - Link grid as a component - Remove sitemap - Other cleanup / refactoring as I went
NetOpWibby (Migrated from github.com) reviewed 2018-10-01 15:22:50 +02:00
NetOpWibby (Migrated from github.com) reviewed 2018-10-01 16:16:48 +02:00
NetOpWibby (Migrated from github.com) commented 2018-10-01 16:08:05 +02:00

Why remove this?

Why remove this?
NetOpWibby (Migrated from github.com) commented 2018-10-01 16:10:43 +02:00

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.

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";
NetOpWibby (Migrated from github.com) commented 2018-10-01 16:11:20 +02:00

Why is this here?

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"
NetOpWibby (Migrated from github.com) commented 2018-10-01 16:16:33 +02:00

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.

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";
NetOpWibby (Migrated from github.com) commented 2018-10-01 16:12:56 +02:00

Why break convention in a repo? Like I mentioned elsewhere, being able to glance and see where you need to go is super helpful.

Why break convention in a repo? Like I mentioned elsewhere, being able to glance and see where you need to go is super helpful.
NetOpWibby (Migrated from github.com) commented 2018-10-01 16:13:18 +02:00

This indentation's off.

This indentation's off.
NetOpWibby (Migrated from github.com) reviewed 2018-10-01 16:32:47 +02:00
NetOpWibby (Migrated from github.com) commented 2018-10-01 16:32:41 +02:00

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.

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`.
kauffj (Migrated from github.com) reviewed 2018-10-01 16:38:54 +02:00
kauffj (Migrated from github.com) commented 2018-10-01 16:38:54 +02:00

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

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
kauffj (Migrated from github.com) reviewed 2018-10-01 16:39:40 +02:00
kauffj (Migrated from github.com) commented 2018-10-01 16:39:40 +02:00

top goes with postion: relative

top goes with `postion: relative`
kauffj (Migrated from github.com) reviewed 2018-10-01 16:40:38 +02:00
@ -8,3 +4,2 @@
import dedent from "dedent";
import fs from "graceful-fs";
import raw from "choo/html/raw";
import redirectOr404 from "../modules/redirectOr404";
kauffj (Migrated from github.com) commented 2018-10-01 16:40:38 +02:00

this was left over from a conflicted rebased, removed

this was left over from a conflicted rebased, removed
kauffj (Migrated from github.com) reviewed 2018-10-01 16:41:48 +02:00
@ -9,4 +4,2 @@
// V A R I A B L E
import linkGrid from "../components/link-grid";
kauffj (Migrated from github.com) commented 2018-10-01 16:41:47 +02:00

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

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
kauffj (Migrated from github.com) reviewed 2018-10-01 16:42:01 +02:00
kauffj (Migrated from github.com) commented 2018-10-01 16:42:01 +02:00

fixed

fixed
kauffj (Migrated from github.com) reviewed 2018-10-01 16:43:28 +02:00
kauffj (Migrated from github.com) commented 2018-10-01 16:43:28 +02:00

good call, I think /api should just send people to /resources. I've updated it as such.

good call, I think `/api` should just send people to `/resources`. I've updated it as such.
kauffj commented 2018-10-01 16:47:11 +02:00 (Migrated from github.com)

@NetOperatorWibby addressed above, but snazzy complained about the spacing you desired on home.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.)

@NetOperatorWibby addressed above, but `snazzy` complained about the spacing you desired on `home.js`. I filed [this ticket](https://github.com/lbryio/lbry.tech/issues/165) 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.)
kauffj (Migrated from github.com) reviewed 2018-10-01 16:47:33 +02:00
@ -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"
kauffj (Migrated from github.com) commented 2018-10-01 16:47:33 +02:00

/api now goes to /resources

/api now goes to /resources
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#163
No description provided.