mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
added project page to org dialog
moved sprint creation/management there
This commit is contained in:
@@ -116,13 +116,19 @@ export function CreateIssue({
|
|||||||
console.error(actionErr);
|
console.error(actionErr);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: async (error) => {
|
||||||
setError(error);
|
setError(error);
|
||||||
setSubmitting(false);
|
setSubmitting(false);
|
||||||
|
|
||||||
toast.error(`Error creating issue: ${error}`, {
|
toast.error(`Error creating issue: ${error}`, {
|
||||||
dismissible: false,
|
dismissible: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
try {
|
||||||
|
await errorAction?.(error);
|
||||||
|
} catch (actionErr) {
|
||||||
|
console.error(actionErr);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
@@ -3,14 +3,19 @@ import {
|
|||||||
ISSUE_STATUS_MAX_LENGTH,
|
ISSUE_STATUS_MAX_LENGTH,
|
||||||
type OrganisationMemberResponse,
|
type OrganisationMemberResponse,
|
||||||
type OrganisationResponse,
|
type OrganisationResponse,
|
||||||
|
type ProjectRecord,
|
||||||
|
type ProjectResponse,
|
||||||
|
type SprintRecord,
|
||||||
} from "@issue/shared";
|
} from "@issue/shared";
|
||||||
import { ChevronDown, ChevronUp, EllipsisVertical, Plus, X } from "lucide-react";
|
import { ChevronDown, ChevronUp, EllipsisVertical, Plus, X } from "lucide-react";
|
||||||
import type { ReactNode } from "react";
|
import { type ReactNode, useCallback, useEffect, useState } from "react";
|
||||||
import { useCallback, useEffect, useState } from "react";
|
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import { AddMemberDialog } from "@/components/add-member-dialog";
|
import { AddMemberDialog } from "@/components/add-member-dialog";
|
||||||
|
import { CreateSprint } from "@/components/create-sprint";
|
||||||
import { OrganisationSelect } from "@/components/organisation-select";
|
import { OrganisationSelect } from "@/components/organisation-select";
|
||||||
|
import { ProjectSelect } from "@/components/project-select";
|
||||||
import { useAuthenticatedSession } from "@/components/session-provider";
|
import { useAuthenticatedSession } from "@/components/session-provider";
|
||||||
|
import SmallSprintDisplay from "@/components/small-sprint-display";
|
||||||
import SmallUserDisplay from "@/components/small-user-display";
|
import SmallUserDisplay from "@/components/small-user-display";
|
||||||
import StatusTag from "@/components/status-tag";
|
import StatusTag from "@/components/status-tag";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
@@ -35,12 +40,24 @@ function OrganisationsDialog({
|
|||||||
selectedOrganisation,
|
selectedOrganisation,
|
||||||
setSelectedOrganisation,
|
setSelectedOrganisation,
|
||||||
refetchOrganisations,
|
refetchOrganisations,
|
||||||
|
projects,
|
||||||
|
selectedProject,
|
||||||
|
sprints,
|
||||||
|
onSelectedProjectChange,
|
||||||
|
onCreateProject,
|
||||||
|
onCreateSprint,
|
||||||
}: {
|
}: {
|
||||||
trigger?: ReactNode;
|
trigger?: ReactNode;
|
||||||
organisations: OrganisationResponse[];
|
organisations: OrganisationResponse[];
|
||||||
selectedOrganisation: OrganisationResponse | null;
|
selectedOrganisation: OrganisationResponse | null;
|
||||||
setSelectedOrganisation: (organisation: OrganisationResponse | null) => void;
|
setSelectedOrganisation: (organisation: OrganisationResponse | null) => void;
|
||||||
refetchOrganisations: (options?: { selectOrganisationId?: number }) => Promise<void>;
|
refetchOrganisations: (options?: { selectOrganisationId?: number }) => Promise<void>;
|
||||||
|
projects: ProjectResponse[];
|
||||||
|
selectedProject: ProjectResponse | null;
|
||||||
|
sprints: SprintRecord[];
|
||||||
|
onSelectedProjectChange: (project: ProjectResponse | null) => void;
|
||||||
|
onCreateProject: (project: ProjectRecord) => void | Promise<void>;
|
||||||
|
onCreateSprint: (sprint: SprintRecord) => void | Promise<void>;
|
||||||
}) {
|
}) {
|
||||||
const { user } = useAuthenticatedSession();
|
const { user } = useAuthenticatedSession();
|
||||||
|
|
||||||
@@ -79,6 +96,20 @@ function OrganisationsDialog({
|
|||||||
selectedOrganisation?.OrganisationMember.role === "owner" ||
|
selectedOrganisation?.OrganisationMember.role === "owner" ||
|
||||||
selectedOrganisation?.OrganisationMember.role === "admin";
|
selectedOrganisation?.OrganisationMember.role === "admin";
|
||||||
|
|
||||||
|
const formatDate = (value: Date | string) =>
|
||||||
|
new Date(value).toLocaleDateString(undefined, { month: "short", day: "numeric" });
|
||||||
|
const getSprintDateRange = (sprint: SprintRecord) => {
|
||||||
|
if (!sprint.startDate || !sprint.endDate) return "";
|
||||||
|
return `${formatDate(sprint.startDate)} - ${formatDate(sprint.endDate)}`;
|
||||||
|
};
|
||||||
|
const isCurrentSprint = (sprint: SprintRecord) => {
|
||||||
|
if (!sprint.startDate || !sprint.endDate) return false;
|
||||||
|
const today = new Date();
|
||||||
|
const start = new Date(sprint.startDate);
|
||||||
|
const end = new Date(sprint.endDate);
|
||||||
|
return start <= today && today <= end;
|
||||||
|
};
|
||||||
|
|
||||||
const refetchMembers = useCallback(async () => {
|
const refetchMembers = useCallback(async () => {
|
||||||
if (!selectedOrganisation) return;
|
if (!selectedOrganisation) return;
|
||||||
try {
|
try {
|
||||||
@@ -436,15 +467,15 @@ function OrganisationsDialog({
|
|||||||
)}
|
)}
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
|
|
||||||
<DialogContent className="max-w-lg w-full max-w-[calc(100vw-2rem)]">
|
<DialogContent className="max-w-sm">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Organisations</DialogTitle>
|
<DialogTitle>Organisations</DialogTitle>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
{selectedOrganisation ? (
|
{selectedOrganisation ? (
|
||||||
<Tabs value={activeTab} onValueChange={setActiveTab} className="w-full">
|
<Tabs value={activeTab} onValueChange={setActiveTab} className="w-full min-w-0">
|
||||||
<div className="flex gap-2 items-center">
|
<div className="flex flex-wrap gap-2 items-center w-full min-w-0">
|
||||||
<OrganisationSelect
|
<OrganisationSelect
|
||||||
organisations={organisations}
|
organisations={organisations}
|
||||||
selectedOrganisation={selectedOrganisation}
|
selectedOrganisation={selectedOrganisation}
|
||||||
@@ -468,6 +499,7 @@ function OrganisationsDialog({
|
|||||||
<TabsList>
|
<TabsList>
|
||||||
<TabsTrigger value="info">Info</TabsTrigger>
|
<TabsTrigger value="info">Info</TabsTrigger>
|
||||||
<TabsTrigger value="users">Users</TabsTrigger>
|
<TabsTrigger value="users">Users</TabsTrigger>
|
||||||
|
<TabsTrigger value="projects">Projects</TabsTrigger>
|
||||||
<TabsTrigger value="issues">Issues</TabsTrigger>
|
<TabsTrigger value="issues">Issues</TabsTrigger>
|
||||||
</TabsList>
|
</TabsList>
|
||||||
</div>
|
</div>
|
||||||
@@ -582,6 +614,88 @@ function OrganisationsDialog({
|
|||||||
</div>
|
</div>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
||||||
|
<TabsContent value="projects">
|
||||||
|
<div className="border p-2 min-w-0 overflow-hidden">
|
||||||
|
<div className="flex flex-col gap-3">
|
||||||
|
<ProjectSelect
|
||||||
|
projects={projects}
|
||||||
|
selectedProject={selectedProject}
|
||||||
|
organisationId={selectedOrganisation?.Organisation.id}
|
||||||
|
onSelectedProjectChange={onSelectedProjectChange}
|
||||||
|
onCreateProject={onCreateProject}
|
||||||
|
showLabel
|
||||||
|
/>
|
||||||
|
<div className="flex gap-3 flex-col">
|
||||||
|
<div className="border p-2 min-w-0 overflow-hidden">
|
||||||
|
{selectedProject ? (
|
||||||
|
<>
|
||||||
|
<h2 className="text-xl font-600 mb-2 break-all">
|
||||||
|
{selectedProject.Project.name}
|
||||||
|
</h2>
|
||||||
|
<div className="flex flex-col gap-1">
|
||||||
|
<p className="text-sm text-muted-foreground break-all">
|
||||||
|
Key: {selectedProject.Project.key}
|
||||||
|
</p>
|
||||||
|
<p className="text-sm text-muted-foreground break-all">
|
||||||
|
Creator: {selectedProject.User.name}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
|
) : (
|
||||||
|
<p className="text-sm text-muted-foreground">
|
||||||
|
Select a project to view details.
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-col gap-2 min-w-0 flex-1">
|
||||||
|
{selectedProject ? (
|
||||||
|
<div className="flex flex-col gap-2 max-h-56 overflow-y-scroll">
|
||||||
|
{sprints.map((sprint) => {
|
||||||
|
const dateRange = getSprintDateRange(sprint);
|
||||||
|
const isCurrent = isCurrentSprint(sprint);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
key={sprint.id}
|
||||||
|
className={`flex items-center justify-between p-2 border ${
|
||||||
|
isCurrent
|
||||||
|
? "border-emerald-500/60 bg-emerald-500/10"
|
||||||
|
: ""
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
<SmallSprintDisplay sprint={sprint} />
|
||||||
|
{dateRange && (
|
||||||
|
<span className="text-xs text-muted-foreground">
|
||||||
|
{dateRange}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
{isAdmin && (
|
||||||
|
<CreateSprint
|
||||||
|
projectId={selectedProject?.Project.id}
|
||||||
|
completeAction={onCreateSprint}
|
||||||
|
trigger={
|
||||||
|
<Button variant="outline" size="sm">
|
||||||
|
Create sprint{" "}
|
||||||
|
<Plus className="size-4" />
|
||||||
|
</Button>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<p className="text-sm text-muted-foreground">
|
||||||
|
Select a project to view sprints.
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</TabsContent>
|
||||||
|
|
||||||
<TabsContent value="issues">
|
<TabsContent value="issues">
|
||||||
<div className="border p-2 min-w-0 overflow-hidden">
|
<div className="border p-2 min-w-0 overflow-hidden">
|
||||||
<h2 className="text-xl font-600 mb-2">Issue Statuses</h2>
|
<h2 className="text-xl font-600 mb-2">Issue Statuses</h2>
|
||||||
@@ -659,7 +773,7 @@ function OrganisationsDialog({
|
|||||||
{isAdmin &&
|
{isAdmin &&
|
||||||
(isCreatingStatus ? (
|
(isCreatingStatus ? (
|
||||||
<>
|
<>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2 w-full min-w-0">
|
||||||
<Input
|
<Input
|
||||||
value={newStatusName}
|
value={newStatusName}
|
||||||
maxLength={ISSUE_STATUS_MAX_LENGTH}
|
maxLength={ISSUE_STATUS_MAX_LENGTH}
|
||||||
@@ -668,7 +782,7 @@ function OrganisationsDialog({
|
|||||||
if (statusError) setStatusError(null);
|
if (statusError) setStatusError(null);
|
||||||
}}
|
}}
|
||||||
placeholder="Status name"
|
placeholder="Status name"
|
||||||
className="flex-1"
|
className="flex-1 w-0 min-w-0"
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
if (e.key === "Enter") {
|
if (e.key === "Enter") {
|
||||||
void handleCreateStatus();
|
void handleCreateStatus();
|
||||||
@@ -712,6 +826,7 @@ function OrganisationsDialog({
|
|||||||
setIsCreatingStatus(true);
|
setIsCreatingStatus(true);
|
||||||
setStatusError(null);
|
setStatusError(null);
|
||||||
}}
|
}}
|
||||||
|
className="flex gap-2 w-full min-w-0"
|
||||||
>
|
>
|
||||||
Create status <Plus className="size-4" />
|
Create status <Plus className="size-4" />
|
||||||
</Button>
|
</Button>
|
||||||
@@ -721,7 +836,7 @@ function OrganisationsDialog({
|
|||||||
</TabsContent>
|
</TabsContent>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
) : (
|
) : (
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2 w-full min-w-0">
|
||||||
<OrganisationSelect
|
<OrganisationSelect
|
||||||
organisations={organisations}
|
organisations={organisations}
|
||||||
selectedOrganisation={selectedOrganisation}
|
selectedOrganisation={selectedOrganisation}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ function DialogContent({
|
|||||||
"bg-background data-[state=closed]:zoom-out-95",
|
"bg-background data-[state=closed]:zoom-out-95",
|
||||||
"data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%]",
|
"data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%]",
|
||||||
"z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%]",
|
"z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%]",
|
||||||
"gap-4 border p-4 shadow-lg duration-200 outline-none sm:max-w-lg",
|
"gap-4 border p-4 shadow-lg duration-200 outline-none",
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import type {
|
|||||||
IssueResponse,
|
IssueResponse,
|
||||||
OrganisationMemberResponse,
|
OrganisationMemberResponse,
|
||||||
OrganisationResponse,
|
OrganisationResponse,
|
||||||
|
ProjectRecord,
|
||||||
ProjectResponse,
|
ProjectResponse,
|
||||||
SprintRecord,
|
SprintRecord,
|
||||||
UserRecord,
|
UserRecord,
|
||||||
@@ -12,7 +13,6 @@ import { useEffect, useMemo, useRef, useState } from "react";
|
|||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import AccountDialog from "@/components/account-dialog";
|
import AccountDialog from "@/components/account-dialog";
|
||||||
import { CreateIssue } from "@/components/create-issue";
|
import { CreateIssue } from "@/components/create-issue";
|
||||||
import { CreateSprint } from "@/components/create-sprint";
|
|
||||||
import { IssueDetailPane } from "@/components/issue-detail-pane";
|
import { IssueDetailPane } from "@/components/issue-detail-pane";
|
||||||
import { IssuesTable } from "@/components/issues-table";
|
import { IssuesTable } from "@/components/issues-table";
|
||||||
import LogOutButton from "@/components/log-out-button";
|
import LogOutButton from "@/components/log-out-button";
|
||||||
@@ -53,10 +53,6 @@ export default function App() {
|
|||||||
const [members, setMembers] = useState<UserRecord[]>([]);
|
const [members, setMembers] = useState<UserRecord[]>([]);
|
||||||
const [sprints, setSprints] = useState<SprintRecord[]>([]);
|
const [sprints, setSprints] = useState<SprintRecord[]>([]);
|
||||||
|
|
||||||
const isAdmin =
|
|
||||||
selectedOrganisation?.OrganisationMember.role === "owner" ||
|
|
||||||
selectedOrganisation?.OrganisationMember.role === "admin";
|
|
||||||
|
|
||||||
const deepLinkParams = useMemo(() => {
|
const deepLinkParams = useMemo(() => {
|
||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const orgSlug = params.get("o")?.trim().toLowerCase() ?? "";
|
const orgSlug = params.get("o")?.trim().toLowerCase() ?? "";
|
||||||
@@ -394,6 +390,43 @@ export default function App() {
|
|||||||
}
|
}
|
||||||
}, [deepLinkParams, selectedOrganisation, selectedProject]);
|
}, [deepLinkParams, selectedOrganisation, selectedProject]);
|
||||||
|
|
||||||
|
const handleProjectChange = (project: ProjectResponse | null) => {
|
||||||
|
setSelectedProject(project);
|
||||||
|
localStorage.setItem("selectedProjectId", `${project?.Project.id}`);
|
||||||
|
setSelectedIssue(null);
|
||||||
|
updateUrlParams({
|
||||||
|
projectKey: project?.Project.key.toLowerCase() ?? null,
|
||||||
|
issueNumber: null,
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleProjectCreate = async (project: ProjectRecord) => {
|
||||||
|
if (!selectedOrganisation) return;
|
||||||
|
|
||||||
|
toast.success(`Created Project ${project.name}`, {
|
||||||
|
dismissible: false,
|
||||||
|
});
|
||||||
|
|
||||||
|
await refetchProjects(selectedOrganisation.Organisation.id, {
|
||||||
|
selectProjectId: project.id,
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleSprintCreate = async (sprint: SprintRecord) => {
|
||||||
|
if (!selectedProject) return;
|
||||||
|
|
||||||
|
toast.success(
|
||||||
|
<>
|
||||||
|
Created sprint <span style={{ color: sprint.color }}>{sprint.name}</span>
|
||||||
|
</>,
|
||||||
|
{
|
||||||
|
dismissible: false,
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
await refetchSprints(selectedProject.Project.id);
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className={`w-full h-screen flex flex-col gap-${BREATHING_ROOM} p-${BREATHING_ROOM}`}>
|
<main className={`w-full h-screen flex flex-col gap-${BREATHING_ROOM} p-${BREATHING_ROOM}`}>
|
||||||
{/* header area */}
|
{/* header area */}
|
||||||
@@ -427,71 +460,33 @@ export default function App() {
|
|||||||
projects={projects}
|
projects={projects}
|
||||||
selectedProject={selectedProject}
|
selectedProject={selectedProject}
|
||||||
organisationId={selectedOrganisation?.Organisation.id}
|
organisationId={selectedOrganisation?.Organisation.id}
|
||||||
onSelectedProjectChange={(project) => {
|
onSelectedProjectChange={handleProjectChange}
|
||||||
setSelectedProject(project);
|
onCreateProject={handleProjectCreate}
|
||||||
localStorage.setItem("selectedProjectId", `${project?.Project.id}`);
|
|
||||||
setSelectedIssue(null);
|
|
||||||
updateUrlParams({
|
|
||||||
projectKey: project?.Project.key.toLowerCase() ?? null,
|
|
||||||
issueNumber: null,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
onCreateProject={async (project) => {
|
|
||||||
if (!selectedOrganisation) return;
|
|
||||||
|
|
||||||
toast.success(`Created Project ${project.name}`, {
|
|
||||||
dismissible: false,
|
|
||||||
});
|
|
||||||
|
|
||||||
await refetchProjects(selectedOrganisation.Organisation.id, {
|
|
||||||
selectProjectId: project.id,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
showLabel
|
showLabel
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{selectedOrganisation && selectedProject && (
|
{selectedOrganisation && selectedProject && (
|
||||||
<>
|
<CreateIssue
|
||||||
<CreateIssue
|
projectId={selectedProject?.Project.id}
|
||||||
projectId={selectedProject?.Project.id}
|
sprints={sprints}
|
||||||
sprints={sprints}
|
members={members}
|
||||||
members={members}
|
statuses={selectedOrganisation.Organisation.statuses}
|
||||||
statuses={selectedOrganisation.Organisation.statuses}
|
completeAction={async (issueNumber) => {
|
||||||
completeAction={async (issueNumber) => {
|
if (!selectedProject) return;
|
||||||
if (!selectedProject) return;
|
toast.success(
|
||||||
toast.success(
|
`Created ${issueID(selectedProject.Project.key, issueNumber)}`,
|
||||||
`Created ${issueID(selectedProject.Project.key, issueNumber)}`,
|
{
|
||||||
{
|
|
||||||
dismissible: false,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
await refetchIssues();
|
|
||||||
}}
|
|
||||||
errorAction={async (errorMessage) => {
|
|
||||||
toast.error(`Error creating issue: ${errorMessage}`, {
|
|
||||||
dismissible: false,
|
dismissible: false,
|
||||||
});
|
},
|
||||||
}}
|
);
|
||||||
/>
|
await refetchIssues();
|
||||||
{isAdmin && (
|
}}
|
||||||
<CreateSprint
|
errorAction={async (errorMessage) => {
|
||||||
projectId={selectedProject?.Project.id}
|
toast.error(`Error creating issue: ${errorMessage}`, {
|
||||||
completeAction={async (sprint) => {
|
dismissible: false,
|
||||||
if (!selectedProject) return;
|
});
|
||||||
toast.success(
|
}}
|
||||||
<>
|
/>
|
||||||
Created sprint{" "}
|
|
||||||
<span style={{ color: sprint.color }}>{sprint.name}</span>
|
|
||||||
</>,
|
|
||||||
{
|
|
||||||
dismissible: false,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
await refetchSprints(selectedProject?.Project.id);
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className={`flex gap-${BREATHING_ROOM} items-center`}>
|
<div className={`flex gap-${BREATHING_ROOM} items-center`}>
|
||||||
@@ -510,6 +505,12 @@ export default function App() {
|
|||||||
selectedOrganisation={selectedOrganisation}
|
selectedOrganisation={selectedOrganisation}
|
||||||
setSelectedOrganisation={setSelectedOrganisation}
|
setSelectedOrganisation={setSelectedOrganisation}
|
||||||
refetchOrganisations={refetchOrganisations}
|
refetchOrganisations={refetchOrganisations}
|
||||||
|
projects={projects}
|
||||||
|
selectedProject={selectedProject}
|
||||||
|
sprints={sprints}
|
||||||
|
onSelectedProjectChange={handleProjectChange}
|
||||||
|
onCreateProject={handleProjectCreate}
|
||||||
|
onCreateSprint={handleSprintCreate}
|
||||||
/>
|
/>
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
<DropdownMenuItem asChild className="flex items-end justify-end">
|
<DropdownMenuItem asChild className="flex items-end justify-end">
|
||||||
|
|||||||
7
todo.md
7
todo.md
@@ -1,10 +1,13 @@
|
|||||||
# HIGH PRIORITY
|
# HIGH PRIORITY
|
||||||
|
|
||||||
- projects
|
- projects menu
|
||||||
- project management menu (will this be accessed from the organisations-dialog? or will it be a separate menu in the user select)
|
- delete project
|
||||||
- sprints
|
- sprints
|
||||||
|
- prevent overlapping sprints in the same project
|
||||||
- timeline display
|
- timeline display
|
||||||
- display sprints
|
- display sprints
|
||||||
|
- edit sprint
|
||||||
|
- delete sprint
|
||||||
- issues
|
- issues
|
||||||
- sprint
|
- sprint
|
||||||
- edit title & description
|
- edit title & description
|
||||||
|
|||||||
Reference in New Issue
Block a user