stefanvanburen / buftui

TUI for the Buf Schema Registry
https://buf.build/bufbuild/registry
1 stars 0 forks source link

Module view tabs #23

Open stefanvanburen opened 3 months ago

stefanvanburen commented 3 months ago

A module on the BSR already has a few tabs that would probably be good to include in our view:

stefanvanburen commented 3 weeks ago

"Docs" should also use https://github.com/charmbracelet/glamour as the renderer for the README file.

stefanvanburen commented 3 weeks ago

Deps will probably print out a simple text graph representation of the output (example: https://buf.build/envoyproxy/envoy/deps), and maybe if we can detect the terminal supporting e.g. the kitty graphics protocol + graphviz installed, "progressively enhance" to an SVG rendering?

stefanvanburen commented 3 weeks ago

There's not a current "tabs" bubble (based on https://github.com/charmbracelet/bubbles/issues/194), but they link out to an example tab component.

One trick with tabs is that things become "more" modal, e.g. how do you switch between tabs? (tab + shift-tab?)