Skip to content

Better assistant interaction - #318

Merged
lemoony merged 33 commits into
mainfrom
better-ai-preview
Jan 4, 2026
Merged

Better assistant interaction#318
lemoony merged 33 commits into
mainfrom
better-ai-preview

Conversation

@lemoony

@lemoony lemoony commented Dec 2, 2025

Copy link
Copy Markdown
Owner

This PR introduces a significant UI overhaul for the SnipKit Assistant, replacing the previous wizard-based workflow with a unified chat-style interface.

Key Features:

  • Unified chat interface with multiple modes (Input, Generating, ScriptReady, PostExecution)
  • Real-time execution preview with spinner and captured output
  • Modal overlays for parameter collection and save dialogs
  • Chat history preservation across interaction cycles

@codecov

codecov Bot commented Dec 2, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.95082% with 528 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.54%. Comparing base (511d98c) to head (b678825).
⚠️ Report is 46 commits behind head on main.

Files with missing lines Patch % Lines
internal/ui/execution/viewer.go 0.00% 147 Missing ⚠️
internal/ui/assistant/chat/chat_unified.go 73.26% 123 Missing and 12 partials ⚠️
internal/ui/form/parameter_modal.go 67.61% 81 Missing and 10 partials ⚠️
internal/app/app_assistant.go 82.31% 19 Missing and 10 partials ⚠️
internal/ui/assistant/chat/chat.go 72.94% 19 Missing and 4 partials ⚠️
internal/ui/assistant/chat/save_modal.go 87.42% 17 Missing and 5 partials ⚠️
internal/ui/assistant/chat/modal_helpers.go 84.88% 9 Missing and 4 partials ⚠️
internal/ui/assistant/chat/api.go 0.00% 12 Missing ⚠️
internal/ui/assistant/chat/message.go 92.89% 7 Missing and 5 partials ⚠️
internal/ui/assistant/chat/overlay.go 90.40% 8 Missing and 4 partials ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #318      +/-   ##
==========================================
+ Coverage   60.12%   61.54%   +1.42%     
==========================================
  Files         124      136      +12     
  Lines        7330     9068    +1738     
==========================================
+ Hits         4407     5581    +1174     
- Misses       2766     3281     +515     
- Partials      157      206      +49     
Flag Coverage Δ
Linux 61.40% <72.95%> (+1.45%) ⬆️
macOS 61.52% <72.95%> (+1.42%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Add support for up arrow navigation from buttons to fields, Tab cycling from
last button to first field, and right arrow key to apply path completions.
Enhance field focus behavior to always filter options and improve completion
suggestion styling. Update help text to indicate arrow key navigation support.
Remove debug log file and enhance the unified chat interface:
- Add auto-scroll to bottom when transitioning to content modes
- Enable Up/Down arrow keys for viewport scrolling in addition to PgUp/PgDown
- Update help text to reflect arrow key scrolling capabilities
- Clarify context note about history and script results
Add top margin to bottom bar for improved viewport spacing. Fix ANSI code
reset handling in overlay rendering to prevent style bleed. Extract modal
styling into reusable ModalStyle method with double border and improved
color scheme for consistency across modals.
@lemoony lemoony added the enhancement New feature or request label Jan 4, 2026
@lemoony
lemoony marked this pull request as ready for review January 4, 2026 11:24
@lemoony
lemoony merged commit 29f192a into main Jan 4, 2026
10 checks passed
@lemoony
lemoony deleted the better-ai-preview branch January 4, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant