Skip to content

Conversation

@Aditya0545
Copy link
Collaborator

  • Introduced a new migration to add a categories column to the contests table, allowing storage of MediaWiki category URLs as a JSON array.
  • Updated the Contest model to include the categories attribute, ensuring it is required and properly handled.
  • Enhanced contest creation and update routes to validate category URLs, ensuring at least one valid URL is provided.
  • Modified frontend components to support category input, including dynamic addition and removal of category fields, with validation for HTTP/HTTPS URLs.
  • Displayed required categories in the contest view, ensuring users are informed of the necessary categories for submissions.
image

- Introduced a new migration to add a `categories` column to the `contests` table, allowing storage of MediaWiki category URLs as a JSON array.
- Updated the `Contest` model to include the `categories` attribute, ensuring it is required and properly handled.
- Enhanced contest creation and update routes to validate category URLs, ensuring at least one valid URL is provided.
- Modified frontend components to support category input, including dynamic addition and removal of category fields, with validation for HTTP/HTTPS URLs.
- Displayed required categories in the contest view, ensuring users are informed of the necessary categories for submissions.
@Aditya0545 Aditya0545 self-assigned this Dec 28, 2025
@Aditya0545 Aditya0545 added the enhancement New feature or request label Dec 28, 2025
@GauriGupta21 GauriGupta21 merged commit efd178e into indictechcom:main Dec 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants