Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module view tabs #23

Open
stefanvanburen opened this issue Apr 1, 2024 · 3 comments
Open

Module view tabs #23

stefanvanburen opened this issue Apr 1, 2024 · 3 comments

Comments

@stefanvanburen
Copy link
Owner

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

  • "Docs" - README / landing view (default)
  • Code - File view
  • SDKs - Instructions for generated SDKs
  • Activity / Commits - List of commits
  • Deps - Graph visualization of dependencies
@stefanvanburen
Copy link
Owner Author

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

@stefanvanburen
Copy link
Owner Author

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
Copy link
Owner Author

There's not a current "tabs" bubble (based on charmbracelet/bubbles#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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant