Saturday, April 4
YouTube
Testing description rendering.
Testing description rendering.
9:19 pm β John Sherrell <dev@ohn.sh>
Added video descriptions. I'm sure some should be rendered as markdown but currently it's just the raw string in an HTML paragraph. VideoList is too trivial to justify a separate component; it's now combined with VideoTabs.
10:56 pm β John Sherrell <107401967+ohnsh@users.noreply.github.com>
CE README
10:13 am β John Sherrell <dev@ohn.sh>
New helper scripts for starting MediaMTX and ws-ptz (independent of ttyd).
Sweeties!
11:05 pm β John Sherrell <dev@ohn.sh>
LatestVids now have titles overlaid on thumbnails (instead of beneath). Using Starlight's `not-content` class, which negates default styling meant for markdown content and is more proper for components like this one.
6:22 pm β John Sherrell <dev@ohn.sh>
Wised up and using `title` prop on astro-embed-youtube component instead of overlaying my own. The main advantage is that it disappears when the actual video loads (on click).
5:56 pm β John Sherrell <dev@ohn.sh>
Sorting videos by title within each tab/category. Added title overlay to top-left corner of video thumbails. Still need to hide it when the actual video loads (on click).
10:45 am β John Sherrell <dev@ohn.sh>
Added search and pagination to the invoices page. Added authentication with next-auth. Final project is complete.
Caution: Crazy
3:33 pm β John Sherrell <dev@ohn.sh>
Fixed weird portrait artifacts in profile photo.
2:59 pm β John Sherrell <dev@ohn.sh>
Need to remove duplicate commit (using sha) when incrementally fetching with `since`. (The commit associated with the timestamp will always be returned.)
2:40 pm β John Sherrell <dev@ohn.sh>
Github loader: Incrementally fetch commits using `since` query parameter.
1:35 pm β John Sherrell <dev@ohn.sh>
Bump dependencies; new Typescript and Lucide.
10:09 am β John Sherrell <dev@ohn.sh>
Latest Videos -> Latest Uploads
10:52 am β John Sherrell <dev@ohn.sh>
RCP26.4: Testing dynamic rendering with noStore()
5:24 pm β John Sherrell <dev@ohn.sh>
New sort order for video tabs prioritizing talking vids, then running vids.
4:01 pm β John Sherrell <dev@ohn.sh>
Now prioritize talking videos for og:image thumbnail. (Running videos come next, then everything else.)
12:56 pm β John Sherrell <dev@ohn.sh>
YouTube loader: rudimentary incremental fetching implemented. If a playlist already has items saved in local JSON, only fetch 10 items at a time until an already-saved item is reached, then stop. Implementation uses an async generator to page through the API. I'm uncertain about what exactly happens to the playlist when I *update* metadata on an already-published video, but I'm quite certain that this incremental fetch implementation won't handle it gracefully. When a fresh sync is needed, simply delete the .days/youtube directory, where the API JSON is cached.
10:18 am β John Sherrell <dev@ohn.sh>
Github loader: important to use `pushed_at` timestamp instead of `updated_at`. The latter is (seemingly) not updated on push.
10:12 am β John Sherrell <dev@ohn.sh>
Github loader: Only fetch commits for repositories updated since last sync. Still fetching *all* commits, which needs to be optimized.