Copilot

Results 4682 issues of Copilot

Addresses code review feedback to eliminate `any[]` type that defeats TypeScript's type safety for enrollment data. ## Changes - **Created `src/types/enrollment.ts`**: Defines `Enrollment`, `EnrollmentStats`, `Course`, and `EnrollmentStatus` types matching the...

Addresses feedback from PR #836: the file upload form field collected user input despite file upload functionality not being implemented. ## Changes - **Added warning banner** above file upload section...

Addresses type safety feedback on PR #836. The dashboard was using `any[]` for enrollments state, defeating TypeScript's type checking. **Changes:** - Added `Enrollment` interface matching API response structure from `/api/enrollment`...

The `translateDuty` function requested 3 AI-generated sequences but returned only the preliminary terminology replacement as the main translation, wasting the AI computation. ## Changes - **`src/lib/military-translator.ts:200`**: Use first AI-generated result...

The prework link validation used a permissive regex `/^https?:\/\/.+/` that could allow malicious URLs to pass validation. ## Changes Made - **Security**: Replace regex pattern with `isValidUrl()` function that uses...

Answer options now display below content (vertical stack) instead of to the right when in phone mode (<800px width) or when question content is single text-only item. Height is distributed...

This PR adds extension methods for the `BitmapContext` class that allow users to perform drawing operations directly on a `BitmapContext` instead of having to go through the `WriteableBitmap`. This enables...

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress....

This PR implements the `rev-requirements` functionality requested in issue #339, which generates a comprehensive requirements document by reverse-engineering the existing Aplin codebase. ## What was implemented The implementation analyzes the...

MySQL/MariaDB use `?` placeholders in prepared statements, while PostgreSQL uses numbered placeholders (`$1`, `$2`, `$3`, ...). This change adds database-specific placeholder formatting with security-focused implementation. ## Implementation - **DBType enum**:...