Repository navigation
feat(settings): add a review language selector - #22
Merged
Merged
Conversation
No blocking issues foundCommit: 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
Review language selectionflowchart 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
No findings on the changed lines.
View the full report in Inkspect Reviewed by Inkspect · engine v0.0.76 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.