Merge branch 'feature/phase-0-credit-system'
This commit is contained in:
@@ -411,9 +411,9 @@ frontend/
|
||||
<Route path="/reference/seed-keywords" element={<SeedKeywords />} />
|
||||
<Route path="/reference/industries" element={<ReferenceIndustries />} />
|
||||
|
||||
{/* Automation & Schedules */}
|
||||
{/* Automation */}
|
||||
<Route path="/automation" element={<AutomationDashboard />} />
|
||||
<Route path="/schedules" element={<Schedules />} />
|
||||
{/* Note: Schedules functionality is integrated into Automation Dashboard */}
|
||||
|
||||
{/* Settings */}
|
||||
<Route path="/settings" element={<GeneralSettings />} />
|
||||
|
||||
@@ -644,9 +644,12 @@ class KeywordViewSet(SiteSectorModelViewSet):
|
||||
"data": {
|
||||
"user": { ... },
|
||||
"access": "eyJ0eXAiOiJKV1QiLCJhbGc...",
|
||||
"refresh": "eyJ0eXAiOiJKV1QiLCJhbGc..."
|
||||
"refresh": "eyJ0eXAiOiJKV1QiLCJhbGc...",
|
||||
"access_expires_at": "2025-01-XXT...",
|
||||
"refresh_expires_at": "2025-01-XXT..."
|
||||
},
|
||||
"message": "Login successful"
|
||||
"message": "Login successful",
|
||||
"request_id": "550e8400-e29b-41d4-a716-446655440000"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -278,11 +278,10 @@ frontend/src/
|
||||
│ ├── Billing/ # Existing
|
||||
│ ├── Settings/ # Existing
|
||||
│ ├── Automation/ # EXISTING (placeholder) - IMPLEMENT
|
||||
│ │ ├── Dashboard.tsx # Automation overview
|
||||
│ │ ├── Dashboard.tsx # Automation overview (includes schedules functionality)
|
||||
│ │ ├── Rules.tsx # Automation rules management
|
||||
│ │ ├── Workflows.tsx # Workflow templates
|
||||
│ │ └── History.tsx # Automation execution history
|
||||
│ ├── Schedules.tsx # EXISTING (placeholder) - IMPLEMENT
|
||||
│ ├── Linker/ # NEW
|
||||
│ │ ├── Dashboard.tsx
|
||||
│ │ ├── Candidates.tsx
|
||||
@@ -653,7 +652,7 @@ docker-data/
|
||||
| **Implement Automation Service** | `domain/automation/services/` | TODO | HIGH |
|
||||
| **Implement Automation API** | `modules/automation/` | TODO | HIGH |
|
||||
| **Implement Automation UI** | `frontend/src/pages/Automation/` | TODO | HIGH |
|
||||
| **Implement Schedules UI** | `frontend/src/pages/Schedules.tsx` | TODO | HIGH |
|
||||
| **Note**: Schedules functionality will be integrated into Automation UI, not as a separate page | - | - | - |
|
||||
|
||||
### 9.2 Phase 1: Site Builder
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@ CREDIT_COSTS = {
|
||||
|------|-------|--------------|
|
||||
| **Automation Dashboard** | `frontend/src/pages/Automation/Dashboard.tsx` | EXISTING (placeholder) |
|
||||
| **Rules Management** | `frontend/src/pages/Automation/Rules.tsx` | NEW |
|
||||
| **Schedules Page** | `frontend/src/pages/Schedules.tsx` | EXISTING (placeholder) |
|
||||
| **Schedules (within Automation)** | Integrated into Automation Dashboard | Part of automation menu |
|
||||
| **Automation API Client** | `frontend/src/services/automation.api.ts` | NEW |
|
||||
|
||||
### 2.6 Testing
|
||||
|
||||
@@ -462,13 +462,11 @@ urlpatterns = router.urls
|
||||
- Test rule
|
||||
- Manual execution
|
||||
|
||||
#### Schedules Page
|
||||
#### Schedules (Part of Automation Menu)
|
||||
|
||||
| Task | File | Dependencies | Implementation |
|
||||
|------|------|--------------|----------------|
|
||||
| **Schedules Page** | `frontend/src/pages/Schedules.tsx` | EXISTING (placeholder) | View scheduled task history |
|
||||
**Note**: Schedules functionality will be integrated into the Automation menu group, not as a separate page.
|
||||
|
||||
**Schedules Page Features**:
|
||||
**Schedules Features** (within Automation Dashboard):
|
||||
- List scheduled tasks
|
||||
- Filter by status, rule, date
|
||||
- View execution results
|
||||
@@ -553,11 +551,11 @@ export const automationApi = {
|
||||
|
||||
- [ ] Implement `frontend/src/pages/Automation/Dashboard.tsx`
|
||||
- [ ] Create `frontend/src/pages/Automation/Rules.tsx`
|
||||
- [ ] Implement `frontend/src/pages/Schedules.tsx`
|
||||
- [ ] Integrate schedules functionality into Automation Dashboard (not as separate page)
|
||||
- [ ] Create `frontend/src/services/automation.api.ts`
|
||||
- [ ] Create rule creation wizard
|
||||
- [ ] Create rule editor
|
||||
- [ ] Create schedule history table
|
||||
- [ ] Create schedule history table (within Automation Dashboard)
|
||||
|
||||
### Testing Tasks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user