Git Commits
days commits 10
ohnsh/days-
11:57 pm — John Sherrell <dev@ohn.sh>
Tweak post header styles, remove console.log.
-
11:04 pm — John Sherrell <dev@ohn.sh>
Styles: using border-bottom on post titles instead of <hr />. The border is actually on a new <header> wrapping both the h2 and tags. On single-day pages, the rules are a bit different: Tags need a negative margin to create a superficial grouping with the h1 rendered by <StarlightPage>.
-
10:08 pm — John Sherrell <dev@ohn.sh>
Github loader: New, generalized fetch-all-pages abstraction around api() calls. Just in time for my 99th commit. The Github API uses the HTTP `Link` header to return next-page URLs, while the YouTube API puts them in the body.
-
9:26 pm — John Sherrell <dev@ohn.sh>
Youtube loader: Generalized fetch-all-pages abstraction around YouTube Data API calls.
-
9:03 pm — John Sherrell <dev@ohn.sh>
Edited site description.
-
8:47 pm — John Sherrell <dev@ohn.sh>
Reaching into tab component styles to remove full-width border. This UI needs a lot of improvement, possibly in the form of a framework component, but for now it's better than using <details> everywhere.
-
12:34 pm — John Sherrell <dev@ohn.sh>
Updated og:image extraction to extract multiple thumbnails if available. (E.g. Facebook lets you pick between them when posting.) Currently filtering out timelapse videos and prioritizing running videos.
-
12:00 pm — John Sherrell <dev@ohn.sh>
Can't pass empty string in <TabItem> label prop.
-
11:54 am — John Sherrell <dev@ohn.sh>
Changed YouTube daily entries (<YTDay>) to tabbed interface. Using starlight/astro <Tabs> component but considering adding React to this project and testing radix-ui.
-
1:47 am — John Sherrell <dev@ohn.sh>
Now grouping videos by tag for display. New <VideoList> component for that purpose. Upgrades to emoji detection. A sort order for tags can be passed as a prop.