refactor(tui): fold structure blocks to tags in read mode - #134
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan includes up to 3 reviews per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughReading mode now emits individual structure markers in dialogue order and omits their payloads. Markdown no longer detects fold summaries. Content mode labels and help text now use ChangesReading-mode content
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to Read mode now shows structure tags while raw mode retains full blocks, with updated tests and checks passing; no actionable merge-blocking risk remains. Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Deploying sivtr with
|
| Latest commit: |
7380125
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://84f5f7e2.sivtr.pages.dev |
| Branch Preview URL: | https://tui-content-mode-unify.sivtr.pages.dev |
6aeeee1 to
f64b4cd
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f64b4cd7eb
ℹ️ 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".
f64b4cd to
9a7622d
Compare
Read mode now collapses every structure part to its <:...:> tag line (<:tool:Bash call:>, <:thinking:>, ...) instead of a plain channel summary (tools: Bash x2) and instead of the full payload. Raw mode keeps the complete block. Both modes render the tags with the same gray style. Deletes the channel-summary fold machinery and its dead styling; content labels become read/raw.
9a7622d to
7380125
Compare
605eb18 to
7380125
Compare
|
@CodeRabbit review |
|
Purpose
Read mode now collapses every structure part to its <:…:>\ tag line (<:tool:Bash call:>, <:thinking:>, …) instead of a plain channel summary (\ ools: Bash x2). Raw mode keeps the complete block. Both modes render the tags with the same gray style — read and raw share styling, not content.
Changes
ead\ /
aw.
Validation
Summary by CodeRabbit