c57cca5
fix(tui): permission: increase the default width of the dialog to 80%
Click to expand commit body
and verticalize buttons on narrow screens
Ayman Bagabas
created
3ec5d01
fix(tui): editor: make sure we update the textarea after closing the editor
Ayman Bagabas
created
8e38daa
feat(tui): set the textarea value back after closing the editor
Click to expand commit body
After closing the editor, the textarea value becomes the text
that was written in the editor. This allows users to edit the text
they wrote in the editor before sending it.
Ayman Bagabas
created
b0c9517
Merge pull request #115 from charmbracelet/editor-text
Click to expand commit body
fix(tui): copy textarea value to editor on open
Kujtim Hoxha
created
0016e44
chore(tui): editor: return error on write failure
e9e938a
Merge remote-tracking branch 'origin/main' into onboarding
Kujtim Hoxha
created
dc2230b
Merge remote-tracking branch 'origin/main' into onboarding
Kujtim Hoxha
created
55a3756
Merge pull request #111 from charmbracelet/perf-filter
Click to expand commit body
Improve TUI performance with Bubbletea v2 event filtering
Raphael Amorim
created
eeeb9a0
Merge pull request #113 from charmbracelet/log-warn
Click to expand commit body
Remove Ripgrep and FZF warnings from stderr
Kujtim Hoxha
created
91b05f5
fix(tui): copy textarea value to editor on open
Ayman Bagabas
created
50e7596
feat(tui): support adding newlines in chat editor
Click to expand commit body
This adds support for inserting newlines in the chat editor using
`shift+enter` (when supported) and `ctrl+j`. This allows users to write
multi-line messages more easily, enhancing the chat experience.
Ayman Bagabas
created
c2d0d64
refactor(log): rename log initialization function for clarity
Ayman Bagabas
created
edd4996
fix(fsext): only log warnings if log is initialized
Ayman Bagabas
created
f884ff1
feat(log): add atomic check for initialization
82d7747
Improve TUI performance with Bubbletea v2 event filtering
Click to expand commit body
- Use tea.WithMouseCellMotion instead of WithMouseAllMotion to reduce event flooding
- Add MouseEventFilter to filter mouse wheel/motion events when editor is focused
- Implement debounced completion filtering (150ms) to reduce overhead during fast typing
- Add proper timer cleanup when editor loses focus
- Remove unnecessary ChatFocusedMsg handling since filter checks focus state directly
This eliminates typing lag caused by mouse scroll events while maintaining mouse functionality for navigation.
Raphael Amorim
created
134ee54
chore: allow custom providers without api key
Click to expand commit body
- allow users to setup custom providers without api keys for local
providers
- use the name of the provider in the model list
Kujtim Hoxha
created
862baeb
docs: add targeted documentation for state management
Click to expand commit body
- Document Splash interface methods for clarity
- Add comments explaining state initialization logic
- Clarify when splash goes full screen vs shared layout
- Focus on explaining 'why' without over-documenting 'what'
Kujtim Hoxha
created
bc1992f
refactor: replace magic numbers with named constants
Click to expand commit body
- Add layout constants for borders, padding, and positioning
- Add timing constant for cancel timer duration
- Improve code readability and maintainability
- Make layout calculations self-documenting
Kujtim Hoxha
created
8dff4d6
fix: add panic recovery to TUI subscription handler
Click to expand commit body
- Add panic recovery with graceful TUI shutdown to app.Subscribe method
- Ensures application doesn't crash if TUI subscription loop panics
- Logs panic details to timestamped files for debugging
- Maintains consistency with other critical goroutines in codebase