Gold headings
The current heading gray and five golds, each shown as a full page section: a title, intro, markdown with every heading level, a card and some controls.
Building the notes rail
How the side column that holds my notes came together, and the things I tried first.
Why the notes live in a rail
Most of what I write down starts as a scrap of a thought on the way to something else. A rail down the side of the page keeps those scraps close to the page they came from, so I can read the article and the note together and never lose my place.
What goes in a note
A note is short on purpose. If it needs more than a screen, it has probably turned into a page of its own, and I move it there and link back.
- One idea per note, titled so I can find it again in six months
- A link to the code or the page it came from
- A line on what I would do differently next time
A small example
Every note is a row with a path, a title and a body, and the rail only needs the first two to draw itself:
const notes = await getNotes("/projects/jaygriff-v4");
const rail = notes.map(({ title, path }) => ({ label: title, href: path }));Things I tried first
I tried a floating drawer, then tabs along the top. Both hid the notes until you asked for them, which meant I forgot they were there. The rail won because it is always visible and costs nothing when you ignore it. See the notes index for the current list, or open routes-as-data for how pages find their notes.
The fine print
Notes are read-only on the site. Changes go through goatboat as proposals, and nothing here writes to the database.
A note you can't find is just a thought you had once.
Tools I reach for
Still on the list
- Finish the home feed
- Give every page a short description
- Move the old artifacts into the new notes
A card with its own heading
Cards sit a step above the page, so the gold has to hold up on the lighter surface too. Read the full notes or run npm run dev to see it locally.
Building the notes rail
How the side column that holds my notes came together, and the things I tried first.
Why the notes live in a rail
Most of what I write down starts as a scrap of a thought on the way to something else. A rail down the side of the page keeps those scraps close to the page they came from, so I can read the article and the note together and never lose my place.
What goes in a note
A note is short on purpose. If it needs more than a screen, it has probably turned into a page of its own, and I move it there and link back.
- One idea per note, titled so I can find it again in six months
- A link to the code or the page it came from
- A line on what I would do differently next time
A small example
Every note is a row with a path, a title and a body, and the rail only needs the first two to draw itself:
const notes = await getNotes("/projects/jaygriff-v4");
const rail = notes.map(({ title, path }) => ({ label: title, href: path }));Things I tried first
I tried a floating drawer, then tabs along the top. Both hid the notes until you asked for them, which meant I forgot they were there. The rail won because it is always visible and costs nothing when you ignore it. See the notes index for the current list, or open routes-as-data for how pages find their notes.
The fine print
Notes are read-only on the site. Changes go through goatboat as proposals, and nothing here writes to the database.
A note you can't find is just a thought you had once.
Tools I reach for
Still on the list
- Finish the home feed
- Give every page a short description
- Move the old artifacts into the new notes
A card with its own heading
Cards sit a step above the page, so the gold has to hold up on the lighter surface too. Read the full notes or run npm run dev to see it locally.
Building the notes rail
How the side column that holds my notes came together, and the things I tried first.
Why the notes live in a rail
Most of what I write down starts as a scrap of a thought on the way to something else. A rail down the side of the page keeps those scraps close to the page they came from, so I can read the article and the note together and never lose my place.
What goes in a note
A note is short on purpose. If it needs more than a screen, it has probably turned into a page of its own, and I move it there and link back.
- One idea per note, titled so I can find it again in six months
- A link to the code or the page it came from
- A line on what I would do differently next time
A small example
Every note is a row with a path, a title and a body, and the rail only needs the first two to draw itself:
const notes = await getNotes("/projects/jaygriff-v4");
const rail = notes.map(({ title, path }) => ({ label: title, href: path }));Things I tried first
I tried a floating drawer, then tabs along the top. Both hid the notes until you asked for them, which meant I forgot they were there. The rail won because it is always visible and costs nothing when you ignore it. See the notes index for the current list, or open routes-as-data for how pages find their notes.
The fine print
Notes are read-only on the site. Changes go through goatboat as proposals, and nothing here writes to the database.
A note you can't find is just a thought you had once.
Tools I reach for
Still on the list
- Finish the home feed
- Give every page a short description
- Move the old artifacts into the new notes
A card with its own heading
Cards sit a step above the page, so the gold has to hold up on the lighter surface too. Read the full notes or run npm run dev to see it locally.
Building the notes rail
How the side column that holds my notes came together, and the things I tried first.
Why the notes live in a rail
Most of what I write down starts as a scrap of a thought on the way to something else. A rail down the side of the page keeps those scraps close to the page they came from, so I can read the article and the note together and never lose my place.
What goes in a note
A note is short on purpose. If it needs more than a screen, it has probably turned into a page of its own, and I move it there and link back.
- One idea per note, titled so I can find it again in six months
- A link to the code or the page it came from
- A line on what I would do differently next time
A small example
Every note is a row with a path, a title and a body, and the rail only needs the first two to draw itself:
const notes = await getNotes("/projects/jaygriff-v4");
const rail = notes.map(({ title, path }) => ({ label: title, href: path }));Things I tried first
I tried a floating drawer, then tabs along the top. Both hid the notes until you asked for them, which meant I forgot they were there. The rail won because it is always visible and costs nothing when you ignore it. See the notes index for the current list, or open routes-as-data for how pages find their notes.
The fine print
Notes are read-only on the site. Changes go through goatboat as proposals, and nothing here writes to the database.
A note you can't find is just a thought you had once.
Tools I reach for
Still on the list
- Finish the home feed
- Give every page a short description
- Move the old artifacts into the new notes
A card with its own heading
Cards sit a step above the page, so the gold has to hold up on the lighter surface too. Read the full notes or run npm run dev to see it locally.
Building the notes rail
How the side column that holds my notes came together, and the things I tried first.
Why the notes live in a rail
Most of what I write down starts as a scrap of a thought on the way to something else. A rail down the side of the page keeps those scraps close to the page they came from, so I can read the article and the note together and never lose my place.
What goes in a note
A note is short on purpose. If it needs more than a screen, it has probably turned into a page of its own, and I move it there and link back.
- One idea per note, titled so I can find it again in six months
- A link to the code or the page it came from
- A line on what I would do differently next time
A small example
Every note is a row with a path, a title and a body, and the rail only needs the first two to draw itself:
const notes = await getNotes("/projects/jaygriff-v4");
const rail = notes.map(({ title, path }) => ({ label: title, href: path }));Things I tried first
I tried a floating drawer, then tabs along the top. Both hid the notes until you asked for them, which meant I forgot they were there. The rail won because it is always visible and costs nothing when you ignore it. See the notes index for the current list, or open routes-as-data for how pages find their notes.
The fine print
Notes are read-only on the site. Changes go through goatboat as proposals, and nothing here writes to the database.
A note you can't find is just a thought you had once.
Tools I reach for
Still on the list
- Finish the home feed
- Give every page a short description
- Move the old artifacts into the new notes
A card with its own heading
Cards sit a step above the page, so the gold has to hold up on the lighter surface too. Read the full notes or run npm run dev to see it locally.
Building the notes rail
How the side column that holds my notes came together, and the things I tried first.
Why the notes live in a rail
Most of what I write down starts as a scrap of a thought on the way to something else. A rail down the side of the page keeps those scraps close to the page they came from, so I can read the article and the note together and never lose my place.
What goes in a note
A note is short on purpose. If it needs more than a screen, it has probably turned into a page of its own, and I move it there and link back.
- One idea per note, titled so I can find it again in six months
- A link to the code or the page it came from
- A line on what I would do differently next time
A small example
Every note is a row with a path, a title and a body, and the rail only needs the first two to draw itself:
const notes = await getNotes("/projects/jaygriff-v4");
const rail = notes.map(({ title, path }) => ({ label: title, href: path }));Things I tried first
I tried a floating drawer, then tabs along the top. Both hid the notes until you asked for them, which meant I forgot they were there. The rail won because it is always visible and costs nothing when you ignore it. See the notes index for the current list, or open routes-as-data for how pages find their notes.
The fine print
Notes are read-only on the site. Changes go through goatboat as proposals, and nothing here writes to the database.
A note you can't find is just a thought you had once.
Tools I reach for
Still on the list
- Finish the home feed
- Give every page a short description
- Move the old artifacts into the new notes
A card with its own heading
Cards sit a step above the page, so the gold has to hold up on the lighter surface too. Read the full notes or run npm run dev to see it locally.