feat(#268): display enrichment progress in full_techniques mode#271
feat(#268): display enrichment progress in full_techniques mode#271
Conversation
- Add enrichment SSE event types to SSEEventType union - Add enrichment state tracking (phase, message, status per step) - Handle enrichment_start/complete/error events in reducer - Add 'enrichment' stage to currentStage - Add enrichment status indicator to ProgressTopBar - Update FullTechniquesProgress to show enrichment stage messaging Closes #268
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary of ChangesHello @ComBba, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the user experience in Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request successfully implements the display of enrichment progress in the full_techniques mode. The changes introduce new types for enrichment phases and statuses, integrate these into the state management, and update the UI components (ProgressTopBar.tsx and FullTechniquesProgress.tsx) to reflect the current enrichment status. The logic for transitioning between enrichment and technique evaluation stages is well-handled, ensuring a smoother user experience by providing visibility into the pre-evaluation phase. The code is clean and adheres to the project's structure.
…ess-ui feat(#268): display enrichment progress in full_techniques mode
Summary
Resolves #268
Problem
In
full_techniquesmode, the backend emits enrichment events (enrichment_start,enrichment_complete,enrichment_error) for three phases:code_analysis,rag, andweb_search. However, the frontend completely ignored these events, leaving users with no visibility into this critical pre-evaluation phase.Changes
Types (
types/index.ts)enrichment_start,enrichment_complete,enrichment_errortoSSEEventTypeState Management (
useFullTechniquesStream.ts)EnrichmentPhaseandEnrichmentStepStatustypesenrichmentPhase,enrichmentMessage,enrichmentStatusto state'enrichment'tocurrentStageunion typeenrichment_start/complete/errorevents in reducerUI (
ProgressTopBar.tsx,FullTechniquesProgress.tsx)Visual Design
During enrichment phase, the ProgressTopBar shows:
Status transitions:
⏳ Analyzing code...(code_analysis running)⏳ Building context...(rag running)⏳ Searching web...(web_search running)Testing
Checklist