Revert "π¨ Redesign PopoverMainView β unified scrollable actions list (issue #294)"#312
Conversation
β¦(issue #β¦" This reverts commit 2aa5e95.
|
Skipping CodeAnt AI review β this PR is a revert. The diff is the inverse of code that was previously reviewed and merged, so a fresh review typically adds no signal. If you want CodeAnt to double-check the revert, comment |
|
Caution Review failedThe pull request is closed. βΉοΈ Recent review infoβοΈ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: π Files selected for processing (2)
π WalkthroughWalkthrough
ChangesUI Consolidation & Pagination Removal
Estimated code review effortπ― 3 (Moderate) | β±οΈ ~20 minutes Possibly related issues
Possibly related PRs
Suggested labels
Poem
β¨ Finishing Touchesπ Generate docstrings
π§ͺ Generate unit tests (beta)
Comment |
Review Summary by QodoRevert PopoverMainView redesign to restore stable layout
WalkthroughsDescriptionβ’ Reverts PR #309 redesign that introduced regressions β’ Restores inline popover layout with system stats, actions, jobs sections β’ Removes complex action expansion/pagination logic β’ Consolidates subview components back into main file Diagramflowchart LR
A["PR #309 Redesign<br/>with ScrollView"] -->|Revert| B["Inline Layout<br/>with Sections"]
B --> C["System Stats"]
B --> D["Actions List"]
B --> E["Active Jobs"]
B --> F["Quit Button"]
File Changes1. Sources/RunnerBar/PopoverMainView.swift
|
Code Review by Qodo
1. Undefined systemStats.start()
|
|
| .onAppear { | ||
| isAuthenticated = (githubToken() != nil) | ||
| systemStats.start() | ||
| } |
There was a problem hiding this comment.
1. Undefined systemstats.start() π Bug β‘ Correctness
PopoverMainView calls systemStats.start(), but SystemStatsViewModel does not define a start() method, causing a compilation failure. This blocks the app from building.
Agent Prompt
### Issue description
`PopoverMainView` calls `systemStats.start()`, but `SystemStatsViewModel` has no `start()` method, which will fail compilation.
### Issue Context
`SystemStatsViewModel` currently creates its repeating `Timer` in `init()`. You can either (a) add a `start()` API (and likely move timer creation out of `init()`), or (b) remove the call to `start()` and rely on `init()` (not recommended because it keeps polling even when popover is closed).
### Fix Focus Areas
- Sources/RunnerBar/PopoverMainView.swift[172-176]
- Sources/RunnerBar/SystemStats.swift[70-86]
β Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Reverts #309
Summary by CodeRabbit