elmarsto / sbstr8

A nearly-unstyled, hackable, ultra-modern, ultra-clean scaffold for rich, interactive storytelling, journalism and blogging. Fork this repo and get to work.
https://sbstr8.lizmars.net
GNU General Public License v3.0
4 stars 0 forks source link

Log and fix issues discovered creating sbstr8.lizmars.net #55

Open elmarsto opened 1 year ago

elmarsto commented 1 year ago

I found numerous usability and other bugs in building s8home. I generally fixed them by modifying sbstr8 upstream in a separate neovim tab, but some of them I fixed in-place and tagged FIXME.

I need to go through the s8home codebase, extract TODOs and FIXMEs, and also compare its sbstr8 directory against upstream to find all the places that need fixing.

elmarsto commented 1 year ago

Here are a couple off the top of my head:

elmarsto commented 1 year ago

also the atom generator disregards custom postPath in config and also doesn't respect overrides and also does not use lib/default (grrr)

elmarsto commented 1 year ago

also the metadata stuff breaks if a post does not have an image, whew this is a lot of bug

elmarsto commented 1 year ago

post/standard layout renders in a daft way if no image is present

elmarsto commented 1 year ago

same for ledelist

elmarsto commented 1 year ago

lib/post is not returning anything sane (instead returns nonexistent 'image.png') when an image is not present

elmarsto commented 1 year ago

on standard article layout, usernames should be links to the url of the user if present

elmarsto commented 1 year ago

if you remove the image from meta.json then typescript type inference freaks out. We need to specify the metadata datatype

elmarsto commented 1 year ago

image prop should be optional on post/standard