Live data from Hacker News

Nullboard: Kanban board in a single HTML file

github.com

171–180 of 191 posts

Re: Nullboard: Kanban board in a single HTML file

#171

Earlier quoted context omitted.

Wait, so every time I make a change I need to remember to save or it's all lost? Or am I missing something?

My god this comment made me feel old. God forbid you have to remember to save your work !

At my first job, one of my responsibilities was to write the product manuals. My boss would set a timer next to me and instruct me to ctrl-S every time it went off.

Corrective action from having lost work too many times :-)

Re: Nullboard: Kanban board in a single HTML file

#172

Earlier quoted context omitted.

> construct a file in such a way that it can create an updated copy of itself and save it back to the server Is there some way to accomplish this through GitHub? Like the single html file running on GitHub.io pages can commit the changes to its repo?

You should be able to use the Smart HTTP protocol with HTTP Basic Auth ( https://git-scm.com/docs/http-protocol ) to push a locally-created commit. Forgejo supports CORS here, but I don't know whether GitHub does.

Both GitHub and GitLab have killed http basic auth https://docs.github.com/en/rest/authentication/authenticatin... https://docs.gitlab.com/ee/topics/git/troubleshooting_git.ht...

That's not to say one couldn't still do what you're describing via other headers, I'm just saying "" won't get it done

Re: Nullboard: Kanban board in a single HTML file

#173

Neat, very very well done. One observation: Kanban is all about limiting the work in progress. That’s really its foundation. WIP limit is the main means for controlling and improving overall workflow effectiveness. I would argue that boards not offering a WIP limit are not really “Kanban” boards, as they defeat the very goal of Kanban.

WIP limits are not important to me. I use my Trello boards for mental hygiene. Something comes in, I put it on the board to get it out of my head. Then, when appropriate, I go to the board, rearrange the top 5 or so items by priority, then start on the top item. Many things never get done, but they have turned out to lower priority, by definition. If I am waiting for something to happen on a current task, I put it se…

Neither to me. But it’s a matter in names: if it does not handle WIP limit it’s not a “Kanban Board”. It’s a Board, and that’s perfectly fine.

Re: Nullboard: Kanban board in a single HTML file

#174

Earlier quoted context omitted.

> Of course even if you kept it to the simple KV store interface like `localStorage` you'd need to define sync semantics and conflict resolution mechanics. It would be great to have this standardized. Custom two way syncing is a nightmare to implement correctly, and it doesn't make sense for apps to have to keep reinventing the wheel here.

It is a factor in why CRDT/OT posts and libraries get regularly upvoted on HN. A lot of us want a good, easy to use baseline. A lot of us are searching for that and/or thinking we can build that. Part of why there's always some reinventing the wheel in this space, unfortunately is that this also seems to be one of the harder problems to generalize. There's always going to be domain specifics to your models or your us…

> It is a factor in why CRDT/OT posts and libraries get regularly upvoted on HN. A lot of us want a good, easy to use baseline. A lot of us are searching for that and/or thinking we can build that.

Do you have any views on the easiest way to do two-way syncing for a web app if you want to avoid relying on propriety services, or a complex niche framework? This comes up for me every few years and I'm always disappointed there isn't a no-brainer way yet to get a 80% good enough solution.

Re: Nullboard: Kanban board in a single HTML file

#176
post #10

I really think we are as developers underusing setups like this. If you could somehow figure out a simple but effective sync between devices then that would be able to cover many use-cases. Maybe we just need an sqlite with better support for replicas? Then people have one tiny server with a bunch of sqlite’s to which the apps can sync?

Syncthing

Re: Nullboard: Kanban board in a single HTML file

#177

This is very cool. BTW, when developing single HTML file apps, instead of localStorage, one can use the HTML as the source of truth, so the user can just save/save-as to persist. I had mentioned my quick and dirty attempt at an image gallery that is a self-contained html file and some really liked the concept, if not the "app" itself: https://news.ycombinator.com/item?id=41877482

TiddlyWiki famously does this! It's a great system for what it needs to be. https://tiddlywiki.com/

Re: Nullboard: Kanban board in a single HTML file

#179

This is very cool. BTW, when developing single HTML file apps, instead of localStorage, one can use the HTML as the source of truth, so the user can just save/save-as to persist. I had mentioned my quick and dirty attempt at an image gallery that is a self-contained html file and some really liked the concept, if not the "app" itself: https://news.ycombinator.com/item?id=41877482

I like urls as source of truth. It’s beautifully deterministic

Re: Nullboard: Kanban board in a single HTML file

#180

Earlier quoted context omitted.

My bad, I should have mentioned that you should choose the option to save the complete web page. It becomes default on Firefox once you select it. Not sure about Chrome and others. It looks like this on Firefox, Windows: https://imgur.com/zNlEGgK

Great idea, as usual killed in its infancy by lacking UA UX. We even already have an API to ask the user not to close the web page, because there's unsaved work; but it wouldn't work with "Save as...", because you can't detect that, and the browser won't do it for you, even if it knows you're editing a local file. Same for all of the pointless cookie banners - they could've been UA prompts instead, putting the user i…

What is UA UX?
Post reply on HN