8000 feat(settings): add a review language selector by redoh · Pull Request #22 · inkspect-code-review/inkspect-ui · GitHub
[go: up one dir, main page]

Skip to content

feat(settings): add a review language selector - #22

Merged
redoh merged 1 commit into
mainfrom
feat/workspace-review-language
Nov 29, 2026
Merged

redoh merged 1 commit into
mainfrom
feat/workspace-review-language

Conversation

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

What changes and why?

Add a Review language selector under Settings → Workspace → Automatic reviews. Owners and admins can choose English or Match pull request language. The control saves through the existing review settings endpoint and shows the saved choice to workspace members.

Validation

The source audit, all 35 automated tests and the production build passed. The built dashboard also passed the self-hosted HTTP runtime smoke test.

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

No blocking issues found

Commit: be379be

The change adds a review language selector and extends the shared settings type with its two supported values. The selector displays the saved value, respects management permissions and busy state, and calls the existing save handler. No blocking issues or embedded secrets were found in the changed source.

Change vs. PR intent: Aligned. The changed code adds both requested language choices and connects selection changes to the existing review settings save path.

Scores

Area Score Rationale
Code quality █████ 5/5 The selector reuses an existing UI component, validates supported values, and extends the shared settings type consistently.
Security █████ 5/5 The changed source contains no embedded secrets and disables editing when management permission is absent or settings are busy.

Review language selection

flowchart TD
    n0["Display saved language or English fallback"]
    n1["Select a language when editing is enabled"]
    n2{"Supported value differs from saved value?"}:::decision
    n3["Call existing settings change handler"]
    n0 -->|"Choose option"| n1
    n1 -->|"Value change"| n2
    n2 -->|"Yes"| n3
    n2 -->|"No"| n0
    classDef decision fill:#fff1c2,stroke:#956300,color:#382600
Loading

No findings on the changed lines.

Code-focused review. 1 documentation or validation file(s) were searched for supporting excerpts.

View the full report in Inkspect


Reviewed by Inkspect · engine v0.0.76

@redoh
redoh merged commit 72c5bc2 into main Nov 29, 2026
4 checks passed
@redoh
redoh deleted the feat/workspace-review-language branch November 29, 2026 04:14
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