You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, I think it should be easier to go from buftui → the BSR UI, because I doubt buftui will ever be as fully-featured as the actual UI, and while it's nice to browse about in the TUI a user will ultimately end up in a situation where they want to get to the analogous view in the UI. There's a few things we can do to make this easier:
Most views should support an o (open) action that uses the browser package to open the most relevant URL to the view at that time. (edit: split off to Add "Open Browser" support #73)
We may also want to support something like a y (yank), l (link), or c (copy) verb to just copy the URL to the clipboard instead; I lean towards y since it's less likely to clash with other verbs, but maybe not.
Lastly, it'd be nice if the TUI supported OSC 8 hyperlinks for things, although I'm a little fuzzier on this; if we did this, we'd remove the ability for mouse clicks to do things withinbuftui (e.g. clicking on a table row opens the row). Maybe just for things like headings, but that'd mean we'd probably want to also change our headings to at least vaguely look like links or references for discoverability (think changing Modules (Owner: xyz) → buf.build/<xyz> and that link opening https://buf.build/<xyz>).
Ideally we'd be able to introspect the format of the strings from the
protobuf files, but for now just hardcode the length.
This is a shortcut for introducing proper terminal clipboard support
(see #9).
In general, I think it should be easier to go from
buftui
→ the BSR UI, because I doubtbuftui
will ever be as fully-featured as the actual UI, and while it's nice to browse about in the TUI a user will ultimately end up in a situation where they want to get to the analogous view in the UI. There's a few things we can do to make this easier:Most views should support an(edit: split off to Add "Open Browser" support #73)o
(open
) action that uses thebrowser
package to open the most relevant URL to the view at that time.y
(yank
),l
(link
), orc
(copy
) verb to just copy the URL to the clipboard instead; I lean towardsy
since it's less likely to clash with other verbs, but maybe not.buftui
(e.g. clicking on a table row opens the row). Maybe just for things like headings, but that'd mean we'd probably want to also change our headings to at least vaguely look like links or references for discoverability (think changingModules (Owner:
xyz)
→buf.build/<xyz>
and that link openinghttps://buf.build/<xyz>
).lipgloss
The text was updated successfully, but these errors were encountered: