Repository navigation
feat(cli): rich table for tags, fzf preview for select (#773) - #795
Conversation
Replace manual column alignment in tags command with rich Table. Add fzf --preview showing provider/date/title/ID in select verb. List and completions already used rich/theme consistently. Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ 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. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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. Review rate limit: 0/1 reviews remaining, refill in 28 minutes and 11 seconds.Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6e7751d31c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR updates CLI output/UX for tag listing and conversation selection by adopting richer terminal rendering and adding an fzf preview for selection.
Changes:
- Add an fzf preview panel for conversation selection showing provider/date/title/ID.
- Replace manual tag column alignment with a Rich
Tablerender.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| polylogue/cli/select.py | Changes fzf input formatting and adds a new preview property used for fzf preview output. |
| polylogue/cli/commands/tags.py | Switches tag listing output from manual spacing to Rich table rendering. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @property | ||
| def preview(self) -> str: | ||
| date = self.date or "unknown" | ||
| return f"Provider: {self.provider}\nDate: {date}\nTitle: {self.title}\nID: {self.conversation_id}" |
| @property | ||
| def label(self) -> str: | ||
| date = self.date or "unknown" | ||
| return f"{self.provider} | {date} | {self.title} | {self.conversation_id}" | ||
| return f"{self.provider} | {date} | {self.title}" |
| def _fzf_input(rows: list[SelectConversationRow]) -> str: | ||
| return "\n".join(f"{row.conversation_id}\t{row.label}" for row in rows) | ||
| return "\n".join(f"{row.conversation_id}\t{row.label}\t{row.preview}" for row in rows) |
| def _fzf_input(rows: list[SelectConversationRow]) -> str: | ||
| return "\n".join(f"{row.conversation_id}\t{row.label}" for row in rows) | ||
| return "\n".join(f"{row.conversation_id}\t{row.label}\t{row.preview}" for row in rows) |
| console = Console() | ||
| table = Table(title=f"Tags ({provider or 'all providers'}, {len(tags)} total)") |
| from rich.console import Console | ||
| from rich.table import Table | ||
|
|
||
| console = Console() | ||
| table = Table(title=f"Tags ({provider or 'all providers'}, {len(tags)} total)") |
Replace manual column alignment in tags with rich Table. Add fzf preview showing provider/date/title/ID. Co-authored-by: Claude Opus 4.7 <[email protected]>
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Replace manual column alignment in tags with rich Table. Add fzf preview showing provider/date/title/ID.