57 lines
4.0 KiB
Markdown
57 lines
4.0 KiB
Markdown
# Frontend Progress Report
|
|
|
|
**Date:** 2025-12-07
|
|
**Status:** In Progress (~65%)
|
|
|
|
## 📊 Overview
|
|
|
|
| Task ID | Title | Status | Completion % | Notes |
|
|
| --------------- | ------------------------- | ----------------- | ------------ | ---------------------------------------------------------------- |
|
|
| **TASK-FE-001** | Frontend Setup | ✅ **Done** | 100% | Project structure, Tailwind, Shadcn/UI initialized. |
|
|
| **TASK-FE-002** | Auth UI | ✅ **Done** | 100% | Store, RBAC, Login UI, Refresh Token, Session Sync implemented. |
|
|
| **TASK-FE-003** | Layout & Navigation | ✅ **Done** | 100% | Sidebar, Header, Layouts are implemented. |
|
|
| **TASK-FE-004** | Correspondence UI | ✅ **Done** | 100% | Integrated with Backend API (List/Create/Hooks). |
|
|
| **TASK-FE-005** | Common Components | ✅ **Done** | 100% | Data tables, File upload, etc. implemented. |
|
|
| **TASK-FE-006** | RFA UI | ✅ **Done** | 100% | Integrated with Backend (Workflow/Create/List). |
|
|
| **TASK-FE-007** | Drawing UI | ✅ **Done** | 100% | Drawings List & Upload integrated with Real API (Contract/Shop). |
|
|
| **TASK-FE-008** | Search UI | ✅ **Done** | 100% | Global Search & Advanced Search with Real API. |
|
|
| **TASK-FE-009** | Dashboard & Notifications | ✅ **Done** | 100% | Statistics, Activity Feed, and Notifications integrated. |
|
|
| **TASK-FE-010** | Admin Panel | ✅ **Done** | 100% | Layout, Users, Audit Logs, Organizations implemented. |
|
|
| **TASK-FE-011** | Workflow Config UI | 🚧 **In Progress** | 30% | Workflow builder UI needed. |
|
|
| **TASK-FE-012** | Numbering Config UI | 🚧 **In Progress** | 30% | Configuration forms needed. |
|
|
| **TASK-FE-013** | Circulation & Transmittal | 🔴 **Not Started** | 0% | Pending implementation. |
|
|
| **TASK-FE-014** | Reference Data UI | 🔴 **Not Started** | 0% | Specs created. |
|
|
| **TASK-FE-015** | Security Admin UI | 🔴 **Not Started** | 0% | Specs created. |
|
|
|
|
## 🛠 Detailed Status by Component
|
|
|
|
### 1. Foundation (✅ Completed)
|
|
|
|
- **Tech Stack:** Next.js 14 (App Router), TypeScript, Tailwind CSS, Shadcn/UI.
|
|
- **Structure:** `app/`, `components/`, `lib/`, `types/` structured correctly.
|
|
- **Layout:** Responsive Dashboard layout with collapsible sidebar and mobile drawer.
|
|
|
|
### 2. Authentication (TASK-FE-002) (✅ Completed)
|
|
|
|
- **Implemented:**
|
|
- Login Page with Shadcn/UI & Toast Notifications.
|
|
- `auth-store` (Zustand) for client-side state & permission logic.
|
|
- `<Can />` Component for granular RBAC.
|
|
- `AuthSync` to synchronize NextAuth session with Zustand store.
|
|
- Type definitions updated for `username` mapping.
|
|
- **Pending (Backend/Integration):**
|
|
- Backend needs to map `assignments` to flatten `role` field for simpler consumption (currently defaults to "User").
|
|
|
|
### 3. Business Modules (🚧 In Progress)
|
|
|
|
- **Correspondences:** List and Form UI components exist.
|
|
- **RFAs:** List and Form UI components exist.
|
|
- **Drawings:** Basic structure exists.
|
|
- **Needs:** Full integration with Backend APIs using `tanstack-query` and correct DTO mapping.
|
|
|
|
## 📅 Next Priorities
|
|
|
|
1. **TASK-FE-002 (Auth):** Finalize Authentication flow with Refresh Token.
|
|
2. **API Integration:** Connect Correspondence and RFA modules to real Backend endpoints.
|
|
3. **Admin Modules:** Finish User and Master Data management screens.
|