Repository navigation
fix: add edit feature - #135
Open
gopikrishna-20 wants to merge 1 commit into
Open
gopikrishna-20 wants to merge 1 commit into
gopikrishna-20 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Closes #134
Summary
Adds the ability for hosts to edit their activities. Includes a new
PATCH /api/activities/:idendpoint and anedit-activitypageChanges
Backend (
src/worker.py)api_update_activityhandler forPATCH /api/activities/:idtitle(required if sent, max 200),description(max 5000),learning_objectivesandprerequisites(max 2000),level(max 50), and allowed values fortype,formatandschedule_typedescription,learning_objectivesandprerequisitesare encrypted with AES-256-GCMenv.DB.batch()transactionPATCHroute in_dispatch/edit-activitytoSTATIC_CLEAN_ROUTESFrontend (
public/edit-activity.html)GET /api/activities/:idPATCHand returns to the dashboardConfig (
wrangler.toml)/edit-activitytoassets.run_worker_first/confirm-password-change, which had the same problemScreen.Recording.2026-10-21.120044.mp4