schedules page removed

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-16 21:21:07 +00:00
parent 51cd021f85
commit 56c30e4904
9 changed files with 12 additions and 35 deletions

View File

@@ -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 />} />

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -50,7 +50,6 @@ const SeedKeywords = lazy(() => import("./pages/Reference/SeedKeywords"));
const ReferenceIndustries = lazy(() => import("./pages/Reference/Industries"));
// Other Pages - Lazy loaded
const Schedules = lazy(() => import("./pages/Schedules"));
const AutomationDashboard = lazy(() => import("./pages/Automation/Dashboard"));
// Settings - Lazy loaded
@@ -294,11 +293,6 @@ export default function App() {
</ModuleGuard>
</Suspense>
} />
<Route path="/schedules" element={
<Suspense fallback={null}>
<Schedules />
</Suspense>
} />
{/* Settings */}
<Route path="/settings" element={

View File

@@ -21,7 +21,6 @@ import { useAuthStore } from "../../store/authStore";
* - /settings (including /settings/sites)
* - /dashboard
* - /analytics
* - /schedules
* - /thinker
* - /signin, /signup
*/
@@ -37,7 +36,6 @@ const SITE_SWITCHER_HIDDEN_PATHS = [
'/settings',
'/dashboard',
'/analytics',
'/schedules',
'/thinker',
];

View File

@@ -51,11 +51,6 @@ export const routes: RouteConfig[] = [
{ path: '/thinker/profile', label: 'Profile', breadcrumb: 'Profile' },
],
},
{
path: '/schedules',
label: 'Schedules',
icon: 'Schedules',
},
];
export const getBreadcrumbs = (pathname: string): Array<{ label: string; path: string }> => {

View File

@@ -11,7 +11,6 @@ import {
PlugInIcon,
TaskIcon,
BoltIcon,
TimeIcon,
DocsIcon,
PageIcon,
DollarLineIcon,
@@ -144,12 +143,6 @@ const AppSidebar: React.FC = () => {
});
}
workflowItems.push({
icon: <TimeIcon />,
name: "Schedules",
path: "/schedules",
});
return [
{
label: "OVERVIEW",

View File

@@ -76,7 +76,7 @@ export default function Help() {
},
{
question: "How do I set up automation?",
answer: "Go to Dashboard &gt; 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 &gt; 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?",
@@ -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">
<p className="text-sm text-brand-800 dark:text-brand-300">
<strong>Note:</strong> Configure automation in Dashboard &gt; Automation Setup. For advanced scheduling, go to Schedules page.
<strong>Note:</strong> Configure automation in Dashboard &gt; Automation Setup. For advanced scheduling, go to the Automation menu.
</p>
</div>
</Card>