Commit Graph

5 Commits

Author SHA1 Message Date
vaibhav
b92b173815 Add sidebar component
Introduce a new `Sidebar` component to encapsulate sidebar logic and
rendering. This component utilizes Bubble Tea and Lipgloss for UI
elements. The main application now integrates this component for
displaying sidebar content.
2026-01-16 02:05:12 +05:30
vaibhav
9dc394ad5c Add sidebar and search box layout
Introduce a `sidebarContent` field to the `model` and update the `View`
function to render a sidebar alongside the text input, creating a basic
two-pane layout.
2026-01-14 11:44:24 +05:30
vaibhav
7fa9e9b1bd Update dependencies and adjust UI
This commit updates the project's dependencies, including
`charmbracelet/bubbles`, `charmbracelet/bubbletea`, and
`charmbracelet/lipgloss`.

The UI has been adjusted to utilize `lipgloss.Place` for centering the
text input within the terminal window. It also now displays a
"loading..." message until the window size is determined. The text input
prompt has been removed to provide a cleaner interface.
2026-01-14 11:43:17 +05:30
vaibhav
761961b452 Refactor: Add text input functionality
Replaces the counter with a text input field for user interaction. This
change leverages the `textinput` bubble to provide a more interactive
experience within the TUI. The `go.mod` and `go.sum` files have been
updated to include the necessary dependency.
2026-01-14 04:13:52 +05:30
vaibhav
f06f418651 feat: Add basic counter application
This commit introduces a simple counter application using Bubble Tea. It
includes the necessary Go module files and the main application logic
for incrementing, decrementing, and quitting the application.
2026-01-13 16:27:52 +05:30