bubbleboxer ๐ฅ - compose bubbles into boxes ๐ฆ
December 17, 2022 ยท View on GitHub
A way to compose multiple bubbles into one layout.
To layout the bubbles with bubbleboxer, one would construct a layout-tree ๐ฒ. Each node holds a arbitrary amount of children as well as the orientation (horizontal/vertical) and the spacing of them. Each leaf is linked (via an address) to one Model which satisfies the bubbletea Model-interface. With this address one can access this Models and change them independently from the layout-tree.
1โญ>list of something โ some 0 โ a V
โ ----------------- โ status 1 โ text / \
2โ which you may โ infor- 2 โ logo / \
โ edit as you wish โ mation 4 โ even! H l5
3โ or just use it โ โ / \
4โ to display โ l2 โ l3 / \
5โ and scroll โโโโโโโโโโโโโโโโโโโโโโโ l1 V
โ Maybe here is a / \
โ note written to each / \
โ list entry, in a H l4
โ bubbles viewport. / \
โ / \
l1 โ l4 l2 l3
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
maybe a progressbar or a command input? 100%
l5
// TODO write about the need for embedding boxer into a other model and about nobordernodes beeing non recursive
LICENSE
MIT