Christian Rocha
Christian Rocha
Thanks for the PR. The functionality makes sense, and your implementation seems good, though I have a couple concerns. The first is that this will always append to a new...
@mrusme iirc, yes. you'll want to wrap your text with something like: ```go str := lipgloss.NewStyle().Width(width).Render(content) model.SetContent(str) ```
Hey, @nicolasparada! Just to get a better understanding, what's the benefit in your case to using the list bubble to render a table versus making one from scratch. Pagination?
It would be nice to make a proper table bubble, though it totally makes sense as to why you're using the list here for now. On that note, it might...
This is a good start! If I read correctly, this should be considered a work-in-progress, correct?
I haven't tested it yet, but the code looks pretty good! I agree with making the weekday naming editable. There's a keybinding bubble you can use for keybinding definitions ([example](https://github.com/charmbracelet/bubbles#key))....
Hi! Tables are pretty simple in Bubble Tea since they're just strings. Here's some [example code](https://github.com/charmbracelet/bubbletea/blob/master/examples/glamour/main.go) we just pushed that shows how you can render a table in a viewport...
Thanks for that. Glamour actually uses olekukonko/tablewriter but with custom glyphs for borders. [Here’s the implementation](https://github.com/charmbracelet/glamour/blob/8d4e3f0692f80267a1896eb53455c024865c729b/ansi/table.go#L58) and [here are the glyphs](https://github.com/charmbracelet/glamour/blob/master/styles/dark.json#L183). Anyway, I'll let you know when we build a...
Yeah, it's very possible to build something like that with Bubble Tea. I'd put the file listing in a viewport component so it can scroll. [Modu](https://github.com/KimMachineGun/modu) is a good reference...