# Phase 11 Track 1 Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** Close 5 functional gaps in the Teknav Admin Panel where backend support is already present but UI wiring is missing.
**Architecture:** Modify existing React components in `teknav-admin.jsx` to add form fields, filters, dedicated tabs, and bulk operation controls.
**Tech Stack:** React 18, Fastify (Backend), Prisma, custom CSS-in-JS (via `teknav-ui.jsx`).
---
### Task 1: Article Editor Flags Toggles
**Files:**
- Modify: `teknav-admin.jsx`
- [ ] **Step 1: Locate flags group in ArticleEditor**
Find the "نشانهگذاری" group in the `ArticleEditor` component (approx line 1500-1600).
- [ ] **Step 2: Add toggles for premiumOnly, sponsored, and featured**
Update the array of flags to include all three fields. Ensure `premiumOnly` uses a lock icon, `sponsored` uses a star/badge, and `featured` uses a star.
```javascript
// Inside ArticleEditor flags group
{[
{ key: 'premiumOnly', label: 'فقط اعضای ویژه', icon: '🔒' },
{ key: 'sponsored', label: 'محتوای حمایتشده', icon: '⭐' },
{ key: 'featured', label: 'مقاله ویژه', icon: '★' },
].map(({ key, label, icon }) => (
))}
```
- [ ] **Step 3: Verify form state update**
Ensure `handleSave` correctly includes these new boolean fields in the `data` object sent to `adminApi.createArticle` or `adminApi.updateArticle`.
- [ ] **Step 4: Manual verification**
Open a "Published" article in the editor, toggle "Premium Only", save, and verify it persists (check local browser network tab).
---
### Task 2: Content Freshness Filter
**Files:**
- Modify: `teknav-admin.jsx`
- [ ] **Step 1: Locate filter bar in ArticlesManagement**
Find the `ArticlesManagement` component and its filter inputs (approx line 300-400).
- [ ] **Step 2: Add freshness filter dropdown**
Add a new `