Made the ability to edit tasks and removed the placeholder notes and reminders from each task
This commit is contained in:
+10
-11
@@ -42,17 +42,16 @@
|
||||
## ⏭️ Upcoming Steps
|
||||
|
||||
### Phase 2: Frontend Refactor & Workflow Polish (✅ Completed)
|
||||
1. **API Service:** Created `api.js` to dynamically connect to the backend (resolved connection refused issues by using dynamic hostnames) and handle all network requests.
|
||||
2. **Authentication Hook:** Updated the Login screen to use real JWT tokens.
|
||||
3. **Component Updates:**
|
||||
- Swapped `DashyDB` calls for `async` API calls in `app.jsx`.
|
||||
- Fixed UI state refresh issues by silently loading subsequent data updates.
|
||||
4. **Task Workflows:**
|
||||
- **Completion:** Added a "Mark as completed" button in `TaskDetail` that changes task status to `closed`, records it in the Audit Log, and removes the task from the main Overview board.
|
||||
- **Reopening:** Added a "Reopen task" button to restore accidentally closed tasks back to the queue.
|
||||
- **User Views:** Updated `UserScreen` to accurately display open task counts and render a dedicated, faded "Completed" section at the bottom for closed tasks.
|
||||
- **Audit Rendering:** Fixed crash in `TaskDetail` by passing global API audit logs and filtering them locally for individual tasks.
|
||||
5. **Cleanup:** Archived `db.js`, `data.jsx` to `Dashy-v1/scraps/` and removed `sql.js` WASM dependency from `Dashy.html`.
|
||||
1. **API Integration:** Created `api.js` to handle network requests, swapped `DashyDB` for async API calls in `app.jsx`, and updated Login to use JWT tokens.
|
||||
2. **Legacy Cleanup:** Archived `db.js` and `data.jsx` to `Dashy-v1/scraps/` and removed `sql.js` WASM dependency from `Dashy.html`.
|
||||
3. **API Base URL Fix:** Updated `api.js` to dynamically use the browser's hostname to resolve "Connection Refused" errors.
|
||||
4. **Audit Rendering Crash Fix:** Resolved the `TASK_AUDIT` ReferenceError by passing live API audit logs into the `TaskDetail` modal.
|
||||
5. **UI State Refresh Fix:** Modified the `useApiData` hook to fetch subsequent updates silently without unmounting the app (fixing the drag-and-drop refresh bug).
|
||||
6. **Task Completion:** Added a "Mark as completed" button, removed closed tasks from the main Overview board, and set up audit logging.
|
||||
7. **User Views Update:** Updated `UserScreen` to accurately display open task counts and render a dedicated, faded "Completed" section for closed tasks.
|
||||
8. **Task Reopening:** Added a "Reopen task" button to restore accidentally closed tasks back to the queue.
|
||||
9. **User Management (Settings):** Built backend API endpoints (`POST`, `PATCH`, `DELETE` for `/users`) and wired up the `WorkspaceTab` allowing Admins to manage the team from the UI.
|
||||
10. **Task Editing:** Implemented inline editing for task descriptions using an active text box state with "Save/Cancel" actions.
|
||||
|
||||
### Phase 3: Advanced Features
|
||||
- **Real-time Notifications:** Explore WebSockets for task assignments.
|
||||
|
||||
Reference in New Issue
Block a user