docs: add consolidated dev URL reference and migrate /shop to /storefront
Some checks failed
Some checks failed
- Add Development URL Quick Reference section to url-routing overview with all login URLs, entry points, and full examples - Replace /shop/ path segments with /storefront/ across 50 docs files - Update file references: shop_pages.py → storefront_pages.py, templates/shop/ → templates/storefront/, api/v1/shop/ → api/v1/storefront/ - Preserve domain references (orion.shop) and /store/ staff dashboard paths - Archive docs left unchanged (historical) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -157,7 +157,7 @@ def get_categories(...):
|
||||
|
||||
### 1.3 Shop Auth API (Password Reset)
|
||||
|
||||
**File:** `app/api/v1/shop/auth.py`
|
||||
**File:** `app/api/v1/storefront/auth.py`
|
||||
|
||||
**Problem:** Business logic in `forgot_password()` and `reset_password()` endpoints.
|
||||
|
||||
@@ -391,7 +391,7 @@ async init() {
|
||||
|
||||
### 5.2 Shop Base Template
|
||||
|
||||
**File:** `app/templates/shop/base.html`
|
||||
**File:** `app/templates/storefront/base.html`
|
||||
|
||||
**Problem:** `request.state.language` used without default (LANG-009 violation).
|
||||
|
||||
@@ -442,12 +442,12 @@ if in_language_names_block and stripped in ("}", "]"):
|
||||
| Rule ID | Description | Fixed Files |
|
||||
|---------|-------------|-------------|
|
||||
| API-001 | Endpoint must use Pydantic models | admin/email_templates.py |
|
||||
| API-003 | Endpoint must NOT contain business logic | store/settings.py, shop/auth.py |
|
||||
| API-003 | Endpoint must NOT contain business logic | store/settings.py, storefront/auth.py |
|
||||
| JS-001 | Must use apiClient for API calls | email-templates.js (admin & store) |
|
||||
| JS-002 | Must use Utils.showToast() for notifications | email-templates.js (admin & store) |
|
||||
| JS-003 | Must call parent init for Alpine components | store/email-templates.js |
|
||||
| TPL-015 | Must use correct block names | admin/email-templates.html |
|
||||
| LANG-009 | Must provide language default | shop/base.html |
|
||||
| LANG-009 | Must provide language default | storefront/base.html |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user