4 ms·
Show HN: Tool to turn your HTML into a collapsible tree
- deleted 12y ago[deleted]
- vladikoff 12y agoCool! Can't scroll right though? :(
- ChrisNorstrom 12y agoNice project. Very smooth. You should make a todo list app out of this. The tree layout would make it very easy to organize projects and tasks. One thing: you should increase the minimum size of the smallest sized clickable circles. They're hard to click on to expand.
- peterbe 12y agoA minimum is coming. I have a friend and colleague who's hopefully going to help me make the area of the circles be proportional to the size instead of the radius. Then we'll give it a minimum.
- mmun 12y agoJust take the radius to be the square root of the size and then multiply it by a suitable scaling constant. This will ensure that the area, which is proportional to the square of the radius, remains proportional to the size.
- zebra 12y agoTree based todo list: http://todo.yt http://todo.yt
- ChrisNorstrom 12y agoWoah thank you. Did you make this? My only problem is that when I check off a task the loading icon stays up forever.
- leeoniya 12y agonice, i'd prefer more to be unfolded from the get-go. maybe 3 levels
- peterbe 12y agoI kinda like the idea of starting gently so you can see what's going on.
- gisenberg 12y agoEntered http://www.google.com http://www.google.com, got infinite loading spinner.
- peterbe 12y agoWorked now http://htmltree.peterbe.com/?url=www.google.com http://htmltree.peterbe.com/?url=www.google.com Could have just been a dead squirrel in the pipes. All cleared.
- kitwalker12 12y agosmooth. Though, for some reason it couldn't parse my top-level address. Worked fine if I provided a second level URL
- peterbe 12y agoWhat was the URL so I can debug?
- kitwalker12 12y agoI checked again. It's working now.
- joeheyming 12y agoI thought this was very meta: http://htmltree.peterbe.com/?url=htmltree.peterbe.com http://htmltree.peterbe.com/?url=htmltree.peterbe.com
- vram22 12y agoDid you mean recursive? https://www.google.co.in/search?q=recursion https://www.google.co.in/search?q=recursion :)
- gamegoblin 12y agoThis perfectly illustrates the table-hell the hackernews is designed on.
- karangoeluw 12y agoMake this go into the shadow DOM too. http://htmltree.peterbe.com/?url=http:%2F%2Fkaran.github.io%2Fx-meme%2Fcomponents%2Fx-meme%2Fdemo.html http://htmltree.peterbe.com/?url=http:%2F%2Fkaran.github.io%...
- diasks2 12y agoNeat idea. At first it wasn't completely obvious to me that you could click on a node to expand it. You might want to add just a little bit of text to help people out there. Additionally, it seems that as the graph spreads to the right it disappears outside of the div and I can't find any way to click or scroll to keep following it horizontally.