• You always notice small bugs once you ship things. Fixed the order of recent posts in the dashboard and only opening webmentions / drafts if there's actual content to display.

    Dashboard tweaks
  • Thinking about Bookmarks & Replies

    With support for articles shipped in Tanzawa (this is the first one! ๐ŸŽ‰ ) I'm taking a day off coding and doing a day of thinking about the next post kind(s) I want in Tanzawa: bookmarks & replies.

    Why group them? Well,ย  they're quite similar in my mind. A "reply" is a blog post that is a reply to some other page or post on the internet.ย  On my current Wordpress site they look like a note with a link to site and maybe an excerpt for whichย  we're replying.

    A reply on my current Wordpress site


    Bookmarks look quite similar. Infact they're exactly the same, except I opted to put the link emoji for bookmarks.

    A bookmark on my current Wordpress site


    Just looking at the two different post kinds the only difference is in the webmention that's sent. In replies there's a `u-in-reply-to` while in a bookmark there isn't. Part of the reason why they're the same is because how I treat bookmarks.

    When I bookmark something publicly on my blog I've write a note as to why I'm bookmarking it. It's less of a reply and more of an aside. However, reflecting on this behavior while writing this post, I think I've been using bookmarks in this manner because I've been using Wordpress. The interface for posting bookmarks and replies (and statuses and articles) is the same and so you're encouraged to treat them the same.


    Differentiating Replies and Bookmarks in Tanzawaย 


    Both bookmarks and replies will need a field for inputting the url that we're bookmarking or replying too. And both kinds will need to dynamically load the page, extract title / author / summary information. And in both types users should be able to correct the extracted information.

    I think the major difference must be made in how they're displayed in a list. Bookmarks should be displayed completely differently than other post kinds. They should only display the page title / link / date bookmarked / post permalink. Each bookmark's detail page can show the extra meta information: a note, an excerpt, and so forth.

    Replies will display much like status i.e. there's no post title. But it will begin with a link and excerpt for the reply to setup the context for the post followed by our note. RSS feeds for bookmarks and replies should be the same: linked site meta info followed by a note.

    My bet is that bookmarks and replies display much differently in your streams on the site that even though the publishing interface may be similar, your usage will change.
  • Rounding out the dashboard a bit. I've added a lot of all draft posts and the 5 most recent published posts. Webmentions only display if there's less than 3. If there's more than 3, they'll be hidden by default like below.

    Drafts post kind is also at half-opacity to help visually separate them from published posts. I'm not sure if that's extra visual noise or not...what do you think?
    ย 
    Rounding out the dashboard
  • Checkin to ใƒ•ใƒฉใƒฏใƒผใƒฉใƒณใƒ‰

    in Tokyo, Tokyo, Japan
    ไธ€ๅนดใถใ‚Šใฎๆฑไบฌใ€่ปŠใงใใŸใ€‚
    2021-04-21T00:06:02.jpg 762.64 KB
  • Today I started working on cleaning up the post list interface for the admin. As I can now post articles or statuses it doesn't make sense to show a menu on the left that says "Status" when I really want to show all posts.

    Post lists in Tanzawa


    Each post shows an icon indicating the type of post that it is, the name (if it has one), date created, a preview of the content, and links to edit or view the post. I also got to re-use my post dropdown menu component yesterday.

    Just a couple more tweaks and I think I can release articles.
  • The Week #33


    • Covid numbers are down to numbers we haven't seen since November. The vaccine is approved and they've started inoculating people. The weather's warming up and early bloomer cherry blossoms are starting to bloom. I'm optimistic.

    • Meanwhile in Texas, it's been the exact opposite with a huge cold front (thanks climate change!) and a deregulated energy industry decided to not invest in weatherizing their natural gas and coal plant despite regulators saying they should caused people to lose power/heat for days in freezing temperatures. Then the (republican) leadership goes and tries to blame the entire thing on the wind and solar farms in west Texas, when those were unaffected by the cold. Never elect a man to office who says government doesn't work, because they might win and prove it. Thankfully my family made it through unscathed (though hopefully they didn't get a $16,000 electricity bill like some did)

    • I used to listen to a lot of Japanese music when I was younger. These days, not really. Mostly electronic/punk when I'm working and Josh Rouse when I'm not. Lucky Old Sun is a new (to me) Japanese group I found lately. You should give it a listen. I like the last track on this EP a lot, but they're all good.

    • I went to Chigasaki Sagtoyama Park on my four day weekend. It was my second visit. There's this large slide that's above the trees and goes downhill with rollers on it. I usually ride down with Leo in my lap because he wants to ride it, but it's a bit scary for him. As it was a regular work-day and I took the day off the park was fairly empty. So I went down by myself. Take a ride down the best slide in the world.

    At the bottom of the hill/slide there's a couple of big white bouncy mounds that the children like to jump and play on. There was an older (double (half)) kid who looked similar to Leo. Which Leo noticed and kept on copying what he was doing when jumping. It was too cute.


  • Checkin to Chigasaki Satoyama Park (่Œ…ใƒถๅดŽ้‡Œๅฑฑๅ…ฌๅœ’)

    Setup base for the day.
    2021-04-21T00:06:08.jpg 886.58 KB
  • I've been avoiding dynamic content and Javascript in Tanzawa for as long as possible. Today I spent installing webpack and configuring my first stimulus controller. The controller is quite simple: open a details tag on hover and close it when not.

    I think it still needs a little fine-tuning with the display timing. Seeing the toggle when a user goes to click New Status is jarring. Likewise closing immediately when no longer hovering is a source of frustration. So adding a shortย  delay before performing either action would likely make it a bit easier to use.

    The other side-benefit of starting to use stimulus is that it's helping me break up my templates into more reusable and logical components.

    Toggling the "New Post" menu
  • I kinda want to move my server to FreeBSD. Maybe once I get Tanzawa to the point where I can migrate my blog over from WP to Tanzawa.

  • Checkin to ไบŒไฟฃๅทไบŒไธ็›ฎๅ…ฌๅœ’

    in Yokohama, Kanagawa, Japan

    Watching the bullet train



Previous 155 of 359 Next