Skip to content

added user ability to add new tasks#12

Merged
ranuru merged 3 commits into
developmentfrom
feature/author-new-tasks-in-browser
May 11, 2026
Merged

added user ability to add new tasks#12
ranuru merged 3 commits into
developmentfrom
feature/author-new-tasks-in-browser

Conversation

@ranuru

@ranuru ranuru commented May 11, 2026

Copy link
Copy Markdown
Owner

This pull request adds the ability for users to create new schema challenges through the frontend and backend. The main changes include a new "Create Challenge" page in the frontend, updates to the backend API to support challenge creation, and security adjustments to require authentication for challenge creation.

Frontend: New Challenge Creation UI

  • Added a new page component, CreateChallengePage, which provides a form for users to input challenge details, schemas, test cases, and code templates. The form supports adding/removing multiple schemas and test cases, and submits the data to the backend.
  • Updated routing in App.jsx to include the new /challenges/new route and render CreateChallengePage for it. [1] [2]
  • Added a "+ New Challenge" button to the challenge list page header, linking to the new challenge creation form.

Backend: Challenge Creation API

  • Added a new POST endpoint /api/challenges in ChallengeController to accept challenge creation requests, parse schemas and test cases, and persist the new challenge in the database. [1] [2]

Security: API Access Control

  • Updated security configuration to require authentication for POST requests to /api/challenges, while still allowing unauthenticated GET requests. [1] [2]

Development Environment

  • Updated VSCode settings to make Java build configuration updates interactive, improving the developer experience.

@ranuru ranuru self-assigned this May 11, 2026
@ranuru ranuru merged commit 360e25b into development May 11, 2026
2 checks passed
@ranuru ranuru deleted the feature/author-new-tasks-in-browser branch May 11, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant