Draft
Conversation
…gacy quiz migration
|
The preview deployment for frontend-testownik-dev is ready. 🟢 Open Preview | Open Build Logs | Open Application Logs Last updated at: 2026-04-13 10:07:36 CET |
Contributor
There was a problem hiding this comment.
Pull request overview
Dodaje nowe opcje sortowania listy quizów (data utworzenia oraz ostatnie użycie) i rozszerza metadane quizu o pola czasowe, aby te sortowania były możliwe w UI.
Changes:
- Rozszerzenie
QuizMetadataocreated_at,updated_at,last_used_at. - Uzupełnienie migracji legacy quizów o nowe pola dat.
- Dodanie nowych opcji sortowania w komponencie
QuizSortoraz zmiana etykiet sortowania alfabetycznego.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
src/types/quiz.ts |
Dodaje pola czasowe do QuizMetadata, aby UI mogło sortować po dacie. |
src/lib/migration.ts |
Ustawia wartości domyślne nowych pól w migracji legacy quizów. |
src/components/quiz/quiz-sort.tsx |
Dodaje opcje sortowania po created_at i last_used_at, oraz aktualizuje labelki A→Z/Z→A. |
src/components/quiz/helpers/quiz-validation.ts |
Rozszerza whitelistę dozwolonych kluczy quizu o nowe pola dat. |
Member
|
Hej, hej. Przejrzyj sobie copilota i podepnij PR pod taska. Niestety ale musimy chwilę poczekać z mergowaniem aby skończyć najpierw #214 bo będzie za dużo konfliktów. Zostaw w review a ja ogarnę po wszystkim |
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.
Podsumowanie
Dodano nowe opcje sortowania quizów, pozwalające na sortowanie po dacie utworzenia i ostatniego użycia
Co dodano
Dodano trzy nowe opcje sortowania
last_used_atma wartośćnull) będą na końcuZmieniono nazwę sortowania alfabetycznego, sugerujący kierunek sortowania
Dodano do intefejsu
QuizMetadatatrzy nowe polaDodano do migracji quizów odpowiednie pole
CLOSES #203