๐Ÿ—ป James Van Dyne

โœˆ๏ธTrips ๐Ÿ—บ๏ธMaps โœ๏ธ๏ธBlog ๐Ÿ”—๏ธ๏ธLinks ๐ŸƒRuns ๐Ÿ‘‰Now
  • ๐ŸกHome
  • โœˆ๏ธTrips
  • ๐Ÿ—บ๏ธMaps
  • โœ๏ธBlog
  • ๐Ÿ”—๏ธLinks
  • ๐ŸƒRuns
  • ๐Ÿ‘‰Now
  • โœ๏ธArticles
  • ๐Ÿ“ค๏ธReplies
  • ๐Ÿ’ฌStatus
  • ๐Ÿ”–๏ธ๏ธBookmarks
  • ๐Ÿ—บCheckins
  • ๐Ÿ“…The Week
  • ๐Ÿ–ฅTech
  • ๐ŸŒฒSustainability
  • ๐ŸƒRunning
  • ๐Ÿง Thoughts
  • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
  • ๐Ÿ’กTIL
  • โ›ฐTanzawa
  • ๐ŸกHome
  • โœ๏ธArticles
  • ๐Ÿ“ค๏ธReplies
  • ๐Ÿ’ฌStatus
  • ๐Ÿ”–๏ธ๏ธBookmarks
  • ๐Ÿ—บCheckins
  • ๐Ÿ“…The Week
  • ๐Ÿ–ฅTech
  • ๐ŸŒฒSustainability
  • ๐ŸƒRunning
  • ๐Ÿง Thoughts
  • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
  • ๐Ÿ’กTIL
  • โ›ฐTanzawa
  • Thinking about Bookmarks & Replies

    Feb 24, 2021
    by James
    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.
    ๐Ÿ”—permalink 1 interaction
  • Feb 23, 2021
    by James
    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
    ๐Ÿ”—permalink 3 interactions
  • Checkin to ใƒ•ใƒฉใƒฏใƒผใƒฉใƒณใƒ‰

    ใƒ•ใƒฉใƒฏใƒผใƒฉใƒณใƒ‰ 35.62562990307474 139.6245317509564
    Feb 23, 2021
    by James
    in Tokyo, Tokyo, Japan
    ไธ€ๅนดใถใ‚Šใฎๆฑไบฌใ€่ปŠใงใใŸใ€‚
    2021-04-21T00:06:02.jpg 762.64 KB
    ๐Ÿ”—permalink 7 interactions
  • Feb 23, 2021
    by James
    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.
    ๐Ÿ”—permalink
  • The Week #33

    Feb 23, 2021
    by James


    • 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.


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

    Chigasaki Satoyama Park (่Œ…ใƒถๅดŽ้‡Œๅฑฑๅ…ฌๅœ’) 35.37383865926854 139.4182412914784
    Feb 22, 2021
    by James
    in Chigasaki, Kanagawa, Japan
    Setup base for the day.
    2021-04-21T00:06:08.jpg 886.58 KB
    ๐Ÿ”—permalink 5 interactions
  • Feb 22, 2021
    by James
    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
    ๐Ÿ”—permalink 4 interactions
  • Feb 21, 2021
    by James

    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.

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

    ไบŒไฟฃๅทไบŒไธ็›ฎๅ…ฌๅœ’ 35.460278 139.53513
    Feb 21, 2021
    by James
    in Yokohama, Kanagawa, Japan

    Watching the bullet train



    ๐Ÿ”—permalink
  • Feb 21, 2021
    by James
    I've started working articles with Tanzawa. Fundamentally they're the same as notes, except they have a name. Authoring an article looks much the same as a status.

    Authoring an article in Tanzawa


    Viewing an article on Tanzawa adds a title to the top. I also revisited the "byline" and made it italic. I've added light gray border to the footer of the post so you can visually tell when a post ends. The main post list view also has been updated to use this same color.

    An article in Tanzawa


    Once I add some tests to confirm that micropub is assigning post kinds properly I think I can ship article support. Once shipped, I may modify my publishing schedule from "at least one post a day everyday" to a weekly round upย  plus a status note or two as I have work to share.
    ๐Ÿ”—permalink
Previous 160 of 364 Next
Reply by email
Powered by
๐Ÿ”Tanzawa

โ† An IndieWeb Webring ๐Ÿ•ธ๐Ÿ’โ†’
Photo of James Van Dyne James Van Dyne Japan

Web developer living in Japan.