Convert common/components/LevelProgress to TypeScript

What does this MR do and why?

Convert common/components/LevelProgress.vue and its spec to TypeScript.

Part of &33. Closes #892 (closed)

What changed

• Switched LevelProgress.vue to <script setup lang="ts">. • Typed component props (isMinimized?: boolean, contributorData?: Partial<Pick<VueData, 'contributorLevel' | 'contributorPoints'>>) with withDefaults. • Renamed prop minimized to isMinimized per @typescript-eslint/naming-convention and updated caller in NavigationMenu.vue and its spec. • Destructured useVueData with approvedCommunityMember: isApprovedCommunityMember. • Migrated LevelProgress.spec.js to LevelProgress.spec.ts using createVueData() (ADR 005) and typed wrapper.

Behaviour changes

None.

Verification

Passed from contributors/:

npm run typecheck && npm run lint && TZ=UTC npm run test -- --run
Edited by Manish Kumar

Merge request reports

Loading
Loading