feat(app): guide edit page - #189
Merged
tonylam0 merged 13 commits intoJul 31, 2026
Merged
Conversation
for future reference
Implement route for editing guides post-submission by loading existing guide data into contribution flow components (GuideDetails, Content, and Submit). Support draft saving and revision publishing. Signed-off-by: Rodrigo <rodrigolinhas18@gmail.com>
forgot to run pnpm format
Collaborator
|
Hey, there are merge conflicts on this branch. Request review for this PR again when the conflicts have been fixed. Thank you! |
tonylam0
marked this pull request as draft
July 29, 2026 02:23
Fixed merge confilts in PR Signed-off-by: Rodrigo <rodrigolinhas18@gmail.com>
rodrigolinhas
marked this pull request as ready for review
July 29, 2026 19:58
Collaborator
|
I'm going to make some changes to this PR to keep v1 development moving as quickly as possible. |
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
tonylam0
approved these changes
Jul 31, 2026
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.
Summary
Edit Guide Page (
/edit/guide/{slug}); Created a new route allowing users to edit guides after submission. Automatically pre-populates guide details (type, title, summary, subjects, prerequisites, and content) from existing guide data.Component Reuse: Integrated the existing contribution steps (GuideDetails, Content, and Submit) into a 3-step @stepperize/react stepper, preserving UI consistency and design tokens across the app.
Draft & Submission Actions: Connected form action handlers to persist drafts via updateRevision and trigger review submissions via submitRevision, complete with toast feedback
Navigation Link: Updated the "Edit Guide" menu item in the guide viewer (
guides.$slug.tsx) to target the newly established/edit/guide/{slug}path.Closes #176
Type of change
Verification
pnpm -r typecheckpassespnpm -r buildpasses