8000 feat(ui): improve review feedback and extend workspace settings by redoh · Pull Request #9 · inkspect-code-review/inkspect-ui · GitHub
[go: up one dir, main page]

Skip to content

feat(ui): improve review feedback and extend workspace settings - #9

Merged
redoh merged 2 commits into
mainfrom
feat/dashboard-and-review-settings
Nov 20, 2026
Merged

redoh merged 2 commits into
mainfrom
feat/dashboard-and-review-settings

Conversation

@redoh
@redoh redoh commented Nov 20, 2026
Copy link
Copy Markdown
Contributor

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.

@inkspectsi
inkspectsi Bot commented Nov 20, 2026 •
Copy link
Copy Markdown

No blocking issues found

Commit: 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.

Scores

Code quality █████ 5/5
The visible changes separate readiness and error handling into testable helpers and add focused regression coverage.

Security █████ 5/5
The supplied text shows no embedded secrets or definite new security flaws, but the changed core archive requires separate inspection.

Stale-review readiness and navigation

flowchart 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
Loading

No findings on the changed lines.

View the full report in Inkspect


Reviewed by Inkspect · engine v0.0.40

Comment thread src/components/dashboard-overview.tsx Outdated
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;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@redoh redoh changed the title Improve review feedback and extend workspace settings feat(ui): improve review feedback and extend workspace settings Nov 20, 2026
@redoh
redoh merged commit e5f8a65 into main Nov 20, 2026
4 checks passed
@redoh
redoh deleted the feat/dashboard-and-review-settings branch November 20, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0