refactor(frontend): convert IssuesPage and platformIssues to TypeScript

What does this MR do and why?

Convert IssuesPage.vue, platformIssues.ts, and their unit test suites to TypeScript as part of the frontend TypeScript migration (&33).

This is the second and final merge request for #925 (closed), building on !3068 (merged):

  • Converted IssuesPage.vue to <script setup lang="ts">, typing reactive refs and GraphQL queries.
  • Converted platformIssues.ts to TypeScript, exporting FinderIssue.
  • Converted IssuesPage.spec.ts and platformIssues.spec.ts using typed mocks conforming to ADR 005 and real router navigation per ADR 006.

Behaviour changes

  • In IssuesPage.vue, loadIssuesFor skips null nodes and null labels from GraphQL responses instead of throwing.
  • In IssuesPage.vue, :total-rows passes undefined instead of null when the source is GitLab to align with Vue prop types. DisplaySection defaults totalRows to null.

Closes #925 (closed)

Validation steps

  • Verify TypeScript compilation and ESLint rules in CI pipeline.
  • Verify unit tests pass in IssuesPage.spec.ts and platformIssues.spec.ts.

Implemented with AI assistance; I reviewed and tested the changes.

Edited by Abdelrahman Megahed

Merge request reports

Loading
Loading