Feature: Member Event-Based Task System (Permission-Controlled)#47
Feature: Member Event-Based Task System (Permission-Controlled)#47vivek0369 wants to merge 4 commits intoNexGenStudioDev:masterfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive Task Management system, featuring task creation, editing, status tracking, submissions, and a commenting system. It includes a new permission-based access control layer and integrates the feature into the existing application routing and sidebar. Additionally, the PR configures Dependabot and applies security overrides in package.json. Feedback highlights opportunities to improve form validation, ensure robust unique identifier generation, optimize array filtering in the UI, and replace hardcoded user data and locales with dynamic configurations.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
@abhishek-nexgen-dev This is Tasks Page UI Update new issue I will create |
🚀 Task Management System: UI & UX Enhancements
This document outlines the required UI/UX improvements for the Tasks Page and Create Task Page within the 1. Tasks Page (
|
|
@abhishek-nexgen-dev Ok i will create all issue Tomorrow |
|
@vivek0369 Sure i have some moe change's after giving all the Change's You Start working from Tomorror |
|
@abhishek-nexgen-dev Please create all the issues and assign them to me afterward. |
|
Sure |
🚀 Task View Page: Comprehensive Production-Grade UpdateThis document outlines the detailed requirements and enhancements needed for the Task View Page to make it fully functional, visually appealing, and production-ready. 1. Essential Task Details DisplayThe Task View Page must include the following fields clearly and prominently:
2. Status Dropdown
3. Assigned To Section
4. Comments Section
5. Task Breakdown & Subtasks
6. Submission & Review Section
7. Additional Details Section
8. UI/UX and Code Quality Guidelines
|
Code Quality and Component Naming GuidelinesTo ensure the codebase remains maintainable, scalable, and production-grade over the long term, please adhere to the following best practices: 1. Clear and Descriptive Component Names
2. Focus on Long-Term Code Quality
3. Production-Grade Code Practices
|




📌 Overview
This PR introduces a production-grade, permission-driven task management system for community events.
Both organizers and members share the same UI, while all actions and visibility are controlled dynamically through a centralized permission layer.
The system supports event-scoped task workflows, controlled submissions, review moderation, runtime permission management, and responsive navigation updates.
✨ Key Features
🔐 Permission System
Implemented a centralized permission architecture using:
PermissionContextusePermissions()hookSupported Permissions
CREATE_TASKASSIGN_TASKUPDATE_STATUSEDIT_TASKDELETE_TASKMULTIPLE_SUBMISSIONLATE_SUBMISSIONVIEW_ALL_TASKS✅ Permissions can be dynamically granted/revoked at runtime.
🧩 Pages Added
📋 Task List Page —
/org/tasksFeatures
VIEW_ALL_TASKScan view all tasks📄 Task Detail Page —
/org/tasks/:taskIdIncludes
Permission-Gated Controls
UPDATE_STATUSMULTIPLE_SUBMISSION&LATE_SUBMISSION➕ Create Task Page —
/org/tasks/createFeatures
CREATE_TASK✏️ Edit Task Page —
/org/tasks/:taskId/editFeatures
EDIT_TASK🛡️ Submission Enforcement
Implemented strict submission validation logic:
MULTIPLE_SUBMISSIONLATE_SUBMISSION🧱 Common Reusable Components
Added reusable UI utilities:
StatusBadgePriorityBadgeConfirmModalSkeletonLoaderEventDropdown📱 Navigation Updates
Sidebar
Added:
✅
Create Tasklink hidden automatically if user lacksCREATE_TASKMobile Bottom Navbar
Added:
🛠️ App Integration
Updated
App.tsx:/orgroutesPermissionProvider🗂️ Routes Added
/org/tasks/org/tasks/createCREATE_TASK/org/tasks/:taskId/org/tasks/:taskId/editEDIT_TASK🏗️ Architecture
src/features/MemberTask/ ├── context/ │ └── PermissionContext.tsx │ ├── types/ │ └── task.types.ts │ ├── mock/ │ └── taskMock.ts │ ├── components/ │ ├── common/ │ │ ├── StatusBadge │ │ ├── PriorityBadge │ │ ├── ConfirmModal │ │ └── SkeletonLoader │ │ │ ├── event/ │ │ └── EventDropdown.tsx │ │ │ └── task/ │ ├── TaskTable │ ├── TaskDetail │ ├── TaskForm │ ├── SubmissionForm │ └── CommentSection │ └── pages/ ├── TaskListPage ├── TaskDetailPage ├── CreateTaskPage └── EditTaskPage✅ Testing Checklist
VIEW_ALL_TASKSpermissionLATE_SUBMISSIONMULTIPLE_SUBMISSIONUPDATE_STATUS🎯 Outcome
This implementation delivers a scalable and reusable permission-controlled task workflow system that supports:
🏷️ Labels
nsoc-26enhancementfrontendreactpermission-system🔗 Related Issue
Closes #24