schedules page removed
This commit is contained in:
@@ -411,9 +411,9 @@ frontend/
|
|||||||
<Route path="/reference/seed-keywords" element={<SeedKeywords />} />
|
<Route path="/reference/seed-keywords" element={<SeedKeywords />} />
|
||||||
<Route path="/reference/industries" element={<ReferenceIndustries />} />
|
<Route path="/reference/industries" element={<ReferenceIndustries />} />
|
||||||
|
|
||||||
{/* Automation & Schedules */}
|
{/* Automation */}
|
||||||
<Route path="/automation" element={<AutomationDashboard />} />
|
<Route path="/automation" element={<AutomationDashboard />} />
|
||||||
<Route path="/schedules" element={<Schedules />} />
|
{/* Note: Schedules functionality is integrated into Automation Dashboard */}
|
||||||
|
|
||||||
{/* Settings */}
|
{/* Settings */}
|
||||||
<Route path="/settings" element={<GeneralSettings />} />
|
<Route path="/settings" element={<GeneralSettings />} />
|
||||||
|
|||||||
@@ -278,11 +278,10 @@ frontend/src/
|
|||||||
│ ├── Billing/ # Existing
|
│ ├── Billing/ # Existing
|
||||||
│ ├── Settings/ # Existing
|
│ ├── Settings/ # Existing
|
||||||
│ ├── Automation/ # EXISTING (placeholder) - IMPLEMENT
|
│ ├── Automation/ # EXISTING (placeholder) - IMPLEMENT
|
||||||
│ │ ├── Dashboard.tsx # Automation overview
|
│ │ ├── Dashboard.tsx # Automation overview (includes schedules functionality)
|
||||||
│ │ ├── Rules.tsx # Automation rules management
|
│ │ ├── Rules.tsx # Automation rules management
|
||||||
│ │ ├── Workflows.tsx # Workflow templates
|
│ │ ├── Workflows.tsx # Workflow templates
|
||||||
│ │ └── History.tsx # Automation execution history
|
│ │ └── History.tsx # Automation execution history
|
||||||
│ ├── Schedules.tsx # EXISTING (placeholder) - IMPLEMENT
|
|
||||||
│ ├── Linker/ # NEW
|
│ ├── Linker/ # NEW
|
||||||
│ │ ├── Dashboard.tsx
|
│ │ ├── Dashboard.tsx
|
||||||
│ │ ├── Candidates.tsx
|
│ │ ├── Candidates.tsx
|
||||||
@@ -653,7 +652,7 @@ docker-data/
|
|||||||
| **Implement Automation Service** | `domain/automation/services/` | TODO | HIGH |
|
| **Implement Automation Service** | `domain/automation/services/` | TODO | HIGH |
|
||||||
| **Implement Automation API** | `modules/automation/` | TODO | HIGH |
|
| **Implement Automation API** | `modules/automation/` | TODO | HIGH |
|
||||||
| **Implement Automation UI** | `frontend/src/pages/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
|
### 9.2 Phase 1: Site Builder
|
||||||
|
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ CREDIT_COSTS = {
|
|||||||
|------|-------|--------------|
|
|------|-------|--------------|
|
||||||
| **Automation Dashboard** | `frontend/src/pages/Automation/Dashboard.tsx` | EXISTING (placeholder) |
|
| **Automation Dashboard** | `frontend/src/pages/Automation/Dashboard.tsx` | EXISTING (placeholder) |
|
||||||
| **Rules Management** | `frontend/src/pages/Automation/Rules.tsx` | NEW |
|
| **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 |
|
| **Automation API Client** | `frontend/src/services/automation.api.ts` | NEW |
|
||||||
|
|
||||||
### 2.6 Testing
|
### 2.6 Testing
|
||||||
|
|||||||
@@ -462,13 +462,11 @@ urlpatterns = router.urls
|
|||||||
- Test rule
|
- Test rule
|
||||||
- Manual execution
|
- Manual execution
|
||||||
|
|
||||||
#### Schedules Page
|
#### Schedules (Part of Automation Menu)
|
||||||
|
|
||||||
| Task | File | Dependencies | Implementation |
|
**Note**: Schedules functionality will be integrated into the Automation menu group, not as a separate page.
|
||||||
|------|------|--------------|----------------|
|
|
||||||
| **Schedules Page** | `frontend/src/pages/Schedules.tsx` | EXISTING (placeholder) | View scheduled task history |
|
|
||||||
|
|
||||||
**Schedules Page Features**:
|
**Schedules Features** (within Automation Dashboard):
|
||||||
- List scheduled tasks
|
- List scheduled tasks
|
||||||
- Filter by status, rule, date
|
- Filter by status, rule, date
|
||||||
- View execution results
|
- View execution results
|
||||||
@@ -553,11 +551,11 @@ export const automationApi = {
|
|||||||
|
|
||||||
- [ ] Implement `frontend/src/pages/Automation/Dashboard.tsx`
|
- [ ] Implement `frontend/src/pages/Automation/Dashboard.tsx`
|
||||||
- [ ] Create `frontend/src/pages/Automation/Rules.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 `frontend/src/services/automation.api.ts`
|
||||||
- [ ] Create rule creation wizard
|
- [ ] Create rule creation wizard
|
||||||
- [ ] Create rule editor
|
- [ ] Create rule editor
|
||||||
- [ ] Create schedule history table
|
- [ ] Create schedule history table (within Automation Dashboard)
|
||||||
|
|
||||||
### Testing Tasks
|
### Testing Tasks
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ const SeedKeywords = lazy(() => import("./pages/Reference/SeedKeywords"));
|
|||||||
const ReferenceIndustries = lazy(() => import("./pages/Reference/Industries"));
|
const ReferenceIndustries = lazy(() => import("./pages/Reference/Industries"));
|
||||||
|
|
||||||
// Other Pages - Lazy loaded
|
// Other Pages - Lazy loaded
|
||||||
const Schedules = lazy(() => import("./pages/Schedules"));
|
|
||||||
const AutomationDashboard = lazy(() => import("./pages/Automation/Dashboard"));
|
const AutomationDashboard = lazy(() => import("./pages/Automation/Dashboard"));
|
||||||
|
|
||||||
// Settings - Lazy loaded
|
// Settings - Lazy loaded
|
||||||
@@ -294,11 +293,6 @@ export default function App() {
|
|||||||
</ModuleGuard>
|
</ModuleGuard>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
} />
|
} />
|
||||||
<Route path="/schedules" element={
|
|
||||||
<Suspense fallback={null}>
|
|
||||||
<Schedules />
|
|
||||||
</Suspense>
|
|
||||||
} />
|
|
||||||
|
|
||||||
{/* Settings */}
|
{/* Settings */}
|
||||||
<Route path="/settings" element={
|
<Route path="/settings" element={
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ import { useAuthStore } from "../../store/authStore";
|
|||||||
* - /settings (including /settings/sites)
|
* - /settings (including /settings/sites)
|
||||||
* - /dashboard
|
* - /dashboard
|
||||||
* - /analytics
|
* - /analytics
|
||||||
* - /schedules
|
|
||||||
* - /thinker
|
* - /thinker
|
||||||
* - /signin, /signup
|
* - /signin, /signup
|
||||||
*/
|
*/
|
||||||
@@ -37,7 +36,6 @@ const SITE_SWITCHER_HIDDEN_PATHS = [
|
|||||||
'/settings',
|
'/settings',
|
||||||
'/dashboard',
|
'/dashboard',
|
||||||
'/analytics',
|
'/analytics',
|
||||||
'/schedules',
|
|
||||||
'/thinker',
|
'/thinker',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -51,11 +51,6 @@ export const routes: RouteConfig[] = [
|
|||||||
{ path: '/thinker/profile', label: 'Profile', breadcrumb: 'Profile' },
|
{ path: '/thinker/profile', label: 'Profile', breadcrumb: 'Profile' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/schedules',
|
|
||||||
label: 'Schedules',
|
|
||||||
icon: 'Schedules',
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const getBreadcrumbs = (pathname: string): Array<{ label: string; path: string }> => {
|
export const getBreadcrumbs = (pathname: string): Array<{ label: string; path: string }> => {
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import {
|
|||||||
PlugInIcon,
|
PlugInIcon,
|
||||||
TaskIcon,
|
TaskIcon,
|
||||||
BoltIcon,
|
BoltIcon,
|
||||||
TimeIcon,
|
|
||||||
DocsIcon,
|
DocsIcon,
|
||||||
PageIcon,
|
PageIcon,
|
||||||
DollarLineIcon,
|
DollarLineIcon,
|
||||||
@@ -144,12 +143,6 @@ const AppSidebar: React.FC = () => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
workflowItems.push({
|
|
||||||
icon: <TimeIcon />,
|
|
||||||
name: "Schedules",
|
|
||||||
path: "/schedules",
|
|
||||||
});
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
label: "OVERVIEW",
|
label: "OVERVIEW",
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ export default function Help() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
question: "How do I set up automation?",
|
question: "How do I set up automation?",
|
||||||
answer: "Go to Dashboard > Automation Setup section. Enable automation for each step (Keywords, Ideas, Content, Images) and configure settings like how many keywords to process per cycle. Advanced settings are available in Schedules page."
|
answer: "Go to Dashboard > Automation Setup section. Enable automation for each step (Keywords, Ideas, Content, Images) and configure settings like how many keywords to process per cycle. Advanced scheduling settings are available in the Automation menu."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
question: "Can I edit AI-generated content?",
|
question: "Can I edit AI-generated content?",
|
||||||
@@ -539,7 +539,7 @@ export default function Help() {
|
|||||||
|
|
||||||
<div className="mt-6 p-4 bg-brand-50 dark:bg-brand-900/10 rounded-lg border border-brand-200 dark:border-brand-800">
|
<div className="mt-6 p-4 bg-brand-50 dark:bg-brand-900/10 rounded-lg border border-brand-200 dark:border-brand-800">
|
||||||
<p className="text-sm text-brand-800 dark:text-brand-300">
|
<p className="text-sm text-brand-800 dark:text-brand-300">
|
||||||
<strong>Note:</strong> Configure automation in Dashboard > Automation Setup. For advanced scheduling, go to Schedules page.
|
<strong>Note:</strong> Configure automation in Dashboard > Automation Setup. For advanced scheduling, go to the Automation menu.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user