feat: bulk issue deletion, colours to labels
@ -1,6 +1,10 @@
|
|||||||
import React, { useState, useCallback, useEffect } from "react";
|
import React, { useState, useCallback, useEffect } from "react";
|
||||||
// next
|
// next
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
|
// swr
|
||||||
|
import { mutate } from "swr";
|
||||||
|
// react hook form
|
||||||
|
import { SubmitHandler, useForm } from "react-hook-form";
|
||||||
// headless ui
|
// headless ui
|
||||||
import { Combobox, Dialog, Transition } from "@headlessui/react";
|
import { Combobox, Dialog, Transition } from "@headlessui/react";
|
||||||
// hooks
|
// hooks
|
||||||
@ -22,9 +26,11 @@ import CreateProjectModal from "components/project/CreateProjectModal";
|
|||||||
import CreateUpdateIssuesModal from "components/project/issues/CreateUpdateIssueModal";
|
import CreateUpdateIssuesModal from "components/project/issues/CreateUpdateIssueModal";
|
||||||
import CreateUpdateCycleModal from "components/project/cycles/CreateUpdateCyclesModal";
|
import CreateUpdateCycleModal from "components/project/cycles/CreateUpdateCyclesModal";
|
||||||
// types
|
// types
|
||||||
import { IIssue } from "types";
|
import { IIssue, IProject, IssueResponse } from "types";
|
||||||
import { Button } from "ui";
|
import { Button } from "ui";
|
||||||
import { SubmitHandler, useForm } from "react-hook-form";
|
import issuesServices from "lib/services/issues.services";
|
||||||
|
// fetch keys
|
||||||
|
import { PROJECTS_LIST, PROJECT_ISSUES_LIST } from "constants/fetch-keys";
|
||||||
|
|
||||||
type ItemType = {
|
type ItemType = {
|
||||||
name: string;
|
name: string;
|
||||||
@ -33,7 +39,7 @@ type ItemType = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
type FormInput = {
|
type FormInput = {
|
||||||
issue: string[];
|
issue_ids: string[];
|
||||||
};
|
};
|
||||||
|
|
||||||
const CommandPalette: React.FC = () => {
|
const CommandPalette: React.FC = () => {
|
||||||
@ -47,7 +53,7 @@ const CommandPalette: React.FC = () => {
|
|||||||
const [isShortcutsModalOpen, setIsShortcutsModalOpen] = useState(false);
|
const [isShortcutsModalOpen, setIsShortcutsModalOpen] = useState(false);
|
||||||
const [isCreateCycleModalOpen, setIsCreateCycleModalOpen] = useState(false);
|
const [isCreateCycleModalOpen, setIsCreateCycleModalOpen] = useState(false);
|
||||||
|
|
||||||
const { issues, activeProject } = useUser();
|
const { activeWorkspace, activeProject, issues, cycles } = useUser();
|
||||||
|
|
||||||
const { toggleCollapsed } = useTheme();
|
const { toggleCollapsed } = useTheme();
|
||||||
|
|
||||||
@ -59,6 +65,14 @@ const CommandPalette: React.FC = () => {
|
|||||||
: issues?.results.filter((issue) => issue.name.toLowerCase().includes(query.toLowerCase())) ??
|
: issues?.results.filter((issue) => issue.name.toLowerCase().includes(query.toLowerCase())) ??
|
||||||
[];
|
[];
|
||||||
|
|
||||||
|
const {
|
||||||
|
register,
|
||||||
|
formState: { errors, isSubmitting },
|
||||||
|
handleSubmit,
|
||||||
|
reset,
|
||||||
|
setError,
|
||||||
|
} = useForm<FormInput>();
|
||||||
|
|
||||||
const quickActions = [
|
const quickActions = [
|
||||||
{
|
{
|
||||||
name: "Add new issue...",
|
name: "Add new issue...",
|
||||||
@ -81,6 +95,7 @@ const CommandPalette: React.FC = () => {
|
|||||||
const handleCommandPaletteClose = () => {
|
const handleCommandPaletteClose = () => {
|
||||||
setIsPaletteOpen(false);
|
setIsPaletteOpen(false);
|
||||||
setQuery("");
|
setQuery("");
|
||||||
|
reset();
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleKeyDown = useCallback(
|
const handleKeyDown = useCallback(
|
||||||
@ -127,21 +142,42 @@ const CommandPalette: React.FC = () => {
|
|||||||
[toggleCollapsed, setToastAlert, router]
|
[toggleCollapsed, setToastAlert, router]
|
||||||
);
|
);
|
||||||
|
|
||||||
const {
|
|
||||||
register,
|
|
||||||
formState: { errors, isSubmitting },
|
|
||||||
handleSubmit,
|
|
||||||
reset,
|
|
||||||
setError,
|
|
||||||
control,
|
|
||||||
} = useForm<FormInput>();
|
|
||||||
|
|
||||||
const handleDelete: SubmitHandler<FormInput> = (data) => {
|
const handleDelete: SubmitHandler<FormInput> = (data) => {
|
||||||
console.log("Deleting... " + JSON.stringify(data));
|
if (activeWorkspace && activeProject && data.issue_ids) {
|
||||||
|
issuesServices
|
||||||
|
.bulkDeleteIssues(activeWorkspace.slug, activeProject.id, data)
|
||||||
|
.then((res) => {
|
||||||
|
mutate<IssueResponse>(
|
||||||
|
PROJECT_ISSUES_LIST(activeWorkspace.slug, activeProject.id),
|
||||||
|
(prevData) => {
|
||||||
|
return {
|
||||||
|
...(prevData as IssueResponse),
|
||||||
|
count: (prevData?.results ?? []).filter(
|
||||||
|
(p) => !data.issue_ids.some((id) => p.id === id)
|
||||||
|
).length,
|
||||||
|
results: (prevData?.results ?? []).filter(
|
||||||
|
(p) => !data.issue_ids.some((id) => p.id === id)
|
||||||
|
),
|
||||||
|
};
|
||||||
|
},
|
||||||
|
false
|
||||||
|
);
|
||||||
|
})
|
||||||
|
.catch((e) => {
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleAddToCycle: SubmitHandler<FormInput> = (data) => {
|
const handleAddToCycle: SubmitHandler<FormInput> = (data) => {
|
||||||
console.log("Adding to cycle...");
|
if (activeWorkspace && activeProject && data.issue_ids) {
|
||||||
|
issuesServices
|
||||||
|
.bulkAddIssuesToCycle(activeWorkspace.slug, activeProject.id, "", data)
|
||||||
|
.then((res) => {})
|
||||||
|
.catch((e) => {
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -254,10 +290,16 @@ const CommandPalette: React.FC = () => {
|
|||||||
/> */}
|
/> */}
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
{...register("issue")}
|
{...register("issue_ids")}
|
||||||
|
id={`issue-${issue.id}`}
|
||||||
value={issue.id}
|
value={issue.id}
|
||||||
/>
|
/>
|
||||||
<span className="ml-3 flex-auto truncate">{issue.name}</span>
|
<label
|
||||||
|
htmlFor={`issue-${issue.id}`}
|
||||||
|
className="ml-3 flex-auto truncate"
|
||||||
|
>
|
||||||
|
{issue.name}
|
||||||
|
</label>
|
||||||
{active && (
|
{active && (
|
||||||
<span className="ml-3 flex-none text-gray-500">
|
<span className="ml-3 flex-none text-gray-500">
|
||||||
Jump to...
|
Jump to...
|
||||||
|
@ -19,6 +19,7 @@ import { LexicalToolbar } from "./toolbar";
|
|||||||
import { initialConfig } from "./config";
|
import { initialConfig } from "./config";
|
||||||
// helpers
|
// helpers
|
||||||
import { getValidatedValue } from "./helpers/editor";
|
import { getValidatedValue } from "./helpers/editor";
|
||||||
|
import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary";
|
||||||
|
|
||||||
export interface RichTextEditorProps {
|
export interface RichTextEditorProps {
|
||||||
onChange: (state: string) => void;
|
onChange: (state: string) => void;
|
||||||
@ -51,6 +52,7 @@ const RichTextEditor: FC<RichTextEditorProps> = (props) => {
|
|||||||
contentEditable={
|
contentEditable={
|
||||||
<ContentEditable className='className="h-[450px] outline-none py-[15px] px-2.5 resize-none overflow-hidden text-ellipsis' />
|
<ContentEditable className='className="h-[450px] outline-none py-[15px] px-2.5 resize-none overflow-hidden text-ellipsis' />
|
||||||
}
|
}
|
||||||
|
ErrorBoundary={LexicalErrorBoundary}
|
||||||
placeholder={
|
placeholder={
|
||||||
<div className="absolute top-[15px] left-[10px] pointer-events-none select-none text-gray-400">
|
<div className="absolute top-[15px] left-[10px] pointer-events-none select-none text-gray-400">
|
||||||
Enter some text...
|
Enter some text...
|
@ -14,6 +14,7 @@ import ReadOnlyPlugin from "./plugins/read-only";
|
|||||||
import { initialConfig } from "./config";
|
import { initialConfig } from "./config";
|
||||||
// helpers
|
// helpers
|
||||||
import { getValidatedValue } from "./helpers/editor";
|
import { getValidatedValue } from "./helpers/editor";
|
||||||
|
import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary";
|
||||||
|
|
||||||
export interface RichTextViewerProps {
|
export interface RichTextViewerProps {
|
||||||
id: string;
|
id: string;
|
||||||
@ -38,6 +39,7 @@ const RichTextViewer: FC<RichTextViewerProps> = (props) => {
|
|||||||
contentEditable={
|
contentEditable={
|
||||||
<ContentEditable className='className="h-[450px] outline-none py-[15px] resize-none overflow-hidden text-ellipsis' />
|
<ContentEditable className='className="h-[450px] outline-none py-[15px] resize-none overflow-hidden text-ellipsis' />
|
||||||
}
|
}
|
||||||
|
ErrorBoundary={LexicalErrorBoundary}
|
||||||
placeholder={
|
placeholder={
|
||||||
<div className="absolute top-[15px] left-[10px] pointer-events-none select-none text-gray-400">
|
<div className="absolute top-[15px] left-[10px] pointer-events-none select-none text-gray-400">
|
||||||
Enter some text...
|
Enter some text...
|
@ -55,9 +55,6 @@ const SingleBoard: React.FC<Props> = ({
|
|||||||
// Collapse/Expand
|
// Collapse/Expand
|
||||||
const [show, setState] = useState<any>(true);
|
const [show, setState] = useState<any>(true);
|
||||||
|
|
||||||
// Edit state name
|
|
||||||
const [showInput, setInput] = useState<any>(false);
|
|
||||||
|
|
||||||
if (selectedGroup === "priority")
|
if (selectedGroup === "priority")
|
||||||
groupTitle === "high"
|
groupTitle === "high"
|
||||||
? (bgColor = "#dc2626")
|
? (bgColor = "#dc2626")
|
||||||
@ -80,57 +77,52 @@ const SingleBoard: React.FC<Props> = ({
|
|||||||
<div className={`${!show ? "" : "h-full space-y-3 overflow-y-auto flex flex-col"}`}>
|
<div className={`${!show ? "" : "h-full space-y-3 overflow-y-auto flex flex-col"}`}>
|
||||||
<div
|
<div
|
||||||
className={`flex justify-between p-3 pb-0 ${
|
className={`flex justify-between p-3 pb-0 ${
|
||||||
snapshot.isDragging ? "bg-indigo-50 border-indigo-100 border-b" : ""
|
!show ? "flex-col bg-gray-50 rounded-md border" : ""
|
||||||
} ${!show ? "flex-col bg-gray-50 rounded-md border" : ""}`}
|
}`}
|
||||||
>
|
>
|
||||||
{showInput ? null : (
|
<div className={`flex items-center ${!show ? "flex-col gap-2" : "gap-1"}`}>
|
||||||
<div className={`flex items-center ${!show ? "flex-col gap-2" : "gap-1"}`}>
|
<button
|
||||||
<button
|
type="button"
|
||||||
type="button"
|
{...provided.dragHandleProps}
|
||||||
{...provided.dragHandleProps}
|
className={`h-7 w-7 p-1 grid place-items-center rounded hover:bg-gray-200 duration-300 outline-none ${
|
||||||
className={`h-7 w-7 p-1 grid place-items-center rounded hover:bg-gray-200 duration-300 outline-none ${
|
!show ? "" : "rotate-90"
|
||||||
!show ? "" : "rotate-90"
|
} ${selectedGroup !== "state_detail.name" ? "hidden" : ""}`}
|
||||||
} ${selectedGroup !== "state_detail.name" ? "hidden" : ""}`}
|
>
|
||||||
>
|
<EllipsisHorizontalIcon className="h-4 w-4 text-gray-600" />
|
||||||
<EllipsisHorizontalIcon className="h-4 w-4 text-gray-600" />
|
<EllipsisHorizontalIcon className="h-4 w-4 text-gray-600 mt-[-0.7rem]" />
|
||||||
<EllipsisHorizontalIcon className="h-4 w-4 text-gray-600 mt-[-0.7rem]" />
|
</button>
|
||||||
</button>
|
<div
|
||||||
<div
|
className={`flex items-center gap-x-1 px-2 bg-slate-900 rounded-md cursor-pointer ${
|
||||||
className={`flex items-center gap-x-1 px-2 bg-slate-900 rounded-md cursor-pointer ${
|
!show ? "py-2 mb-2 flex-col gap-y-2" : ""
|
||||||
!show ? "py-2 mb-2 flex-col gap-y-2" : ""
|
}`}
|
||||||
}`}
|
style={{
|
||||||
|
border: `2px solid ${bgColor}`,
|
||||||
|
backgroundColor: `${bgColor}20`,
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
className={`w-3 h-3 block rounded-full ${!show ? "" : "mr-1"}`}
|
||||||
style={{
|
style={{
|
||||||
border: `2px solid ${bgColor}`,
|
backgroundColor: bgColor,
|
||||||
backgroundColor: `${bgColor}20`,
|
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
/>
|
||||||
// setInput(true);
|
<h2
|
||||||
|
className={`text-[0.9rem] font-medium capitalize`}
|
||||||
|
style={{
|
||||||
|
writingMode: !show ? "vertical-rl" : "horizontal-tb",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span
|
{groupTitle === null || groupTitle === "null"
|
||||||
className={`w-3 h-3 block rounded-full ${!show ? "" : "mr-1"}`}
|
? "None"
|
||||||
style={{
|
: createdBy
|
||||||
backgroundColor: bgColor,
|
? createdBy
|
||||||
}}
|
: addSpaceIfCamelCase(groupTitle)}
|
||||||
/>
|
</h2>
|
||||||
<h2
|
<span className="text-gray-500 text-sm ml-0.5">
|
||||||
className={`text-[0.9rem] font-medium capitalize`}
|
{groupedByIssues[groupTitle].length}
|
||||||
style={{
|
</span>
|
||||||
writingMode: !show ? "vertical-rl" : "horizontal-tb",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{groupTitle === null || groupTitle === "null"
|
|
||||||
? "None"
|
|
||||||
: createdBy
|
|
||||||
? createdBy
|
|
||||||
: addSpaceIfCamelCase(groupTitle)}
|
|
||||||
</h2>
|
|
||||||
<span className="text-gray-500 text-sm ml-0.5">
|
|
||||||
{groupedByIssues[groupTitle].length}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
</div>
|
||||||
|
|
||||||
<div className={`flex items-center ${!show ? "flex-col pb-2" : ""}`}>
|
<div className={`flex items-center ${!show ? "flex-col pb-2" : ""}`}>
|
||||||
<button
|
<button
|
||||||
@ -138,7 +130,6 @@ const SingleBoard: React.FC<Props> = ({
|
|||||||
className="h-7 w-7 p-1 grid place-items-center rounded hover:bg-gray-200 duration-300 outline-none"
|
className="h-7 w-7 p-1 grid place-items-center rounded hover:bg-gray-200 duration-300 outline-none"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setState(!show);
|
setState(!show);
|
||||||
setInput(false);
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{show ? (
|
{show ? (
|
||||||
|
@ -20,7 +20,7 @@ type Props = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const SelectSprint: React.FC<Props> = ({ control, setIsOpen }) => {
|
const SelectSprint: React.FC<Props> = ({ control, setIsOpen }) => {
|
||||||
const { sprints } = useUser();
|
const { cycles } = useUser();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@ -35,7 +35,7 @@ const SelectSprint: React.FC<Props> = ({ control, setIsOpen }) => {
|
|||||||
<Listbox.Button className="flex items-center gap-1 hover:bg-gray-100 relative border rounded-md shadow-sm px-2 py-1 cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm duration-300">
|
<Listbox.Button className="flex items-center gap-1 hover:bg-gray-100 relative border rounded-md shadow-sm px-2 py-1 cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm duration-300">
|
||||||
<ArrowPathIcon className="h-3 w-3" />
|
<ArrowPathIcon className="h-3 w-3" />
|
||||||
<span className="block truncate">
|
<span className="block truncate">
|
||||||
{sprints?.find((i) => i.id.toString() === value?.toString())?.name ?? "Cycle"}
|
{cycles?.find((i) => i.id.toString() === value?.toString())?.name ?? "Cycle"}
|
||||||
</span>
|
</span>
|
||||||
</Listbox.Button>
|
</Listbox.Button>
|
||||||
|
|
||||||
@ -48,10 +48,10 @@ const SelectSprint: React.FC<Props> = ({ control, setIsOpen }) => {
|
|||||||
>
|
>
|
||||||
<Listbox.Options className="absolute z-10 mt-1 bg-white shadow-lg max-h-28 rounded-md py-1 text-xs ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none">
|
<Listbox.Options className="absolute z-10 mt-1 bg-white shadow-lg max-h-28 rounded-md py-1 text-xs ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none">
|
||||||
<div className="p-1">
|
<div className="p-1">
|
||||||
{sprints?.map((sprint) => (
|
{cycles?.map((cycle) => (
|
||||||
<Listbox.Option
|
<Listbox.Option
|
||||||
key={sprint.id}
|
key={cycle.id}
|
||||||
value={sprint.id}
|
value={cycle.id}
|
||||||
className={({ active }) =>
|
className={({ active }) =>
|
||||||
`relative cursor-pointer select-none p-2 rounded-md ${
|
`relative cursor-pointer select-none p-2 rounded-md ${
|
||||||
active ? "bg-theme text-white" : "text-gray-900"
|
active ? "bg-theme text-white" : "text-gray-900"
|
||||||
@ -61,7 +61,7 @@ const SelectSprint: React.FC<Props> = ({ control, setIsOpen }) => {
|
|||||||
{({ active, selected }) => (
|
{({ active, selected }) => (
|
||||||
<>
|
<>
|
||||||
<span className={`block ${selected && "font-semibold"}`}>
|
<span className={`block ${selected && "font-semibold"}`}>
|
||||||
{sprint.name}
|
{cycle.name}
|
||||||
</span>
|
</span>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import React from "react";
|
import React, { useState } from "react";
|
||||||
// swr
|
// swr
|
||||||
import useSWR from "swr";
|
import useSWR from "swr";
|
||||||
// headless ui
|
// headless ui
|
||||||
@ -22,6 +22,7 @@ import {
|
|||||||
import { classNames, copyTextToClipboard } from "constants/common";
|
import { classNames, copyTextToClipboard } from "constants/common";
|
||||||
// ui
|
// ui
|
||||||
import { Input, Button, Spinner } from "ui";
|
import { Input, Button, Spinner } from "ui";
|
||||||
|
import { Popover } from "@headlessui/react";
|
||||||
// icons
|
// icons
|
||||||
import {
|
import {
|
||||||
UserIcon,
|
UserIcon,
|
||||||
@ -37,6 +38,7 @@ import {
|
|||||||
// types
|
// types
|
||||||
import type { Control } from "react-hook-form";
|
import type { Control } from "react-hook-form";
|
||||||
import type { IIssue, IIssueLabels, IssueResponse, IState, WorkspaceMember } from "types";
|
import type { IIssue, IIssueLabels, IssueResponse, IState, WorkspaceMember } from "types";
|
||||||
|
import { TwitterPicker } from "react-color";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
control: Control<IIssue, any>;
|
control: Control<IIssue, any>;
|
||||||
@ -48,6 +50,7 @@ const PRIORITIES = ["high", "medium", "low"];
|
|||||||
|
|
||||||
const defaultValues: Partial<IIssueLabels> = {
|
const defaultValues: Partial<IIssueLabels> = {
|
||||||
name: "",
|
name: "",
|
||||||
|
colour: "#ff0000",
|
||||||
};
|
};
|
||||||
|
|
||||||
const IssueDetailSidebar: React.FC<Props> = ({ control, submitChanges, issueDetail }) => {
|
const IssueDetailSidebar: React.FC<Props> = ({ control, submitChanges, issueDetail }) => {
|
||||||
@ -86,6 +89,8 @@ const IssueDetailSidebar: React.FC<Props> = ({ control, submitChanges, issueDeta
|
|||||||
handleSubmit,
|
handleSubmit,
|
||||||
formState: { isSubmitting },
|
formState: { isSubmitting },
|
||||||
reset,
|
reset,
|
||||||
|
watch,
|
||||||
|
control: controlLabel,
|
||||||
} = useForm({
|
} = useForm({
|
||||||
defaultValues,
|
defaultValues,
|
||||||
});
|
});
|
||||||
@ -101,67 +106,79 @@ const IssueDetailSidebar: React.FC<Props> = ({ control, submitChanges, issueDeta
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const sidebarOptions = [
|
const sidebarSections = [
|
||||||
{
|
[
|
||||||
label: "Priority",
|
{
|
||||||
name: "priority",
|
label: "Status",
|
||||||
canSelectMultipleOptions: false,
|
name: "state",
|
||||||
icon: ChartBarIcon,
|
canSelectMultipleOptions: false,
|
||||||
options: PRIORITIES.map((property) => ({
|
icon: Squares2X2Icon,
|
||||||
label: property,
|
options: states?.map((state) => ({
|
||||||
value: property,
|
label: state.name,
|
||||||
})),
|
value: state.id,
|
||||||
},
|
})),
|
||||||
{
|
},
|
||||||
label: "Status",
|
{
|
||||||
name: "state",
|
label: "Assignees",
|
||||||
canSelectMultipleOptions: false,
|
name: "assignees_list",
|
||||||
icon: Squares2X2Icon,
|
canSelectMultipleOptions: true,
|
||||||
options: states?.map((state) => ({
|
icon: UserGroupIcon,
|
||||||
label: state.name,
|
options: people?.map((person) => ({
|
||||||
value: state.id,
|
label: person.member.first_name,
|
||||||
})),
|
value: person.member.id,
|
||||||
},
|
})),
|
||||||
{
|
},
|
||||||
label: "Cycle",
|
{
|
||||||
name: "cycle",
|
label: "Priority",
|
||||||
canSelectMultipleOptions: false,
|
name: "priority",
|
||||||
icon: ArrowPathIcon,
|
canSelectMultipleOptions: false,
|
||||||
options: cycles?.map((cycle) => ({
|
icon: ChartBarIcon,
|
||||||
label: cycle.name,
|
options: PRIORITIES.map((property) => ({
|
||||||
value: cycle.id,
|
label: property,
|
||||||
})),
|
value: property,
|
||||||
},
|
})),
|
||||||
{
|
},
|
||||||
label: "Assignees",
|
],
|
||||||
name: "assignees_list",
|
[
|
||||||
canSelectMultipleOptions: true,
|
{
|
||||||
icon: UserGroupIcon,
|
label: "Blocker",
|
||||||
options: people?.map((person) => ({
|
name: "blockers_list",
|
||||||
label: person.member.first_name,
|
canSelectMultipleOptions: true,
|
||||||
value: person.member.id,
|
icon: UserIcon,
|
||||||
})),
|
options: projectIssues?.results?.map((issue) => ({
|
||||||
},
|
label: issue.name,
|
||||||
{
|
value: issue.id,
|
||||||
label: "Blocker",
|
})),
|
||||||
name: "blockers_list",
|
},
|
||||||
canSelectMultipleOptions: true,
|
{
|
||||||
icon: UserIcon,
|
label: "Blocked",
|
||||||
options: projectIssues?.results?.map((issue) => ({
|
name: "blocked_list",
|
||||||
label: issue.name,
|
canSelectMultipleOptions: true,
|
||||||
value: issue.id,
|
icon: UserIcon,
|
||||||
})),
|
options: projectIssues?.results?.map((issue) => ({
|
||||||
},
|
label: issue.name,
|
||||||
{
|
value: issue.id,
|
||||||
label: "Blocked",
|
})),
|
||||||
name: "blocked_list",
|
},
|
||||||
canSelectMultipleOptions: true,
|
{
|
||||||
icon: UserIcon,
|
label: "Due Date",
|
||||||
options: projectIssues?.results?.map((issue) => ({
|
name: "target_date",
|
||||||
label: issue.name,
|
canSelectMultipleOptions: true,
|
||||||
value: issue.id,
|
icon: UserIcon,
|
||||||
})),
|
},
|
||||||
},
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
label: "Cycle",
|
||||||
|
name: "cycle",
|
||||||
|
canSelectMultipleOptions: false,
|
||||||
|
icon: ArrowPathIcon,
|
||||||
|
options: cycles?.map((cycle) => ({
|
||||||
|
label: cycle.name,
|
||||||
|
value: cycle.id,
|
||||||
|
})),
|
||||||
|
},
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
const handleCycleChange = (cycleId: string) => {
|
const handleCycleChange = (cycleId: string) => {
|
||||||
@ -172,219 +189,291 @@ const IssueDetailSidebar: React.FC<Props> = ({ control, submitChanges, issueDeta
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-full w-full">
|
<div className="h-full w-full divide-y-2 divide-gray-100">
|
||||||
<div className="space-y-3">
|
<div className="flex justify-between items-center pb-3">
|
||||||
<div className="flex flex-col gap-y-4">
|
<h4 className="text-sm font-medium">
|
||||||
<h3 className="text-lg font-medium leading-6 text-gray-900">Quick Actions</h3>
|
{activeProject?.identifier}-{issueDetail?.sequence_id}
|
||||||
<div className="flex items-center gap-2 flex-wrap">
|
</h4>
|
||||||
<button
|
<div className="flex items-center gap-2 flex-wrap">
|
||||||
type="button"
|
<button
|
||||||
className="p-2 hover:bg-gray-100 border rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 duration-300"
|
type="button"
|
||||||
onClick={() =>
|
className="p-2 hover:bg-gray-100 border rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 duration-300"
|
||||||
copyTextToClipboard(
|
onClick={() =>
|
||||||
`https://app.plane.so/projects/${activeProject?.id}/issues/${issueDetail?.id}`
|
copyTextToClipboard(
|
||||||
)
|
`https://app.plane.so/projects/${activeProject?.id}/issues/${issueDetail?.id}`
|
||||||
}
|
)
|
||||||
>
|
}
|
||||||
<LinkIcon className="h-3.5 w-3.5" />
|
>
|
||||||
</button>
|
<LinkIcon className="h-3.5 w-3.5" />
|
||||||
<button
|
</button>
|
||||||
type="button"
|
<button
|
||||||
className="p-2 hover:bg-gray-100 border rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 duration-300"
|
type="button"
|
||||||
onClick={() => copyTextToClipboard(`${issueDetail?.id}`)}
|
className="p-2 hover:bg-gray-100 border rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 duration-300"
|
||||||
>
|
onClick={() => copyTextToClipboard(`${issueDetail?.id}`)}
|
||||||
<ClipboardDocumentIcon className="h-3.5 w-3.5" />
|
>
|
||||||
</button>
|
<ClipboardDocumentIcon className="h-3.5 w-3.5" />
|
||||||
</div>
|
</button>
|
||||||
{sidebarOptions.map((item) => (
|
</div>
|
||||||
<div className="flex items-center justify-between gap-x-2" key={item.label}>
|
</div>
|
||||||
<div className="flex items-center gap-x-2 text-sm">
|
<div className="divide-y-2 divide-gray-100">
|
||||||
<item.icon className="h-4 w-4" />
|
{sidebarSections.map((section, index) => (
|
||||||
<p>{item.label}</p>
|
<div key={index} className="py-1">
|
||||||
</div>
|
{section.map((item) => (
|
||||||
<div>
|
<div key={item.label} className="flex justify-between items-center gap-x-2 py-2">
|
||||||
<Controller
|
<div className="flex items-center gap-x-2 text-sm">
|
||||||
control={control}
|
<item.icon className="h-4 w-4" />
|
||||||
name={item.name as keyof IIssue}
|
<p>{item.label}</p>
|
||||||
render={({ field: { value } }) => (
|
</div>
|
||||||
<Listbox
|
<div>
|
||||||
as="div"
|
{item.name === "target_date" ? (
|
||||||
value={value}
|
<Controller
|
||||||
multiple={item.canSelectMultipleOptions}
|
control={control}
|
||||||
onChange={(value: any) => {
|
name="target_date"
|
||||||
if (item.name === "cycle") handleCycleChange(value);
|
render={({ field: { value, onChange } }) => (
|
||||||
else submitChanges({ [item.name]: value });
|
<input
|
||||||
}}
|
type="date"
|
||||||
className="flex-shrink-0"
|
value={value ?? new Date().toString()}
|
||||||
>
|
onChange={(e: any) => {
|
||||||
{({ open }) => (
|
submitChanges({ target_date: e.target.value });
|
||||||
<div className="relative">
|
onChange(e.target.value);
|
||||||
<Listbox.Button className="relative flex justify-between items-center gap-1 hover:bg-gray-100 border rounded-md shadow-sm px-2 py-1 cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 text-sm duration-300">
|
}}
|
||||||
<span
|
className="hover:bg-gray-100 border rounded-md shadow-sm px-2 py-1 cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 text-xs duration-300"
|
||||||
className={classNames(
|
/>
|
||||||
value ? "" : "text-gray-900",
|
|
||||||
"hidden truncate sm:block w-16 text-left",
|
|
||||||
item.label === "Priority" ? "capitalize" : ""
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
{value
|
|
||||||
? Array.isArray(value)
|
|
||||||
? value
|
|
||||||
.map(
|
|
||||||
(i: any) =>
|
|
||||||
item.options?.find((option) => option.value === i)?.label
|
|
||||||
)
|
|
||||||
.join(", ") || item.label
|
|
||||||
: item.options?.find((option) => option.value === value)?.label
|
|
||||||
: "None"}
|
|
||||||
</span>
|
|
||||||
<ChevronDownIcon className="h-3 w-3" />
|
|
||||||
</Listbox.Button>
|
|
||||||
|
|
||||||
<Transition
|
|
||||||
show={open}
|
|
||||||
as={React.Fragment}
|
|
||||||
leave="transition ease-in duration-100"
|
|
||||||
leaveFrom="opacity-100"
|
|
||||||
leaveTo="opacity-0"
|
|
||||||
>
|
|
||||||
<Listbox.Options className="absolute z-10 right-0 mt-1 w-40 bg-white shadow-lg max-h-28 rounded-md py-1 text-xs ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none">
|
|
||||||
<div className="p-1">
|
|
||||||
{item.options ? (
|
|
||||||
item.options.length > 0 ? (
|
|
||||||
item.options.map((option) => (
|
|
||||||
<Listbox.Option
|
|
||||||
key={option.value}
|
|
||||||
className={({ active, selected }) =>
|
|
||||||
`${
|
|
||||||
active || selected
|
|
||||||
? "text-white bg-theme"
|
|
||||||
: "text-gray-900"
|
|
||||||
} ${
|
|
||||||
item.label === "Priority" && "capitalize"
|
|
||||||
} cursor-pointer select-none relative p-2 rounded-md truncate`
|
|
||||||
}
|
|
||||||
value={option.value}
|
|
||||||
>
|
|
||||||
{option.label}
|
|
||||||
</Listbox.Option>
|
|
||||||
))
|
|
||||||
) : (
|
|
||||||
<div className="text-center">No {item.label}s found</div>
|
|
||||||
)
|
|
||||||
) : (
|
|
||||||
<Spinner />
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
</Listbox.Options>
|
|
||||||
</Transition>
|
|
||||||
</div>
|
|
||||||
)}
|
)}
|
||||||
</Listbox>
|
/>
|
||||||
)}
|
) : (
|
||||||
/>
|
<Controller
|
||||||
</div>
|
control={control}
|
||||||
</div>
|
name={item.name as keyof IIssue}
|
||||||
))}
|
render={({ field: { value } }) => (
|
||||||
<div>
|
<Listbox
|
||||||
<form className="flex items-center gap-x-2" onSubmit={handleSubmit(onSubmit)}>
|
as="div"
|
||||||
<Input
|
value={value}
|
||||||
id="name"
|
multiple={item.canSelectMultipleOptions}
|
||||||
name="name"
|
onChange={(value: any) => {
|
||||||
placeholder="Add new label"
|
if (item.name === "cycle") handleCycleChange(value);
|
||||||
register={register}
|
else submitChanges({ [item.name]: value });
|
||||||
validations={{
|
}}
|
||||||
required: false,
|
className="flex-shrink-0"
|
||||||
}}
|
>
|
||||||
autoComplete="off"
|
{({ open }) => (
|
||||||
/>
|
<div className="relative">
|
||||||
<Button type="submit" disabled={isSubmitting}>
|
<Listbox.Button className="relative flex justify-between items-center gap-1 hover:bg-gray-100 border rounded-md shadow-sm px-2 py-1 cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 text-sm duration-300">
|
||||||
+
|
<span
|
||||||
</Button>
|
className={classNames(
|
||||||
</form>
|
value ? "" : "text-gray-900",
|
||||||
</div>
|
"hidden truncate sm:block w-16 text-left",
|
||||||
<div className="flex justify-between items-center gap-x-2">
|
item.label === "Priority" ? "capitalize" : ""
|
||||||
<div className="flex items-center gap-x-2 text-sm">
|
)}
|
||||||
<TagIcon className="w-4 h-4" />
|
>
|
||||||
<p>Label</p>
|
{value
|
||||||
</div>
|
? Array.isArray(value)
|
||||||
<div>
|
? value
|
||||||
<Controller
|
.map(
|
||||||
control={control}
|
(i: any) =>
|
||||||
name="labels_list"
|
item.options?.find((option) => option.value === i)
|
||||||
render={({ field: { value } }) => (
|
?.label
|
||||||
<Listbox
|
)
|
||||||
as="div"
|
.join(", ") || item.label
|
||||||
value={value}
|
: item.options?.find((option) => option.value === value)
|
||||||
multiple
|
?.label
|
||||||
onChange={(value) => submitChanges({ labels_list: value })}
|
: "None"}
|
||||||
className="flex-shrink-0"
|
</span>
|
||||||
>
|
<ChevronDownIcon className="h-3 w-3" />
|
||||||
{({ open }) => (
|
</Listbox.Button>
|
||||||
<>
|
|
||||||
<Listbox.Label className="sr-only">Label</Listbox.Label>
|
|
||||||
<div className="relative">
|
|
||||||
<Listbox.Button className="relative flex justify-between items-center gap-1 hover:bg-gray-100 border rounded-md shadow-sm px-2 py-1 cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 text-sm duration-300">
|
|
||||||
<span
|
|
||||||
className={classNames(
|
|
||||||
value ? "" : "text-gray-900",
|
|
||||||
"hidden truncate capitalize sm:block w-16 text-left"
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
{value && value.length > 0
|
|
||||||
? value
|
|
||||||
.map(
|
|
||||||
(i: string) =>
|
|
||||||
issueLabels?.find((option) => option.id === i)?.name
|
|
||||||
)
|
|
||||||
.join(", ")
|
|
||||||
: "None"}
|
|
||||||
</span>
|
|
||||||
<ChevronDownIcon className="h-3 w-3" />
|
|
||||||
</Listbox.Button>
|
|
||||||
|
|
||||||
<Transition
|
<Transition
|
||||||
show={open}
|
show={open}
|
||||||
as={React.Fragment}
|
as={React.Fragment}
|
||||||
leave="transition ease-in duration-100"
|
leave="transition ease-in duration-100"
|
||||||
leaveFrom="opacity-100"
|
leaveFrom="opacity-100"
|
||||||
leaveTo="opacity-0"
|
leaveTo="opacity-0"
|
||||||
>
|
>
|
||||||
<Listbox.Options className="absolute z-10 right-0 mt-1 w-40 bg-white shadow-lg max-h-28 rounded-md py-1 text-xs ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none">
|
<Listbox.Options className="absolute z-10 right-0 mt-1 w-40 bg-white shadow-lg max-h-28 rounded-md py-1 text-xs ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none">
|
||||||
<div className="p-1">
|
<div className="p-1">
|
||||||
{issueLabels ? (
|
{item.options ? (
|
||||||
issueLabels.length > 0 ? (
|
item.options.length > 0 ? (
|
||||||
issueLabels.map((label: any) => (
|
item.options.map((option) => (
|
||||||
<Listbox.Option
|
<Listbox.Option
|
||||||
key={label.id}
|
key={option.value}
|
||||||
className={({ active, selected }) =>
|
className={({ active, selected }) =>
|
||||||
`${
|
`${
|
||||||
active || selected
|
active || selected
|
||||||
? "text-white bg-theme"
|
? "text-white bg-theme"
|
||||||
: "text-gray-900"
|
: "text-gray-900"
|
||||||
} cursor-pointer select-none relative p-2 rounded-md truncate`
|
} ${
|
||||||
}
|
item.label === "Priority" && "capitalize"
|
||||||
value={label.id}
|
} cursor-pointer select-none relative p-2 rounded-md truncate`
|
||||||
>
|
}
|
||||||
{label.name}
|
value={option.value}
|
||||||
</Listbox.Option>
|
>
|
||||||
))
|
{option.label}
|
||||||
) : (
|
</Listbox.Option>
|
||||||
<div className="text-center">No labels found</div>
|
))
|
||||||
)
|
) : (
|
||||||
) : (
|
<div className="text-center">No {item.label}s found</div>
|
||||||
<Spinner />
|
)
|
||||||
)}
|
) : (
|
||||||
</div>
|
<Spinner />
|
||||||
</Listbox.Options>
|
)}
|
||||||
</Transition>
|
</div>
|
||||||
</div>
|
</Listbox.Options>
|
||||||
</>
|
</Transition>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</Listbox>
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
<div className="space-y-2 pt-3">
|
||||||
|
<h5 className="text-xs font-medium">Add new label</h5>
|
||||||
|
<form className="flex items-center gap-x-2" onSubmit={handleSubmit(onSubmit)}>
|
||||||
|
<div>
|
||||||
|
<Popover className="relative">
|
||||||
|
{({ open }) => (
|
||||||
|
<>
|
||||||
|
<Popover.Button
|
||||||
|
className={`bg-white flex items-center gap-1 rounded-md p-1 outline-none focus:ring-2 focus:ring-indigo-500`}
|
||||||
|
>
|
||||||
|
{watch("colour") && watch("colour") !== "" && (
|
||||||
|
<span
|
||||||
|
className="w-6 h-6 rounded"
|
||||||
|
style={{
|
||||||
|
backgroundColor: watch("colour") ?? "green",
|
||||||
|
}}
|
||||||
|
></span>
|
||||||
)}
|
)}
|
||||||
</Listbox>
|
<ChevronDownIcon className="h-4 w-4" />
|
||||||
)}
|
</Popover.Button>
|
||||||
/>
|
|
||||||
</div>
|
<Transition
|
||||||
|
as={React.Fragment}
|
||||||
|
enter="transition ease-out duration-200"
|
||||||
|
enterFrom="opacity-0 translate-y-1"
|
||||||
|
enterTo="opacity-100 translate-y-0"
|
||||||
|
leave="transition ease-in duration-150"
|
||||||
|
leaveFrom="opacity-100 translate-y-0"
|
||||||
|
leaveTo="opacity-0 translate-y-1"
|
||||||
|
>
|
||||||
|
<Popover.Panel className="absolute z-10 transform right-0 mt-1 px-2 max-w-xs sm:px-0">
|
||||||
|
<Controller
|
||||||
|
name="colour"
|
||||||
|
control={controlLabel}
|
||||||
|
render={({ field: { value, onChange } }) => (
|
||||||
|
<TwitterPicker color={value} onChange={(value) => onChange(value.hex)} />
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
</Popover.Panel>
|
||||||
|
</Transition>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</Popover>
|
||||||
|
</div>
|
||||||
|
<Input
|
||||||
|
id="name"
|
||||||
|
name="name"
|
||||||
|
placeholder="Title"
|
||||||
|
register={register}
|
||||||
|
validations={{
|
||||||
|
required: "This is required",
|
||||||
|
}}
|
||||||
|
autoComplete="off"
|
||||||
|
/>
|
||||||
|
<Button type="submit" disabled={isSubmitting}>
|
||||||
|
+
|
||||||
|
</Button>
|
||||||
|
</form>
|
||||||
|
<div className="flex justify-between items-center gap-x-2">
|
||||||
|
<div className="flex items-center gap-x-2 text-sm">
|
||||||
|
<TagIcon className="w-4 h-4" />
|
||||||
|
<p>Label</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<Controller
|
||||||
|
control={control}
|
||||||
|
name="labels_list"
|
||||||
|
render={({ field: { value } }) => (
|
||||||
|
<Listbox
|
||||||
|
as="div"
|
||||||
|
value={value}
|
||||||
|
multiple
|
||||||
|
onChange={(value: any) => submitChanges({ labels_list: value })}
|
||||||
|
className="flex-shrink-0"
|
||||||
|
>
|
||||||
|
{({ open }) => (
|
||||||
|
<>
|
||||||
|
<Listbox.Label className="sr-only">Label</Listbox.Label>
|
||||||
|
<div className="relative">
|
||||||
|
<Listbox.Button className="relative flex justify-between items-center gap-1 hover:bg-gray-100 border rounded-md shadow-sm px-2 py-1 cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 text-sm duration-300">
|
||||||
|
<span
|
||||||
|
className={classNames(
|
||||||
|
value ? "" : "text-gray-900",
|
||||||
|
"hidden truncate capitalize sm:block w-16 text-left"
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
{value && value.length > 0
|
||||||
|
? value
|
||||||
|
.map(
|
||||||
|
(i: string) =>
|
||||||
|
issueLabels?.find((option) => option.id === i)?.name
|
||||||
|
)
|
||||||
|
.join(", ")
|
||||||
|
: "None"}
|
||||||
|
</span>
|
||||||
|
<ChevronDownIcon className="h-3 w-3" />
|
||||||
|
</Listbox.Button>
|
||||||
|
|
||||||
|
<Transition
|
||||||
|
show={open}
|
||||||
|
as={React.Fragment}
|
||||||
|
leave="transition ease-in duration-100"
|
||||||
|
leaveFrom="opacity-100"
|
||||||
|
leaveTo="opacity-0"
|
||||||
|
>
|
||||||
|
<Listbox.Options className="absolute z-10 right-0 mt-1 w-40 bg-white shadow-lg max-h-28 rounded-md py-1 text-xs ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none">
|
||||||
|
<div className="p-1">
|
||||||
|
{issueLabels ? (
|
||||||
|
issueLabels.length > 0 ? (
|
||||||
|
issueLabels.map((label: IIssueLabels) => (
|
||||||
|
<Listbox.Option
|
||||||
|
key={label.id}
|
||||||
|
className={({ active, selected }) =>
|
||||||
|
`${
|
||||||
|
active || selected
|
||||||
|
? "text-white bg-theme"
|
||||||
|
: "text-gray-900"
|
||||||
|
} flex items-center gap-2 cursor-pointer select-none relative p-2 rounded-md truncate`
|
||||||
|
}
|
||||||
|
value={label.id}
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
className="h-2 w-2 rounded-full flex-shrink-0"
|
||||||
|
style={{ backgroundColor: label.colour ?? "green" }}
|
||||||
|
></span>
|
||||||
|
{label.name}
|
||||||
|
</Listbox.Option>
|
||||||
|
))
|
||||||
|
) : (
|
||||||
|
<div className="text-center">No labels found</div>
|
||||||
|
)
|
||||||
|
) : (
|
||||||
|
<Spinner />
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</Listbox.Options>
|
||||||
|
</Transition>
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</Listbox>
|
||||||
|
)}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// next
|
// next
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import {
|
import {
|
||||||
|
CalendarDaysIcon,
|
||||||
ChartBarIcon,
|
ChartBarIcon,
|
||||||
ChatBubbleBottomCenterTextIcon,
|
ChatBubbleBottomCenterTextIcon,
|
||||||
Squares2X2Icon,
|
Squares2X2Icon,
|
||||||
@ -19,6 +20,7 @@ const activityIcons = {
|
|||||||
priority: <ChartBarIcon className="h-4 w-4" />,
|
priority: <ChartBarIcon className="h-4 w-4" />,
|
||||||
name: <ChatBubbleBottomCenterTextIcon className="h-4 w-4" />,
|
name: <ChatBubbleBottomCenterTextIcon className="h-4 w-4" />,
|
||||||
description: <ChatBubbleBottomCenterTextIcon className="h-4 w-4" />,
|
description: <ChatBubbleBottomCenterTextIcon className="h-4 w-4" />,
|
||||||
|
target_date: <CalendarDaysIcon className="h-4 w-4" />,
|
||||||
};
|
};
|
||||||
|
|
||||||
const IssueActivitySection: React.FC<Props> = ({ issueActivities, states }) => {
|
const IssueActivitySection: React.FC<Props> = ({ issueActivities, states }) => {
|
||||||
@ -64,43 +66,41 @@ const IssueActivitySection: React.FC<Props> = ({ issueActivities, states }) => {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="w-full">
|
<div className="w-full text-xs">
|
||||||
<p>
|
<p>
|
||||||
{activity.actor_detail.first_name} {activity.actor_detail.last_name}{" "}
|
<span className="font-medium">
|
||||||
|
{activity.actor_detail.first_name} {activity.actor_detail.last_name}
|
||||||
|
</span>{" "}
|
||||||
<span>{activity.verb}</span>{" "}
|
<span>{activity.verb}</span>{" "}
|
||||||
{activity.verb !== "created" ? (
|
{activity.verb !== "created" ? (
|
||||||
<span>{activity.field ?? "commented"}</span>
|
<span>{activity.field ?? "commented"}</span>
|
||||||
) : (
|
) : (
|
||||||
" this issue"
|
" this issue"
|
||||||
)}
|
)}
|
||||||
|
<span className="ml-2 text-gray-500">{timeAgo(activity.created_at)}</span>
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xs text-gray-500">{timeAgo(activity.created_at)}</p>
|
|
||||||
<div className="w-full mt-2">
|
<div className="w-full mt-2">
|
||||||
{activity.verb !== "created" && (
|
{activity.verb !== "created" && (
|
||||||
<div className="text-sm">
|
<div>
|
||||||
<div>
|
<div>
|
||||||
From:{" "}
|
<span className="text-gray-500">From: </span>
|
||||||
<span className="text-gray-500">
|
{activity.field === "state"
|
||||||
{activity.field === "state"
|
? activity.old_value
|
||||||
? activity.old_value
|
? addSpaceIfCamelCase(
|
||||||
? addSpaceIfCamelCase(
|
states?.find((s) => s.id === activity.old_value)?.name ?? ""
|
||||||
states?.find((s) => s.id === activity.old_value)?.name ?? ""
|
)
|
||||||
)
|
: "None"
|
||||||
: "None"
|
: activity.old_value}
|
||||||
: activity.old_value}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
To:{" "}
|
<span className="text-gray-500">To: </span>
|
||||||
<span className="text-gray-500">
|
{activity.field === "state"
|
||||||
{activity.field === "state"
|
? activity.new_value
|
||||||
? activity.new_value
|
? addSpaceIfCamelCase(
|
||||||
? addSpaceIfCamelCase(
|
states?.find((s) => s.id === activity.new_value)?.name ?? ""
|
||||||
states?.find((s) => s.id === activity.new_value)?.name ?? ""
|
)
|
||||||
)
|
: "None"
|
||||||
: "None"
|
: activity.new_value}
|
||||||
: activity.new_value}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
@ -103,6 +103,13 @@ export const ISSUE_LABELS = (workspaceSlug: string, projectId: string) =>
|
|||||||
|
|
||||||
export const FILTER_STATE_ISSUES = (workspaceSlug: string, projectId: string, state: string) =>
|
export const FILTER_STATE_ISSUES = (workspaceSlug: string, projectId: string, state: string) =>
|
||||||
`/api/workspaces/${workspaceSlug}/projects/${projectId}/issues/?state=${state}`;
|
`/api/workspaces/${workspaceSlug}/projects/${projectId}/issues/?state=${state}`;
|
||||||
|
export const BULK_DELETE_ISSUES = (workspaceSlug: string, projectId: string) =>
|
||||||
|
`/api/workspaces/${workspaceSlug}/projects/${projectId}/bulk-delete-issues/`;
|
||||||
|
export const BULK_ADD_ISSUES_TO_CYCLE = (
|
||||||
|
workspaceSlug: string,
|
||||||
|
projectId: string,
|
||||||
|
cycleId: string
|
||||||
|
) => `/api/workspaces/${workspaceSlug}/projects/${projectId}/cycles/${cycleId}/bulk-assign-issues/`;
|
||||||
|
|
||||||
// states
|
// states
|
||||||
export const STATES_ENDPOINT = (workspaceSlug: string, projectId: string) =>
|
export const STATES_ENDPOINT = (workspaceSlug: string, projectId: string) =>
|
||||||
|
@ -78,10 +78,11 @@ abstract class APIService {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
delete(url: string, config = {}): Promise<any> {
|
delete(url: string, data?: any, config = {}): Promise<any> {
|
||||||
return axios({
|
return axios({
|
||||||
method: "delete",
|
method: "delete",
|
||||||
url: this.baseURL + url,
|
url: this.baseURL + url,
|
||||||
|
data: data,
|
||||||
headers: this.getAccessToken() ? this.getHeaders() : {},
|
headers: this.getAccessToken() ? this.getHeaders() : {},
|
||||||
...config,
|
...config,
|
||||||
});
|
});
|
||||||
|
@ -8,6 +8,8 @@ import {
|
|||||||
ISSUE_PROPERTIES_ENDPOINT,
|
ISSUE_PROPERTIES_ENDPOINT,
|
||||||
CYCLE_DETAIL,
|
CYCLE_DETAIL,
|
||||||
ISSUE_LABELS,
|
ISSUE_LABELS,
|
||||||
|
BULK_DELETE_ISSUES,
|
||||||
|
BULK_ADD_ISSUES_TO_CYCLE,
|
||||||
} from "constants/api-routes";
|
} from "constants/api-routes";
|
||||||
// services
|
// services
|
||||||
import APIService from "lib/services/api.service";
|
import APIService from "lib/services/api.service";
|
||||||
@ -235,6 +237,31 @@ class ProjectIssuesServices extends APIService {
|
|||||||
throw error?.response?.data;
|
throw error?.response?.data;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async bulkDeleteIssues(workspace_slug: string, projectId: string, data: any): Promise<any> {
|
||||||
|
return this.delete(BULK_DELETE_ISSUES(workspace_slug, projectId), data)
|
||||||
|
.then((response) => {
|
||||||
|
return response?.data;
|
||||||
|
})
|
||||||
|
.catch((error) => {
|
||||||
|
throw error?.response?.data;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
async bulkAddIssuesToCycle(
|
||||||
|
workspace_slug: string,
|
||||||
|
projectId: string,
|
||||||
|
cycleId: string,
|
||||||
|
data: any
|
||||||
|
): Promise<any> {
|
||||||
|
return this.post(BULK_ADD_ISSUES_TO_CYCLE(workspace_slug, projectId, cycleId), data)
|
||||||
|
.then((response) => {
|
||||||
|
return response?.data;
|
||||||
|
})
|
||||||
|
.catch((error) => {
|
||||||
|
throw error?.response?.data;
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default new ProjectIssuesServices();
|
export default new ProjectIssuesServices();
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@headlessui/react": "^1.7.3",
|
"@headlessui/react": "^1.7.3",
|
||||||
"@heroicons/react": "^2.0.12",
|
"@heroicons/react": "^2.0.12",
|
||||||
|
"@lexical/list": "^0.6.4",
|
||||||
|
"@lexical/react": "^0.6.4",
|
||||||
|
"@lexical/utils": "^0.6.4",
|
||||||
"axios": "^1.1.3",
|
"axios": "^1.1.3",
|
||||||
"js-cookie": "^3.0.1",
|
"js-cookie": "^3.0.1",
|
||||||
"lexical": "^0.6.4",
|
"lexical": "^0.6.4",
|
||||||
|
@ -21,11 +21,7 @@ import { Button, Spinner, EmptySpace, EmptySpaceItem } from "ui";
|
|||||||
import { CubeIcon, PlusIcon } from "@heroicons/react/24/outline";
|
import { CubeIcon, PlusIcon } from "@heroicons/react/24/outline";
|
||||||
// types
|
// types
|
||||||
import type { IWorkspaceInvitation } from "types";
|
import type { IWorkspaceInvitation } from "types";
|
||||||
<<<<<<< Updated upstream
|
import Link from "next/link";
|
||||||
import { CubeIcon, PlusIcon } from "@heroicons/react/24/outline";
|
|
||||||
import { EmptySpace, EmptySpaceItem } from "ui/EmptySpace";
|
|
||||||
=======
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
|
|
||||||
const OnBoard: NextPage = () => {
|
const OnBoard: NextPage = () => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
@ -71,16 +67,9 @@ const OnBoard: NextPage = () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
<<<<<<< Updated upstream
|
// if (workspaces && workspaces.length === 0) setCanRedirect(false);
|
||||||
userService.updateUserOnBoard().then((response) => {
|
// }, [workspaces]);
|
||||||
console.log(response);
|
|
||||||
});
|
|
||||||
}, []);
|
|
||||||
=======
|
|
||||||
if (workspaces && workspaces.length === 0) setCanRedirect(false);
|
|
||||||
}, [workspaces]);
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DefaultLayout
|
<DefaultLayout
|
||||||
@ -100,7 +89,6 @@ const OnBoard: NextPage = () => {
|
|||||||
<div className="w-full md:w-2/3 lg:w-1/3 p-8 rounded-lg">
|
<div className="w-full md:w-2/3 lg:w-1/3 p-8 rounded-lg">
|
||||||
{invitations && workspaces ? (
|
{invitations && workspaces ? (
|
||||||
invitations.length > 0 ? (
|
invitations.length > 0 ? (
|
||||||
<<<<<<< Updated upstream
|
|
||||||
<div className="mt-3 sm:mt-5">
|
<div className="mt-3 sm:mt-5">
|
||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
<h2 className="text-2xl font-medium mb-4">Join your workspaces</h2>
|
<h2 className="text-2xl font-medium mb-4">Join your workspaces</h2>
|
||||||
@ -141,11 +129,6 @@ const OnBoard: NextPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
=======
|
|
||||||
<div className="max-w-lg">
|
|
||||||
<div className="mb-4">
|
|
||||||
<CubeIcon className="h-14 w-14 text-gray-400" />
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
</div>
|
</div>
|
||||||
<h2 className="text-lg font-medium text-gray-900">Workspace Invitations</h2>
|
<h2 className="text-lg font-medium text-gray-900">Workspace Invitations</h2>
|
||||||
<p className="mt-1 text-sm text-gray-500">
|
<p className="mt-1 text-sm text-gray-500">
|
||||||
|
@ -53,7 +53,19 @@ const IssueDetail: NextPage = () => {
|
|||||||
handleSubmit,
|
handleSubmit,
|
||||||
reset,
|
reset,
|
||||||
control,
|
control,
|
||||||
} = useForm<IIssue>({});
|
} = useForm<IIssue>({
|
||||||
|
defaultValues: {
|
||||||
|
name: "",
|
||||||
|
description: "",
|
||||||
|
state: "",
|
||||||
|
assignees_list: [],
|
||||||
|
priority: "low",
|
||||||
|
blockers_list: [],
|
||||||
|
blocked_list: [],
|
||||||
|
target_date: new Date().toString(),
|
||||||
|
cycle: "",
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
const { data: issueActivities } = useSWR<any[]>(
|
const { data: issueActivities } = useSWR<any[]>(
|
||||||
activeWorkspace && projectId && issueId ? PROJECT_ISSUES_ACTIVITY : null,
|
activeWorkspace && projectId && issueId ? PROJECT_ISSUES_ACTIVITY : null,
|
||||||
@ -150,21 +162,18 @@ const IssueDetail: NextPage = () => {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="space-y-5">
|
<div className="space-y-5">
|
||||||
<Breadcrumbs>
|
|
||||||
<BreadcrumbItem
|
|
||||||
title={`${activeProject?.name ?? "Project"} Issues`}
|
|
||||||
link={`/projects/${activeProject?.id}/issues`}
|
|
||||||
/>
|
|
||||||
<BreadcrumbItem
|
|
||||||
title={`Issue ${activeProject?.identifier ?? "Project"}-${
|
|
||||||
issueDetail?.sequence_id ?? "..."
|
|
||||||
} Details`}
|
|
||||||
/>
|
|
||||||
</Breadcrumbs>
|
|
||||||
<div className="flex items-center justify-between w-full">
|
<div className="flex items-center justify-between w-full">
|
||||||
<h2 className="text-lg font-medium">{`${activeProject?.name ?? "Project"}/${
|
<Breadcrumbs>
|
||||||
activeProject?.identifier ?? "..."
|
<BreadcrumbItem
|
||||||
}-${issueDetail?.sequence_id ?? "..."}`}</h2>
|
title={`${activeProject?.name ?? "Project"} Issues`}
|
||||||
|
link={`/projects/${activeProject?.id}/issues`}
|
||||||
|
/>
|
||||||
|
<BreadcrumbItem
|
||||||
|
title={`Issue ${activeProject?.identifier ?? "Project"}-${
|
||||||
|
issueDetail?.sequence_id ?? "..."
|
||||||
|
} Details`}
|
||||||
|
/>
|
||||||
|
</Breadcrumbs>
|
||||||
<div className="flex items-center gap-x-3">
|
<div className="flex items-center gap-x-3">
|
||||||
<HeaderButton
|
<HeaderButton
|
||||||
Icon={ChevronLeftIcon}
|
Icon={ChevronLeftIcon}
|
||||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 1.6 KiB |
@ -14,6 +14,13 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
-ms-text-size-adjust: 100%;
|
||||||
|
font-variant-ligatures: none;
|
||||||
|
-webkit-font-variant-ligatures: none;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scrollbar style */
|
/* Scrollbar style */
|
||||||
|
3
apps/app/types/issues.d.ts
vendored
@ -45,6 +45,7 @@ export interface IIssue {
|
|||||||
blockers: any[];
|
blockers: any[];
|
||||||
blocked_issue_details: any[];
|
blocked_issue_details: any[];
|
||||||
sprints: string | null;
|
sprints: string | null;
|
||||||
|
cycle: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BlockeIssue {
|
export interface BlockeIssue {
|
||||||
@ -118,8 +119,10 @@ export interface IIssueLabels {
|
|||||||
updated_at: Date;
|
updated_at: Date;
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
|
colour: string;
|
||||||
created_by: string;
|
created_by: string;
|
||||||
updated_by: string;
|
updated_by: string;
|
||||||
project: string;
|
project: string;
|
||||||
workspace: string;
|
workspace: string;
|
||||||
|
parent: string | null;
|
||||||
}
|
}
|
||||||
|
44
turbo.json
@ -1,25 +1,25 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://turbo.build/schema.json",
|
"$schema": "https://turbo.build/schema.json",
|
||||||
"pipeline": {
|
"pipeline": {
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": [".next/**", "dist/**"]
|
"outputs": [".next/**", "dist/**"]
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": []
|
"outputs": []
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"outputs": []
|
"outputs": []
|
||||||
},
|
},
|
||||||
"dev": {
|
"dev": {
|
||||||
"cache": false
|
"cache": false
|
||||||
},
|
},
|
||||||
"start": {
|
"start": {
|
||||||
"cache": false
|
"cache": false
|
||||||
},
|
},
|
||||||
"clean": {
|
"clean": {
|
||||||
"cache": false
|
"cache": false
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
285
yarn.lock
@ -10,7 +10,7 @@
|
|||||||
core-js-pure "^3.25.1"
|
core-js-pure "^3.25.1"
|
||||||
regenerator-runtime "^0.13.11"
|
regenerator-runtime "^0.13.11"
|
||||||
|
|
||||||
"@babel/runtime@^7.10.2", "@babel/runtime@^7.15.4", "@babel/runtime@^7.18.9", "@babel/runtime@^7.9.2":
|
"@babel/runtime@^7.10.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.18.9", "@babel/runtime@^7.9.2":
|
||||||
version "7.20.6"
|
version "7.20.6"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.6.tgz#facf4879bfed9b5326326273a64220f099b0fce3"
|
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.6.tgz#facf4879bfed9b5326326273a64220f099b0fce3"
|
||||||
integrity sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==
|
integrity sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==
|
||||||
@ -77,186 +77,158 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@icons/material/-/material-0.2.4.tgz#e90c9f71768b3736e76d7dd6783fc6c2afa88bc8"
|
resolved "https://registry.yarnpkg.com/@icons/material/-/material-0.2.4.tgz#e90c9f71768b3736e76d7dd6783fc6c2afa88bc8"
|
||||||
integrity sha512-QPcGmICAPbGLGb6F/yNf/KzKqvFx8z5qx3D1yFqVAjoFmXK35EgyW+cJ57Te3CNsmzblwtzakLGFqHPqrfb4Tw==
|
integrity sha512-QPcGmICAPbGLGb6F/yNf/KzKqvFx8z5qx3D1yFqVAjoFmXK35EgyW+cJ57Te3CNsmzblwtzakLGFqHPqrfb4Tw==
|
||||||
|
|
||||||
"@lexical/clipboard@0.5.0":
|
"@lexical/clipboard@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/clipboard/-/clipboard-0.5.0.tgz#3d835289c0e1543a13a5fd032294aa2614e4373a"
|
resolved "https://registry.yarnpkg.com/@lexical/clipboard/-/clipboard-0.6.4.tgz#fdbe763bd0fde6f08f1f6fc2cad40d9977127941"
|
||||||
integrity sha512-JFvdH4N/80GxC0jhaiO/fdUOeYcX8pMFrcrpBDeNIcBN/9eF8Rn/czvoPLLNB9Kcbz8d8XXqabKEGCz2hFL//w==
|
integrity sha512-pbJmbR1B9d3l4Ey/NrNfvLibA9CzGBamf3HanDtSEcXTDwKoSkUoPDgY9worUYdz9vnQlefntIRrOGjaDbFOxA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/html" "0.5.0"
|
"@lexical/html" "0.6.4"
|
||||||
"@lexical/list" "0.5.0"
|
"@lexical/list" "0.6.4"
|
||||||
"@lexical/selection" "0.5.0"
|
"@lexical/selection" "0.6.4"
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/utils" "0.6.4"
|
||||||
|
|
||||||
"@lexical/code@0.5.0":
|
"@lexical/code@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/code/-/code-0.5.0.tgz#05c92e3b077af3148a494b44f5663dea14f7631f"
|
resolved "https://registry.yarnpkg.com/@lexical/code/-/code-0.6.4.tgz#9cdbcaf395248f8e194e3c3edde4c17f8511dd0f"
|
||||||
integrity sha512-GmqRaQ8EBtlu13ObSZYiGDzIsrkwRyyqI2HRVBrPo2iszLBpby+7uIncAVQVkxt1JNYOKE2n4JfxK8TSYyMtYQ==
|
integrity sha512-fsGLvY6BgLSuKRn4/xqbZMnJSrY3u1b2htk7AKVOBxSeEENjLClMkdomVvbWF6CkGMX1c1wkP93MmeOe9VmF/g==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/utils" "0.6.4"
|
||||||
prismjs "^1.27.0"
|
prismjs "^1.27.0"
|
||||||
|
|
||||||
"@lexical/dragon@0.5.0":
|
"@lexical/dragon@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/dragon/-/dragon-0.5.0.tgz#54ec8812e3fb907af5913c5d0436b8d28fa4efe8"
|
resolved "https://registry.yarnpkg.com/@lexical/dragon/-/dragon-0.6.4.tgz#a69aeaf5ab89187cf2ff3d1ac92631c91a0dec0c"
|
||||||
integrity sha512-Gf0jN8hjlF8E71wAsvbRpR1u9oS6RUjUw3VWp/Qa+IrtjBFFVzdTUloUs3cjMX9E/MFRJgt3wPsaKx2IuLBWQw==
|
integrity sha512-6M7rtmZck1CxHsKCpUaSUNIzU0zDfus77RWEKbdBAdvFROqQoOKmBJnBRjlghqDPpi5lz8pL+70eXfcfJepwlw==
|
||||||
|
|
||||||
"@lexical/hashtag@0.5.0":
|
"@lexical/hashtag@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/hashtag/-/hashtag-0.5.0.tgz#dfe39ea73d1c4658c724419ef1113e27fb75a7f3"
|
resolved "https://registry.yarnpkg.com/@lexical/hashtag/-/hashtag-0.6.4.tgz#3d670b1c933db254a6fa027c798da0e1fa06829d"
|
||||||
integrity sha512-3MT72y72BmK4q7Rtb9gP3n83UL4vWC078T9io4zyPxKEI1Mh3UAVuRwh6Ypn0FeH94XvmuZAGVdoOC/nTd1now==
|
integrity sha512-xB2/Es9PsDdtEHtcOxZk5AtqSEAkzbgadSJC7iYFssc+ltX1ZGOLqXHREZCwL8c++kUnuwr+tALL7iRuLpVouA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/utils" "0.6.4"
|
||||||
|
|
||||||
"@lexical/history@0.5.0":
|
"@lexical/history@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/history/-/history-0.5.0.tgz#5a13077e012f27f783beadca1c3fe545a2968f20"
|
resolved "https://registry.yarnpkg.com/@lexical/history/-/history-0.6.4.tgz#52ec268b3769663d6fd8d573018ef0a67f96d18e"
|
||||||
integrity sha512-DCQgh1aQ1KS5JVYPU6GYr52BN0MQqmoXfFtf5uYCX9CbSAC0hDSK8ZPqwFW7jINqe6GwXxy7bo32j7E0A5023A==
|
integrity sha512-NdFxuwNdnFFihHsawewy1tQTW3M0ubzxmkAHZNYnEnjTcF77NxetM24jdUbNS84aLckCJnc4uM84/B0N6P3H2Q==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/utils" "0.6.4"
|
||||||
|
|
||||||
"@lexical/html@0.5.0":
|
"@lexical/html@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/html/-/html-0.5.0.tgz#5eb2ccb9ffb7c24fff097db369d81431d7a98833"
|
resolved "https://registry.yarnpkg.com/@lexical/html/-/html-0.6.4.tgz#d9e26779f5dc816289643ebac2beb3f42fe47d97"
|
||||||
integrity sha512-uJAof6gXTLOH9JnmPJ+wxILFtu7I/eCebFyVMjV53sqaeLsQ3pDfBTUe4RO+NciC+XBQ1WVpZgCM8Yx5c5cMmQ==
|
integrity sha512-NVW70XFd9Ekfe4t/FwZc2EuT2axC8wYxNQ3NI9FXnqAWvLP3F6caDUa0Qn58Gdyx8QQGKRa6GL0BFEXqaD3cxw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/selection" "0.5.0"
|
"@lexical/selection" "0.6.4"
|
||||||
|
|
||||||
"@lexical/link@0.5.0":
|
"@lexical/link@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/link/-/link-0.5.0.tgz#fa5f3baa1122eb2a1be12ac7a30977eb4c557e1e"
|
resolved "https://registry.yarnpkg.com/@lexical/link/-/link-0.6.4.tgz#e7c1ab092d8281cc4ccf0d371e407b3aed4a2e7d"
|
||||||
integrity sha512-XB8e+UPI9jeqsi7+Wr0n9SToljiS+gZmJ5gXANtR6lSZPtpcSUPs1iJZU2A2dNKXdvsZwSPCFdPL6ogFaaRvvQ==
|
integrity sha512-4ergNX/GOKyRFUIf2daflB1LzU96UAi4mGH3QdkvfDBo+a4eFj7GYXCf98ktilhvGlC7El4cgLVCq/BoidjS/w==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/utils" "0.6.4"
|
||||||
|
|
||||||
"@lexical/link@^0.6.3":
|
"@lexical/list@0.6.4", "@lexical/list@^0.6.4":
|
||||||
version "0.6.3"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/link/-/link-0.6.3.tgz#e09b670e69be7ea4509654aacec87e74b834d84f"
|
resolved "https://registry.yarnpkg.com/@lexical/list/-/list-0.6.4.tgz#ad1f89401bc3104130baffa260c9607240f1d30a"
|
||||||
integrity sha512-duP+8OYEsIJ5AZLO5Y/cND+oNajvlc0geggmzrJ/XRcFiQAWXJ9BsmEeg6KZFzl2+Whkz3Zdkfu/1h80qllktA==
|
integrity sha512-2WjQTABK4Zckup0YXp/UpAuCul4Ay8yTTUNEhsPpZegeYyglURugx5uYsh811+wN6acUZwFhkYRyyzxU9cDPsg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.6.3"
|
"@lexical/utils" "0.6.4"
|
||||||
|
|
||||||
"@lexical/list@0.5.0":
|
"@lexical/mark@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/list/-/list-0.5.0.tgz#6ab4e1789d037af43f3d01012d2533c7c94daf15"
|
resolved "https://registry.yarnpkg.com/@lexical/mark/-/mark-0.6.4.tgz#d9c9d284a6a3f236290023b39f68647756c659cb"
|
||||||
integrity sha512-TYXe4FtNL7Lk3XDEhPyUbT0Pb1TU58qZywGCdrtuRjPnF4oDvRXgg9EhYWfHzYwdsyhNgaHId+Fq41CjrwTMYg==
|
integrity sha512-2Hpc21i2VmAHilnAevbuUlQijiRd6KVoIEJldx2+oK0vsXQnYnAF4T/RdZO3BStPVdSW3KnIa2TNqsmMJHqG2g==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/utils" "0.6.4"
|
||||||
|
|
||||||
"@lexical/list@0.6.3":
|
"@lexical/markdown@0.6.4":
|
||||||
version "0.6.3"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/list/-/list-0.6.3.tgz#6389d051549860b53b93f53d537e116150ba20c7"
|
resolved "https://registry.yarnpkg.com/@lexical/markdown/-/markdown-0.6.4.tgz#884a91028ee303e3446b817c3d8b284c9038b808"
|
||||||
integrity sha512-zrQwX9J9hmLRjh4VkDykiv4P7et86ez85wAcvcoZNSwRGdLRMDxJLOyzJI6njr3CrebEKzHWVCsEcpn5T8bZcw==
|
integrity sha512-9kg+BsP4ePCztrK7UYW8a+8ad1/h/OLziJkMZkl3YAkfhJudkHoj4ljCTJZcLuXHtVXmvLZhyGZktitcJImnOg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.6.3"
|
"@lexical/code" "0.6.4"
|
||||||
|
"@lexical/link" "0.6.4"
|
||||||
|
"@lexical/list" "0.6.4"
|
||||||
|
"@lexical/rich-text" "0.6.4"
|
||||||
|
"@lexical/text" "0.6.4"
|
||||||
|
"@lexical/utils" "0.6.4"
|
||||||
|
|
||||||
"@lexical/mark@0.5.0":
|
"@lexical/offset@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/mark/-/mark-0.5.0.tgz#59c2a2a9f0ecfa063d48ce6f4a50e6d8bc6fcae1"
|
resolved "https://registry.yarnpkg.com/@lexical/offset/-/offset-0.6.4.tgz#06fdf49e8e18135e82c9925c6b168e7e012a5420"
|
||||||
integrity sha512-leeqegWD4hqUdfYNsxB5iwsWozX2oc6mnJzcJfR4UB3Ksr0zH2xHc/z3Zp+CTeGuK5Tzppq5yGS+4cQ5xNpVgQ==
|
integrity sha512-IdB1GL5yRRDQPOedXG4zT7opdjHGx+7DqLKOQwcSMWo/XprnJxIq8zpFew3XCp/nBKp+hyUsdf98vmEaG3XctQ==
|
||||||
|
|
||||||
|
"@lexical/overflow@0.6.4":
|
||||||
|
version "0.6.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@lexical/overflow/-/overflow-0.6.4.tgz#0f0139a54916d3ff8e0a6fadb55804a45d2afa5e"
|
||||||
|
integrity sha512-Mdcpi2PyWTaDpEfTBAGSEX+5E0v/okSTLoIg1eDO3Q3VgGEkr5++FrJH8rVGIl6KIJeAa1WVM0vcu/W4O6y5ng==
|
||||||
|
|
||||||
|
"@lexical/plain-text@0.6.4":
|
||||||
|
version "0.6.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@lexical/plain-text/-/plain-text-0.6.4.tgz#003e8f712d49e117d55a8add31516277757b384a"
|
||||||
|
integrity sha512-VB1zKqyef+3Vs8SVwob1HvCGRRfn4bypyKUyk93kk6LQDpjiGC6Go2OyuPX0EuJeFnQBYmYd3Bi205k/nVjfZA==
|
||||||
|
|
||||||
|
"@lexical/react@^0.6.4":
|
||||||
|
version "0.6.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@lexical/react/-/react-0.6.4.tgz#80e524701ec83797fd66b89d1bc04c63afc0d9fc"
|
||||||
|
integrity sha512-KAbNF/H5TzwCBFe5zuxz9ZSxj6a9ol8a2JkhACriO4HqWM0mURsxrXU8g3hySFpp4W7tdjpGSWsHLTdnaovHzw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/clipboard" "0.6.4"
|
||||||
|
"@lexical/code" "0.6.4"
|
||||||
|
"@lexical/dragon" "0.6.4"
|
||||||
|
"@lexical/hashtag" "0.6.4"
|
||||||
|
"@lexical/history" "0.6.4"
|
||||||
|
"@lexical/link" "0.6.4"
|
||||||
|
"@lexical/list" "0.6.4"
|
||||||
|
"@lexical/mark" "0.6.4"
|
||||||
|
"@lexical/markdown" "0.6.4"
|
||||||
|
"@lexical/overflow" "0.6.4"
|
||||||
|
"@lexical/plain-text" "0.6.4"
|
||||||
|
"@lexical/rich-text" "0.6.4"
|
||||||
|
"@lexical/selection" "0.6.4"
|
||||||
|
"@lexical/table" "0.6.4"
|
||||||
|
"@lexical/text" "0.6.4"
|
||||||
|
"@lexical/utils" "0.6.4"
|
||||||
|
"@lexical/yjs" "0.6.4"
|
||||||
|
react-error-boundary "^3.1.4"
|
||||||
|
|
||||||
"@lexical/markdown@0.5.0":
|
"@lexical/rich-text@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/markdown/-/markdown-0.5.0.tgz#3424a98e8600bc719f99bb4ab2484f0cf0e3c0f7"
|
resolved "https://registry.yarnpkg.com/@lexical/rich-text/-/rich-text-0.6.4.tgz#d00e2621d0113ed842178f505618060cde2f2b0f"
|
||||||
integrity sha512-02RLx7PdVzvYxvx65FTbXkW6KcjQZ1waAaMDNKdtBV9r9Mv2Y2XunCUjErYHQ1JN9JkGGv0+JuliRT7qZTsF+Q==
|
integrity sha512-GUTAEUPmSKzL1kldvdHqM9IgiAJC1qfMeDQFyUS2xwWKQnid0nVeUZXNxyBwxZLyOcyDkx5dXp9YiEO6X4x+TQ==
|
||||||
|
|
||||||
|
"@lexical/selection@0.6.4":
|
||||||
|
version "0.6.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@lexical/selection/-/selection-0.6.4.tgz#2a3c8537c1e9e8bf492ccd6fbaafcfb02fea231a"
|
||||||
|
integrity sha512-dmrIQCQJOKARS7VRyE9WEKRaqP8SG9Xtzm8Bsk6+P0up1yWzlUvww+2INKr0bUUeQmI7DJxo5PX68qcoLeTAUg==
|
||||||
|
|
||||||
|
"@lexical/table@0.6.4":
|
||||||
|
version "0.6.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@lexical/table/-/table-0.6.4.tgz#a07b642899e40c5981ab81b6ac541944bfef19ed"
|
||||||
|
integrity sha512-PjmRd5w5Gy4ht4i3IpQag/bsOi5V3/Fd0RQaD2gFaTFCh49NsYWrJcV6K1tH7xpO4PDJFibC5At2EiVKwhMyFA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/code" "0.5.0"
|
"@lexical/utils" "0.6.4"
|
||||||
"@lexical/link" "0.5.0"
|
|
||||||
"@lexical/list" "0.5.0"
|
|
||||||
"@lexical/rich-text" "0.5.0"
|
|
||||||
"@lexical/text" "0.5.0"
|
|
||||||
"@lexical/utils" "0.5.0"
|
|
||||||
|
|
||||||
"@lexical/offset@0.5.0":
|
"@lexical/text@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/offset/-/offset-0.5.0.tgz#445aae1c74198dd4ed7d59669735925621139e0a"
|
resolved "https://registry.yarnpkg.com/@lexical/text/-/text-0.6.4.tgz#49267e7a9395720b6361ca12631e0370c118c03a"
|
||||||
integrity sha512-ie4AFbvtt0CFBqaMcb0/gUuhoTt+YwbFXPFo1hW+oDVpmo3rJsEJKVsHhftBvHIP+/G5QlgPIhVmnlcSvEteTw==
|
integrity sha512-gCANONCi3J2zf+yxv2CPEj2rsxpUBgQuR4TymGjsoVFsHqjRc3qHF5lNlbpWjPL5bJDSHFJySwn4/P20GNWggg==
|
||||||
|
|
||||||
"@lexical/overflow@0.5.0":
|
"@lexical/utils@0.6.4", "@lexical/utils@^0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/overflow/-/overflow-0.5.0.tgz#70daabdb96a3de9bf2f052ab2e38917aaf6e3b18"
|
resolved "https://registry.yarnpkg.com/@lexical/utils/-/utils-0.6.4.tgz#7e1d79dd112efbcc048088714a3dc8e403b5aee5"
|
||||||
integrity sha512-N+BQvgODU9lS7VK4FlxIRhGeASwsxfdkECtZ5iomHfqqNEI0WPLHbCTCkwS10rjfH1NrkXC314Y0SG2F7Ncv9Q==
|
integrity sha512-JPFC+V65Eu+YTfThzV+LEGWj/QXre91Yq6c+P3VMWNfck4ZC1Enc6v7ntP9UI7FYFyM5NfwvWTzjUGEOYGajwg==
|
||||||
|
|
||||||
"@lexical/plain-text@0.5.0":
|
|
||||||
version "0.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/plain-text/-/plain-text-0.5.0.tgz#385ac7c67b34116578e45fe34cca41e9f62cbcad"
|
|
||||||
integrity sha512-t1rnVnSXbPs9jLN/36/xZLNAlF9jwv8rSh6GHsjRIYiWX/MovNmgPmhNq/nkc+gRFZ2FKTFjdz3UeAUF4xQZMw==
|
|
||||||
|
|
||||||
"@lexical/react@^0.5.0":
|
|
||||||
version "0.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/react/-/react-0.5.0.tgz#f227dd71f95e49bf817d648b9ffd5a31850876bc"
|
|
||||||
integrity sha512-bba0KXslxjf6M8XXJhx1rsrq9UV/6eo73WCZel2K+tGz8NEn1HCRTebQoebmRikzEQatEa3SoB6R47drMlk7Yw==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/clipboard" "0.5.0"
|
"@lexical/list" "0.6.4"
|
||||||
"@lexical/code" "0.5.0"
|
"@lexical/table" "0.6.4"
|
||||||
"@lexical/dragon" "0.5.0"
|
|
||||||
"@lexical/hashtag" "0.5.0"
|
|
||||||
"@lexical/history" "0.5.0"
|
|
||||||
"@lexical/link" "0.5.0"
|
|
||||||
"@lexical/list" "0.5.0"
|
|
||||||
"@lexical/mark" "0.5.0"
|
|
||||||
"@lexical/markdown" "0.5.0"
|
|
||||||
"@lexical/overflow" "0.5.0"
|
|
||||||
"@lexical/plain-text" "0.5.0"
|
|
||||||
"@lexical/rich-text" "0.5.0"
|
|
||||||
"@lexical/selection" "0.5.0"
|
|
||||||
"@lexical/table" "0.5.0"
|
|
||||||
"@lexical/text" "0.5.0"
|
|
||||||
"@lexical/utils" "0.5.0"
|
|
||||||
"@lexical/yjs" "0.5.0"
|
|
||||||
|
|
||||||
"@lexical/rich-text@0.5.0":
|
"@lexical/yjs@0.6.4":
|
||||||
version "0.5.0"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/rich-text/-/rich-text-0.5.0.tgz#9b7ddacdd74a49761f15486ed2846c5117a55d14"
|
resolved "https://registry.yarnpkg.com/@lexical/yjs/-/yjs-0.6.4.tgz#0773a7a7abbd3d32bb16e7ff84d9f89ee2284996"
|
||||||
integrity sha512-JhgMn70K410j3T/2WefPpEswZ+hWF3aJMNu7zkrCf2wB+KdrrGYoeNSZUzg2r4e6BuJgS117KlD99+MDnokCuw==
|
integrity sha512-QlhB/gIB+/3d9nP5zgnR8oJZ++14vw1VxgjBjXs1pW+32ho4ET4Wa+E0OHuVSwozEhJsC4wT1Q1C38oX+yRHdQ==
|
||||||
|
|
||||||
"@lexical/selection@0.5.0":
|
|
||||||
version "0.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/selection/-/selection-0.5.0.tgz#fe94f06fb17d9f5848921a0bbce10774398d3486"
|
|
||||||
integrity sha512-6I5qlqkYDIbDZPGwSOuvpWQUrqMY6URaKwrWsijQZMnNNKscGpC7IKb7sSDKn6YkLm7tuqig3hf2p+6hshkyWg==
|
|
||||||
|
|
||||||
"@lexical/table@0.5.0":
|
|
||||||
version "0.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/table/-/table-0.5.0.tgz#cf33fac7c2e0b520ab4747f9322cce434d117cb6"
|
|
||||||
integrity sha512-VNHWSsTFDSHNzLdQOR9qgKx4tvTuiDz6w0GfwBnMP4Ro2iKKtNowmZO4wDEZtVlUHvLMuOGuYqipOtKEDKbD4w==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
"@lexical/utils" "0.5.0"
|
"@lexical/offset" "0.6.4"
|
||||||
|
|
||||||
"@lexical/table@0.6.3":
|
|
||||||
version "0.6.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/table/-/table-0.6.3.tgz#10eb7f1edd0269da18352145854ba0fc41d709f1"
|
|
||||||
integrity sha512-7ces57Y9wBwr2UXccXguyFC87QF6epdp2EZybb8yVEoWvMM5z51CnWELEbADYv5lnevPS2LC8LtJV3v1iSPZbA==
|
|
||||||
dependencies:
|
|
||||||
"@lexical/utils" "0.6.3"
|
|
||||||
|
|
||||||
"@lexical/text@0.5.0":
|
|
||||||
version "0.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/text/-/text-0.5.0.tgz#803e34d9b1e2430e8062d2db50c7452d4e03c86e"
|
|
||||||
integrity sha512-RqhOBU2Ecg0WVW8p1d3OB2a8sQyvh3suADdr7We50+Dn/k1M+jhKVWiQnf07ve4/yqYTj6/9/8AAg7kuNS2P/A==
|
|
||||||
|
|
||||||
"@lexical/utils@0.5.0", "@lexical/utils@^0.5.0":
|
|
||||||
version "0.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/utils/-/utils-0.5.0.tgz#4f03e8090e65cde5e81801ab08a2450e2e03733a"
|
|
||||||
integrity sha512-FhQ+thPFTOyBxyRGcd3yJuYh/rvD8ro43DaelWD1KpSlwQ/YuWpdxsSuMqJ32ERpl+bmPPFP2kjkBofxSw1Quw==
|
|
||||||
dependencies:
|
|
||||||
"@lexical/list" "0.5.0"
|
|
||||||
"@lexical/table" "0.5.0"
|
|
||||||
|
|
||||||
"@lexical/utils@0.6.3":
|
|
||||||
version "0.6.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/utils/-/utils-0.6.3.tgz#85276f9ef095d23634cb3f2d059f5781cee656ec"
|
|
||||||
integrity sha512-LijfKzH9Fdl30eZ/fWDigLsRPs/rz8sZAnRg6UsJGKR1SS3PeWLoO4RRWhnNzpMypVX8UdvbKv1DxMjQn3d/kw==
|
|
||||||
dependencies:
|
|
||||||
"@lexical/list" "0.6.3"
|
|
||||||
"@lexical/table" "0.6.3"
|
|
||||||
|
|
||||||
"@lexical/yjs@0.5.0":
|
|
||||||
version "0.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@lexical/yjs/-/yjs-0.5.0.tgz#a6a6e12f5eceaa5a37ae7999b97ba8ce217987b6"
|
|
||||||
integrity sha512-2io4GqnRoSh6Nu9bzsDOlwPFJYjXZ9SdgU4ZioH2VvyW4wVstd+ZF2QVcUJlhuwgQr6DzuvM/pqN914IufLzpw==
|
|
||||||
dependencies:
|
|
||||||
"@lexical/offset" "0.5.0"
|
|
||||||
|
|
||||||
"@next/env@12.2.2":
|
"@next/env@12.2.2":
|
||||||
version "12.2.2"
|
version "12.2.2"
|
||||||
@ -2302,6 +2274,13 @@ react-dropzone@^14.2.3:
|
|||||||
file-selector "^0.6.0"
|
file-selector "^0.6.0"
|
||||||
prop-types "^15.8.1"
|
prop-types "^15.8.1"
|
||||||
|
|
||||||
|
react-error-boundary@^3.1.4:
|
||||||
|
version "3.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-error-boundary/-/react-error-boundary-3.1.4.tgz#255db92b23197108757a888b01e5b729919abde0"
|
||||||
|
integrity sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==
|
||||||
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.12.5"
|
||||||
|
|
||||||
react-hook-form@^7.38.0:
|
react-hook-form@^7.38.0:
|
||||||
version "7.39.7"
|
version "7.39.7"
|
||||||
resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.39.7.tgz#8eabf2dbb9fce5baccfa60f401f6ef99c4e17fb4"
|
resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.39.7.tgz#8eabf2dbb9fce5baccfa60f401f6ef99c4e17fb4"
|
||||||
|