Skip to content

temp/folder-architecture#229

Open
olios123 wants to merge 1 commit intodevfrom
temp/folder-architecture
Open

temp/folder-architecture#229
olios123 wants to merge 1 commit intodevfrom
temp/folder-architecture

Conversation

@olios123
Copy link
Copy Markdown
Member

@olios123 olios123 commented Mar 16, 2026

Rename maintainer -> creator

Waiting for: Solvro/backend-testownik#157

Copilot AI review requested due to automatic review settings March 16, 2026 21:17
@solvro-coolify
Copy link
Copy Markdown

solvro-coolify bot commented Mar 16, 2026

The preview deployment for frontend-testownik-dev is ready. 🟢

Open Preview | Open Build Logs | Open Application Logs

Last updated at: 2026-03-16 21:17:59 CET

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Renames the maintainer field/variable to creator throughout the codebase, aligning the frontend naming with what appears to be an updated backend API field.

Changes:

  • Renamed the maintainer property to creator in the QuizMetadata interface and all consuming components/pages
  • Updated all local variables and props referencing maintainer (e.g., isMaintainerisCreator, isMaintainerAnonymousisCreatorAnonymous)
  • Updated validation allow-lists, migration code, tests, and comments to use creator

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/types/quiz.ts Renamed maintainercreator in QuizMetadata interface
src/lib/migration.ts Updated migration output to use creator
src/lib/migration.spec.ts Updated test assertion for creator
src/lib/legacy-guest-quiz-migration.spec.ts Updated test fixture to use creator
src/lib/auth/permissions.ts Updated comment text
src/components/quiz/share-quiz-dialog/share-quiz-dialog.tsx Renamed state/props from maintainer to creator
src/components/quiz/share-quiz-dialog/access-list.tsx Renamed props and template references
src/components/quiz/quiz-info-card.tsx Updated display reference
src/components/quiz/quiz-action-buttons.tsx Renamed isMaintainerisCreator
src/components/quiz/hooks/use-external-image-approval.ts Renamed isMaintainerisCreator
src/components/quiz/helpers/quiz-validation.ts Updated allowed keys list
src/components/quiz/helpers/legacy-quiz-validation.ts Updated allowed keys list
src/app/quizzes/client.tsx Updated filter reference
src/app/quiz/[quizId]/page.tsx Updated metadata generation
src/app/quiz/[quizId]/opengraph-image.tsx Updated OG image generation
src/app/(dashboard)/components/search-card.tsx Renamed interface field and usage

You can also share your feedback on Copilot code review. Take the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants