Size of the uplink tree - Neuron

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

felko

just noticed this: image.png
the uplink tree can get quite big

Sridhar Ratnakumar

yet another reason for a sidebar uplink tree ....

felko

Yeah I'd like a sidebar as well, I think we can use something like this https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details which doesn't require any JS

The HTML Details Element (details) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state.
Nadrieril

Why would a sidebar change anything? If we want the tree smaller we need to make its layout more compact. Maybe also allow multiline nodes for long titles

felko

i think having a sidebar tree with toggle-able nodes is better for maintaining a zettelkasten on a long term because you can have arbitrarily long titles and arbitrarily many links, and you can choose the depth of each node individually

Nadrieril

Oh, toggleable nodes is interesting indeed

EyebrowHairs

Oh I will share the layout plan I drafted that features a sidebar. The idea was that you could toggle the bar to show the index, search bar/results, and probably uplinks. image.png

EyebrowHairs

It's similar to wiki/documentation style pages! Sometimes I feel that it looks too boring/similar, but it's pretty simple and functional I guess

Sridhar Ratnakumar

I'm working on a redesign of the uplink tree. Trying to put it in the left sidebar. Would be the same 'forest' - but it is built from the mother vertices, top down.

Sridhar Ratnakumar

It would more or less be like the ZIndex tree, but built only from the "sub graph" (the backlinks tree of the zettel)

Sridhar Ratnakumar

In zettelkasten-speak, the left sidebar will tell you all the 'branching' it takes (from root/portal zettels) to get to the current zettel.

Sridhar Ratnakumar

Part of me wonders, if I should just go back to the old UI, the 'connections panel' shown in these screenshots https://neuron.zettel.page/2014601.html

Color scheme can be specified in the 2011701?cf file. Value must be one of the color names supported by SemanticUI.
Sridhar Ratnakumar

Mainly because this one is already mobile-friendly.

Sridhar Ratnakumar

The only downside is visual - the links appear below, and requires scrolling down to see them in many cases.

EyebrowHairs

I like the sidebar idea and was going to show you this for possible footnote layout: https://maggieappleton.com/neocyborgs

Maggie Appleton is an art director, anthropologist, and metaphor-making illustrator. This is her digital garden for growing visual explanations about technology, culture, and programming
EyebrowHairs

Can there be an option to show it on the bottom for mobile/smaller screens? Like being responsive?

EyebrowHairs

Or maybe a 'swipe left/right to see the menu' sort of thing?

maralorn

The big advantage of the current design in contrast to the former is, in my opinion, that it is visually clear, what the semantics are. I like it very much because of this. In the old design I always had to stare at the bottom panel for a while to figure out, what it is actually telling me about the position of the graph I am in. A simple revert would be really unfortunate.

maralorn

I am not against a redesign per se, but it needs to be well thought through to be an actual improvement on the current situation.

TheMatten

Personally I would like tree that sort of "fades out" on edges, giving me the rough idea of connections to other zettels - when clicked on, it could e.g. open page with complete tree view, or even turn into zoomable draggable "tree map" if that isn't too fancy to put together :slight_smile:

Sridhar Ratnakumar

it needs to be well thought through to be an actual improvement on the current situation.

I agree on that.

On problem with the current design is that portal zettels with multiple children appear only on top of one of those children. But that's an issue with bfs/dfsForest algorithm itself, and there is nothing we can do about it without figuring out more general graph layout with tree shape.

Sridhar Ratnakumar

I see no obvious solution. So i'll defer this for future.

Sridhar Ratnakumar

We could have all clusters, each of them displaying their portal zettels (mother vertices of the graph)

Sridhar Ratnakumar

We get 'free navigation sidebar' for documentation like sites too, cf. https://nix.dev/anti-patterns/language.html

Sridhar Ratnakumar

Uptree is not suited for left sidebar though (conceptually). BUT ... we can come up with a new concept ... "navigation tree".

Sridhar Ratnakumar

Both uptree/navigation-tree can be generated from folgezettel graph/links.