Skip to content

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • fix code markdown rendering in copilot & table to match codeeditor and table to be more consistent with the rest of the components in the project

Type of Change

  • New feature

Testing

Pure UI enhancements, tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link

vercel bot commented Nov 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
docs Skipped Skipped Nov 19, 2025 2:02am

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Nov 19, 2025

Greptile Summary

  • Standardized code block rendering by replacing custom implementation with shared Code.Viewer component for consistent syntax highlighting across the application
  • Updated inline tool call tables to use semantic HTML table elements instead of CSS grid for better structure and maintainability

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • Pure UI refactoring that improves consistency by using shared components. No logic changes, no API modifications, and follows established patterns in the codebase. The changes align with the architectural principle of composition and code reuse.
  • No files require special attention

Sequence Diagram

sequenceDiagram
    participant User
    participant Copilot
    participant MarkdownRenderer
    participant CodeViewer
    
    User->>Copilot: "Send message with code"
    Copilot->>MarkdownRenderer: "Render markdown content"
    MarkdownRenderer->>MarkdownRenderer: "Parse markdown with remarkGfm"
    MarkdownRenderer->>CodeViewer: "Render code block with Code.Viewer"
    CodeViewer->>CodeViewer: "Apply syntax highlighting"
    CodeViewer-->>User: "Display formatted code with gutter"
Loading

Copy link
Contributor

@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.

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format

@waleedlatif1 waleedlatif1 merged commit 2608f2f into staging Nov 19, 2025
9 checks passed
@waleedlatif1 waleedlatif1 deleted the fix/copilot-ui branch November 19, 2025 02:06
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.

2 participants