feat(free-course-checkout): support free course checkout without payment#522
feat(free-course-checkout): support free course checkout without payment#52220rish wants to merge 2 commits into
Conversation
🚨 Missing Open Issue LinkThis pull request does not reference any open GitHub issue via the Development section. PRs must be linked to an open issue using GitHub’s "Development" section (on the right sidebar). How to fix this:
This PR will be automatically closed. You can reopen it after linking an open issue. Thank you! |
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces a wide-ranging update across multiple areas of the codebase. New virtual‐environment activation scripts and CLI wrappers for various shells and tools have been added under Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant CLI as CLI Entry Script
participant AE as AnyIO Backend
participant W as Worker (Thread/Process)
U->>CLI: Invoke command (e.g. pip, httpx)
CLI->>AE: Initialize event loop and async context
AE->>W: Delegate execution of async task
W-->>AE: Task result returned
AE-->>CLI: Relay output
CLI-->>U: Display final result
sequenceDiagram
participant U as User
participant BCLI as Build CLI
participant PB as ProjectBuilder
participant BE as Build Backend
U->>BCLI: Trigger package build (sdist/wheel)
BCLI->>PB: Parse project configuration (pyproject.toml)
PB->>BE: Call backend hook for build process
BE-->>PB: Return built distribution path
PB-->>BCLI: Report build outputs
BCLI-->>U: Present build outcome
✨ Finishing Touches
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. 🪧 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 (
|
feat(views): Add free_checkout view to enroll users directly for free items.
feat(urls): Add route for free_checkout view.
feat(cart.html):
Display cart total with id="cart-total" and data-value.
Inject CSRF token in form.
Add JS logic to handle free cart submissions via AJAX.
test(checkout): Add test case for free checkout flow in test_views.py.
Fixes #123
Summary by CodeRabbit
New Features
Chores