Skip to content

Conversation

@shuv1337
Copy link
Collaborator

@shuv1337 shuv1337 commented Dec 26, 2025

Summary

  • Clean up completed planning documents (CONTEXT files)
  • Fix TUI prompt styling by adding top margin to mode indicator
  • Include upstream sync to v1.0.203 and various desktop/TUI improvements

Greptile Summary

This PR merges shuvcode-dev into integration, syncing to upstream v1.0.203 and consolidating various desktop/TUI improvements.

Key Changes:

  • TUI improvements: Added top margin to prompt mode indicator for better visual spacing
  • Session context UI refinement: Repositioned context usage indicator to top-right of input field, simplified display to show only progress circle (percentage text now commented out)
  • LSP enhancements: Fixed Windows config path (config_windowsconfig_win) for Java LSP, added Haskell Language Server support with .lhs extension
  • Session UX: Added auto-scroll to active session, pulse animation for working sessions, and keybind hints in tooltips
  • New UI component: Added comprehensive RadioGroup component with Kobalte integration
  • Markdown processing: Removed strip() function that was removing outer HTML tags
  • Cleanup: Removed completed planning documents (CONTEXT files)

Minor Issue:

  • Commented code in session-context-usage.tsx (line 57) should be removed if no longer needed

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • All changes are well-structured improvements and bug fixes: TUI styling enhancement is a simple CSS change, LSP fixes address platform compatibility, new RadioGroup component follows established patterns with comprehensive styling, session UX improvements enhance usability without breaking changes, and markdown processing simplification removes unnecessary logic. Only one minor style suggestion for commented code cleanup.
  • No files require special attention

Important Files Changed

Filename Overview
packages/ui/src/components/radio-group.tsx New RadioGroup component using Kobalte with proper type safety and styling
packages/app/src/components/session-context-usage.tsx Improved tooltip layout and visual hierarchy, removed openDelay, commented out percentage text
packages/opencode/src/lsp/server.ts Fixed Windows config path and added Haskell Language Server support
packages/app/src/pages/layout.tsx Enhanced session UX with auto-scroll, pulse animation for working sessions, keybind tooltips
packages/ui/src/components/markdown.tsx Removed strip() function that was removing outer HTML tags from markdown

Sequence Diagram

sequenceDiagram
    participant User
    participant TUI as TUI Prompt
    participant WebApp as Web App
    participant PromptInput as Prompt Input
    participant SessionContext as Session Context Usage
    participant Layout as Layout Page
    participant LSP as LSP Server
    
    Note over TUI: TUI Styling Improvements
    User->>TUI: View prompt interface
    TUI->>TUI: Render mode indicator with top margin
    
    Note over WebApp,SessionContext: Context Usage UI Repositioning
    User->>WebApp: View session
    WebApp->>PromptInput: Render input field
    PromptInput->>SessionContext: Position at top-right
    SessionContext->>SessionContext: Show progress circle only
    SessionContext->>User: Display tooltip on hover
    
    Note over Layout: Session Management Enhancements
    User->>Layout: Navigate to session
    Layout->>Layout: Expand project directory
    Layout->>Layout: Scroll to active session
    Layout->>Layout: Show pulse animation for working session
    Layout->>User: Display keybind hints in tooltips
    
    Note over LSP: LSP Server Improvements
    User->>LSP: Open Haskell file (.hs/.lhs)
    LSP->>LSP: Spawn haskell-language-server
    LSP->>User: Provide language intelligence
    
    User->>LSP: Open Java file on Windows
    LSP->>LSP: Load config_win (fixed path)
    LSP->>User: Provide Java language support
Loading

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

34 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

<span class="text-12-medium text-text-weak">{`${ctx().percentage ?? 0}%`}</span>
<div class="flex items-center gap-1.5">
<ProgressCircle size={16} strokeWidth={2} percentage={ctx().percentage ?? 0} />
{/* <span class="text-12-medium text-text-weak">{`${ctx().percentage ?? 0}%`}</span> */}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: commented out percentage text display - remove entirely if no longer needed

Suggested change
{/* <span class="text-12-medium text-text-weak">{`${ctx().percentage ?? 0}%`}</span> */}
<ProgressCircle size={16} strokeWidth={2} percentage={ctx().percentage ?? 0} />

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/app/src/components/session-context-usage.tsx
Line: 57:57

Comment:
**style:** commented out percentage text display - remove entirely if no longer needed

```suggestion
            <ProgressCircle size={16} strokeWidth={2} percentage={ctx().percentage ?? 0} />
```

<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>

How can I resolve this? If you propose a fix, please make it concise.

@shuv1337 shuv1337 merged commit 410dd99 into integration Dec 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants