Repository navigation
Refine desktop pull request views - #865
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
PR Summary by QodoRefine desktop pull request navigation and status views
AI Description
Diagram
High-Level Assessment
Files changed (18)
|
Code Review by Qodo
1. New view model split breaks naming
|
|
|
||
| namespace Capacitor.App.ViewModels; | ||
|
|
||
| public sealed partial class PullRequestContextViewModel { |
There was a problem hiding this comment.
1. New view model split breaks naming 📘 Rule violation ⚙ Maintainability
PullRequestContextViewModel.Presentation.cs declares PullRequestContextViewModel as its sole top-level type instead of naming the file exactly after that type. Because the new partial file adds .Presentation to the type name, file-based navigation and later changes must account for another exception to the repository's one-type naming convention.
Agent Prompt
## Issue description
The new presentation partial declares `PullRequestContextViewModel` in a file whose name does not exactly match the primary type.
## Fix Focus Areas
- src/Capacitor.App/ViewModels/PullRequestContextViewModel.Presentation.cs[1-83]
## Recommended Fix
Move the presentation members into `PullRequestContextViewModel.cs` so the file containing the primary declaration is named exactly after the type, then remove the mismatched partial file.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Closes #860 — AI-2686
What & why
Make the desktop PR sidebar and reader easier to scan with compact status rows, underlined navigation, and dedicated reviewer, check, and discussion layouts. Status actions open the matching reader section, while native Markdown, thread replies, paging, and access protections remain available.
Where to look
Checks show exact counts only for a complete, recent snapshot of the current head. Repeated issue details collapse into an inline link; the sidebar is 320px wide.
Verification
dotnet build test/Capacitor.App.Tests.Unit/Capacitor.App.Tests.Unit.csproj --no-incremental— 0 warnings, 0 errors.dotnet run --project test/Capacitor.App.Tests.Unit/Capacitor.App.Tests.Unit.csproj --no-build --no-restore— 1,660 passed on retry; initial test host exited with SIGSEGV.bash scripts/check-linear-ids.shandgit diff --check— passed.