Skip to content

refactor(ui): fix the unused-vars and no-v-html findings of the dashboard - #1239

Merged
TheMeinerLP merged 1 commit into
mainfrom
refactor/ui-unused-vars
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
refactor/ui-unused-vars

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

Task 4.3.9 of migrate-dashboard-to-typescript. Three suppressions of the dashboard lint baseline are gone, and the dashboard behaves exactly as before.

  • An unused type import in a test is removed.
  • The delete callback of a file row is now a named function type, so the lint rule stops reading its parameter name as an unused variable.
  • The hero description is operator-set markup from the instance settings; the one v-html stays and says why next to it.

Type of change

  • refactor - internal change without behaviour change

How was this tested?

  • npm run eslint, npm run typecheck in reposilite-frontend
  • npx vitest run --maxWorkers=2: 7345 passed, plus src/anchors and src/style-gate

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md
  • Tests cover the change, or the change is not testable and I explained why above (lint-only change, covered by the existing suite)
  • ./gradlew build passes locally (frontend only change)
  • Documentation and configuration samples are updated if the change is user-facing (not user-facing)
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

…oard

Three lint suppressions of the dashboard no longer hide anything: an
unused type import in a test, a function type whose parameter name the
base rule flags, and the one v-html, which now carries its reason.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 0afdb5e Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the refactor/ui-unused-vars branch November 23, 2026 06:40
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