Repository navigation
feat(ui): improve review feedback and extend workspace settings - #9
Conversation
No blocking issues foundCommit: be8da54 The change adds review readiness feedback, latest-review navigation, dashboard snapshots, findings cards, repository links, and settings extensions. No definite defect or embedded secret was found in the supplied text. The replaced core archive has no readable diff, so its behavior and secret exposure remain unassessed. Change vs. PR intent: Aligned. The visible changes implement the stated dashboard feedback, stale-review navigation, findings layout, repository navigation, and settings extension points. ScoresCode quality █████ 5/5 Security █████ 5/5 Stale-review readiness and navigationflowchart LR
n0["Fetch live PR and review readiness"]
n1["Stale review blocks fix submission"]
n2["Show scheduling blocker or review progress"]
n3["Latest review reaches a terminal status"]
n4["Verify PR identity and open latest review"]
n0 -->|"Reviewed commit is outdated"| n1
n1 -->|"Latest review is not ready"| n2
n2 -->|"Recheck after 15 seconds"| n0
n1 -->|"Latest review is completed, failed, or cancelled"| n3
n3 -->|"Select View latest review"| n4
No findings on the changed lines. View the full report in Inkspect Reviewed by Inkspect · engine v0.0.40 |
| if (!organizationId) return; | ||
| // The server snapshot already supplies the first render. Refresh only when | ||
| // finding changes or realtime events invalidate it. | ||
| if (initialOverview && revision === 0) return; |
There was a problem hiding this comment.
P2 · Bootstrap realtime metadata when the initial snapshot omits it
InitialReviewOverview explicitly permits realtime_channel to be absent. In that supported case, channel starts empty and this unconditional snapshot shortcut skips the request that could populate it. The realtime effect cannot subscribe, so new review events cannot invalidate the snapshot. Unless a finding-status event occurs, the dashboard can remain on its initial data.
Suggested fix
Keep the initial ready render, but perform a bootstrap request when the snapshot has no realtime channel. Alternatively, require subscription metadata in the initial snapshot contract.
Verification
Mount DashboardOverview with an initial snapshot that omits realtime_channel. Mock the overview response with a channel, then publish a review event and confirm the overview refreshes without a finding-status change.
Comment @inkspectsi review again after pushing your changes to request another review.
Surface review scheduling and fix readiness in the dashboard, and link stale reviews to the current PR head. Update the findings layout and repository navigation. Allow hosts to extend account and workspace settings.