Repository navigation
refactor(ui): fix the unsafe-assignment findings of the dashboard, repository and settings tests - #1275
Merged
Conversation
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 23, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 23, 2026
…pository and settings tests The mounted wrappers, the route components and the JSON Forms renderer lists of these specs came from untyped imports, so the linter could not follow what they were assigned. Cast them to the types they really have (VueWrapper, Component, RankedTester, the renderer registry entry) and drop the 38 matching suppressions. No production code is touched. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
TheMeinerLP
force-pushed
the
refactor/ts-unsafe-assignment-dashboard-tests
branch
from
November 23, 2026 09:49
34a6e2e to
65844b2
Compare
TheMeinerLP
deleted the
refactor/ts-unsafe-assignment-dashboard-tests
branch
November 23, 2026 10:05
6 of 7 tasks
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.
Description
Part of task 4.3.2 of migrate-dashboard-to-typescript. The tests of the dashboard, header, overview, repositories, settings and pages folders still carried 38 suppressed
no-unsafe-assignmentfindings. They came from mounted components, route components and renderer lists whose imports the linter sees as untyped. The specs now state the types those values really have, so the findings are fixed instead of hidden, and the matching entries are gone fromeslint-suppressions.json. Only test files change; no production code and no behaviour.Type of change
refactor- internal change without behaviour changeHow was this tested?
In
reposilite-frontend, through the slot runner:npm run eslintover the whole frontend: clean, no new suppressionsnpm run typecheck: cleansrc/anchorsandsrc/style-gate: 112 files, 1779 tests passedChecklist
CLAUDE.md./gradlew buildpasses locally (frontend only change, not run)