9 Commits

Author SHA1 Message Date
vaibhav
0eadc7b502 Refactor sidebar component to use struct
This commit refactors the sidebar component to use a struct for better
organization and maintainability. The `data` and `sindex` fields are now
exported as `Data` and `Sindex` respectively, allowing for easier access
and modification. Additionally, the styling for the selected sidebar
item has been updated for improved visual clarity.
2026-01-18 04:02:17 +05:30
vaibhav
1f413157ef Add basic navigation to sidebar 2026-01-16 04:16:37 +05:30
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
00590c569c Remove unused player executable 2026-01-14 11:51:41 +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
aadbc0541e Initial commit 2026-01-13 10:44:36 +00:00