Classroom Crowdfunding Feature #306#344
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces crowdfunding campaign functionality. It adds a new form for creating campaigns, new models to represent campaigns and donations, and multiple templates for campaign creation, detail view, and listing. The changes also modify existing templates to include buttons that link to the new crowdfunding pages, and new URL routes and view functions to handle requests for creating, listing, and displaying campaign details. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant V as Crowdfunding View
participant F as CampaignForm
participant M as Campaign Model
U->>V: GET /crowdfunding/create/
V->>U: Render campaign creation form
U->>V: POST data to /crowdfunding/create/
V->>F: Instantiate & validate form with POST data
F-->>V: Return validation result
alt Valid form data
V->>M: Create and save Campaign
M-->>V: Return new Campaign instance
V->>U: Redirect to campaign detail page
else Invalid form data
V->>U: Render form with error messages
end
Possibly related issues
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (9)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🚨 Missing Open Issue LinkThis pull request appears to not reference any open GitHub issue. As per our workflow requirements, all PRs should address an existing open issue. This ensures:
How to Fix ThisPlease link this PR to an existing open issue using one of these methods:
This PR will be automatically closed. Feel free to reopen it once you've linked it to an open issue or added appropriate labels. Thank you for your contribution! |
feat(crowdfunding): add Classroom Crowdfunding feature
Teachers Create a Campaign
1)Title, description, images, funding goal
2)Campaign Goes Live
Summary by CodeRabbit