feat: add more roles (tech_lead, scrum_master, product_owner, designer, qa)
- Registration form: added 5 new role options to dropdown - Sidebar: new roles get proper nav access via ALL_ROLES/LEADER_ROLES - Dashboard: isLeader check expanded to include new leadership roles - Shared/Pages: role badge colors added for all new roles - Invite modal: expanded role dropdown
This commit is contained in:
@@ -9,10 +9,12 @@ export interface User {
|
||||
export interface Subtask { id: string; title: string; done: boolean }
|
||||
export interface Comment { id: string; userId: string; text: string; timestamp: string }
|
||||
export interface Activity { id: string; text: string; timestamp: string }
|
||||
export interface Dependency { id: string; dependsOnUserId: string; description: string; resolved: boolean }
|
||||
export interface Task {
|
||||
id: string; title: string; description: string; status: Status; priority: Priority;
|
||||
assignee: string; reporter: string; dueDate: string; tags: string[];
|
||||
subtasks: Subtask[]; comments: Comment[]; activity: Activity[];
|
||||
dependencies: Dependency[];
|
||||
}
|
||||
|
||||
export const PRIORITY_COLORS: Record<Priority, { color: string; bg: string }> = {
|
||||
|
||||
Reference in New Issue
Block a user