Skip to content

Wednesday, March 11

Git Commits

days commits 13 ohnsh/days
  • 10:17 pm — John Sherrell <dev@ohn.sh>

    Badge commit summaries with daily count.

  • 9:49 pm — John Sherrell <dev@ohn.sh>

    Bump Astro and Starlight.

  • 9:43 pm — John Sherrell <dev@ohn.sh>

    Wrap <YouTube> in <figure>; scoped CSS should make my custom Vite plugin obsolete.

  • 9:23 pm — John Sherrell <dev@ohn.sh>

    YouTube loader now detects when videos are shorts. <YTDay> now allows sorting by first character of video titles (for video titles with an emoji indicating subject/category).

  • 6:40 pm — John Sherrell <dev@ohn.sh>

    Added YouTube Data API loader; now videos are available in a day-oriented content collection, just like GitHub commits.

  • 1:29 pm — John Sherrell <dev@ohn.sh>

    Bring in loaders/github improvements from scratch. Commits now organized by local day instead of UTC.

  • 1:27 pm — John Sherrell <dev@ohn.sh>

    Refactor <GithubDay> and improve formatting. Now <Commit> and <RepoDay> are separate components.

  • 11:30 am — John Sherrell <dev@ohn.sh>

    Upgrade to Astro v6.

  • 2:59 am — John Sherrell <dev@ohn.sh>

    Added link-button out to repositories in <GithubDay>.

  • 1:56 am — John Sherrell <dev@ohn.sh>

    <GithubDay> commit formatting is less terrible. Still need to account for UTC timestamps and bring in a ~7-digit SHA prefix a la GitHub.

  • 1:28 am — John Sherrell <dev@ohn.sh>

    Add github sync script to package.json. March 11.

  • 1:03 am — John Sherrell <dev@ohn.sh>

    Clean up console.logs

  • 12:24 am — John Sherrell <dev@ohn.sh>

    Tagging implementation, loosely based on HiDeoo/starlight-blog. No pagination yet, but it will be necessary. Need to work on consistent conversion of tags to slugs. The <Tags> component has made me realize that the other everyday components like <YouTube> and <GithubDay> need to be rendered outside of the MDX where they can be passed computed props directly. This avoids a lot of duplication.

scratch commits 6 ohnsh/scratch
  • 9:50 pm — John Sherrell <dev@ohn.sh>

    YouTube loader now detects when videos are shorts. <YTDay> now allows sorting by first character of video titles (for video titles with an emoji indicating subject/category). Wrap <YouTube> in <figure>; allows for scoped CSS to override <lite-youtube> styles.

  • 6:22 pm — John Sherrell <dev@ohn.sh>

    Extracted a new content loader from YouTube Data API experiment. Loads videos keyed by day, as with the GitHub loader. Dates in the video title take precedence.

  • 1:12 pm — John Sherrell <dev@ohn.sh>

    Bring over GithubDays updates from days and refactor. Now <Commit> and <RepoDay> are separate components.

  • 12:29 pm — John Sherrell <dev@ohn.sh>

    Update color scheme cyan -> blue.

  • 12:24 pm — John Sherrell <dev@ohn.sh>

    more updates after nuking bun.lock.

  • 11:41 am — John Sherrell <dev@ohn.sh>

    Upgrade Astro to v6.

YouTube