From 8f8a97589d4a82d30100a48b02831a4a2b4c9fb1 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Sun, 4 Aug 2024 10:09:29 +0530 Subject: [PATCH] fix: casing throughout the platform (#5293) --- .../[projectId]/cycles/(detail)/header.tsx | 2 +- .../(detail)/[projectId]/inbox/header.tsx | 2 +- .../[projectId]/modules/(detail)/header.tsx | 2 +- .../[projectId]/pages/(list)/header.tsx | 2 +- .../views/(detail)/[viewId]/header.tsx | 2 +- .../[projectId]/views/(list)/header.tsx | 2 +- .../(projects)/workspace-views/header.tsx | 2 +- .../components/core/modals/link-modal.tsx | 8 +- web/core/components/cycles/delete-modal.tsx | 2 +- web/core/components/cycles/form.tsx | 2 +- .../components/dropdowns/member/index.tsx | 2 +- .../components/estimates/empty-screen.tsx | 2 +- .../inbox/modals/accept-issue-modal.tsx | 97 ------------------- .../modals/create-edit-modal/create-root.tsx | 2 +- .../inbox/modals/decline-issue-modal.tsx | 2 +- .../inbox/modals/delete-issue-modal.tsx | 2 +- web/core/components/inbox/modals/index.ts | 1 - .../integration/delete-import-modal.tsx | 2 +- .../components/issues/delete-issue-modal.tsx | 2 +- .../issue-detail-widgets/action-buttons.tsx | 6 +- .../issues/issue-detail/cycle-select.tsx | 2 +- .../links/create-update-link-modal.tsx | 10 +- .../issues/issue-detail/module-select.tsx | 2 +- .../issues/issue-detail/sidebar.tsx | 2 +- .../calendar/quick-add-issue-form.tsx | 4 +- .../components/issues/issue-modal/form.tsx | 2 +- .../issues/peek-overview/properties.tsx | 2 +- .../modules/delete-module-modal.tsx | 2 +- web/core/components/modules/form.tsx | 2 +- .../pages/modals/delete-page-modal.tsx | 2 +- .../components/pages/modals/page-form.tsx | 2 +- .../project/create-project-form.tsx | 8 +- .../project/send-project-invitation-modal.tsx | 4 +- .../components/views/delete-view-modal.tsx | 2 +- web/core/components/views/form.tsx | 2 +- .../workspace/views/delete-view-modal.tsx | 2 +- web/public/sw.js.map | 2 +- 37 files changed, 50 insertions(+), 146 deletions(-) delete mode 100644 web/core/components/inbox/modals/accept-issue-modal.tsx diff --git a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx index 2b7f541fb..13ff78cc3 100644 --- a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx @@ -295,7 +295,7 @@ export const CycleIssuesHeader: React.FC = observer(() => { }} size="sm" > - Add Issue + Add issue )} diff --git a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/inbox/header.tsx b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/inbox/header.tsx index 5f48e1b61..20d5befb2 100644 --- a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/inbox/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/inbox/header.tsx @@ -69,7 +69,7 @@ export const ProjectInboxHeader: FC = observer(() => { /> )} diff --git a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx index 8afde92ef..20b0ad82c 100644 --- a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx @@ -302,7 +302,7 @@ export const ModuleIssuesHeader: React.FC = observer(() => { }} size="sm" > - Add Issue + Add issue )} diff --git a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx index 87a137224..aa2e385e4 100644 --- a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx @@ -70,7 +70,7 @@ export const PagesListHeader = observer(() => { }); }} > - Add Page + Add page )} diff --git a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx index f04d609d4..364a17794 100644 --- a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx @@ -287,7 +287,7 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => { }} size="sm" > - Add Issue + Add issue )} diff --git a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx index be2db8292..26d5fd873 100644 --- a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx @@ -86,7 +86,7 @@ export const ProjectViewsHeader = observer(() => { {canUserCreateView && (
)} diff --git a/web/app/[workspaceSlug]/(projects)/workspace-views/header.tsx b/web/app/[workspaceSlug]/(projects)/workspace-views/header.tsx index cccb9ded8..686e4f7b6 100644 --- a/web/app/[workspaceSlug]/(projects)/workspace-views/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/workspace-views/header.tsx @@ -144,7 +144,7 @@ export const GlobalIssuesHeader = observer(() => { )} {isAuthorizedUser && ( )} diff --git a/web/core/components/core/modals/link-modal.tsx b/web/core/components/core/modals/link-modal.tsx index e05af6491..c622d07c9 100644 --- a/web/core/components/core/modals/link-modal.tsx +++ b/web/core/components/core/modals/link-modal.tsx @@ -157,11 +157,11 @@ export const LinkModal: FC = (props) => { diff --git a/web/core/components/cycles/delete-modal.tsx b/web/core/components/cycles/delete-modal.tsx index 933350ab7..b9b1fdbc5 100644 --- a/web/core/components/cycles/delete-modal.tsx +++ b/web/core/components/cycles/delete-modal.tsx @@ -87,7 +87,7 @@ export const CycleDeleteModal: React.FC = observer((props) => { handleSubmit={formSubmit} isSubmitting={loader} isOpen={isOpen} - title="Delete Cycle" + title="Delete cycle" content={ <> Are you sure you want to delete cycle{' "'} diff --git a/web/core/components/cycles/form.tsx b/web/core/components/cycles/form.tsx index 63da76ea2..f41ffba44 100644 --- a/web/core/components/cycles/form.tsx +++ b/web/core/components/cycles/form.tsx @@ -77,7 +77,7 @@ export const CycleForm: React.FC = (props) => { )} /> )} -

{status ? "Update" : "Create"} Cycle

+

{status ? "Update" : "Create"} cycle

diff --git a/web/core/components/dropdowns/member/index.tsx b/web/core/components/dropdowns/member/index.tsx index 4c9a9cc45..f68f5a6fa 100644 --- a/web/core/components/dropdowns/member/index.tsx +++ b/web/core/components/dropdowns/member/index.tsx @@ -119,7 +119,7 @@ export const MemberDropdown: React.FC = observer((props) => { > {!hideIcon && } {BUTTON_VARIANTS_WITH_TEXT.includes(buttonVariant) && ( - + {Array.isArray(value) && value.length > 0 ? value.length === 1 ? getUserDetails(value[0])?.display_name diff --git a/web/core/components/estimates/empty-screen.tsx b/web/core/components/estimates/empty-screen.tsx index 069a47a11..e3e59a477 100644 --- a/web/core/components/estimates/empty-screen.tsx +++ b/web/core/components/estimates/empty-screen.tsx @@ -37,7 +37,7 @@ export const EstimateEmptyScreen: FC = (props) => {

- +
); diff --git a/web/core/components/inbox/modals/accept-issue-modal.tsx b/web/core/components/inbox/modals/accept-issue-modal.tsx deleted file mode 100644 index 0813e0539..000000000 --- a/web/core/components/inbox/modals/accept-issue-modal.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client"; - -import React, { useState } from "react"; -import { CheckCircle } from "lucide-react"; -import { Dialog, Transition } from "@headlessui/react"; -import type { TIssue } from "@plane/types"; -// icons -// ui -import { Button } from "@plane/ui"; -// hooks -import { useProject } from "@/hooks/store"; - -type Props = { - data: Partial; - isOpen: boolean; - onClose: () => void; - onSubmit: () => Promise; -}; - -export const AcceptIssueModal: React.FC = ({ isOpen, onClose, data, onSubmit }) => { - const [isAccepting, setIsAccepting] = useState(false); - // hooks - const { getProjectById } = useProject(); - - const handleClose = () => { - setIsAccepting(false); - onClose(); - }; - - const handleAccept = () => { - setIsAccepting(true); - onSubmit().finally(() => setIsAccepting(false)); - }; - - return ( - - - -
- - -
-
- - -
-
- - - -

Accept Issue

-
-
- -

- Are you sure you want to accept issue{" "} - - {(data && data?.project_id && getProjectById(data?.project_id)?.identifier) || ""}- - {data?.sequence_id} - - {""}? Once accepted, this issue will be added to the project issues list. -

-
-
- - -
-
-
-
-
-
-
-
- ); -}; diff --git a/web/core/components/inbox/modals/create-edit-modal/create-root.tsx b/web/core/components/inbox/modals/create-edit-modal/create-root.tsx index e343da3b9..958058948 100644 --- a/web/core/components/inbox/modals/create-edit-modal/create-root.tsx +++ b/web/core/components/inbox/modals/create-edit-modal/create-root.tsx @@ -155,7 +155,7 @@ export const InboxIssueCreateRoot: FC = observer((props) return (
-

Create Intake Issue

+

Create intake issue

= (props) => { handleSubmit={handleDecline} isSubmitting={isDeclining} isOpen={isOpen} - title="Decline Issue" + title="Decline issue" content={ <> {" "} diff --git a/web/core/components/inbox/modals/delete-issue-modal.tsx b/web/core/components/inbox/modals/delete-issue-modal.tsx index 0e98dad23..8cdabef5b 100644 --- a/web/core/components/inbox/modals/delete-issue-modal.tsx +++ b/web/core/components/inbox/modals/delete-issue-modal.tsx @@ -59,7 +59,7 @@ export const DeleteInboxIssueModal: React.FC = observer(({ isOpen, onClos handleSubmit={handleDelete} isSubmitting={isDeleting} isOpen={isOpen} - title="Delete Issue" + title="Delete issue" content={ <> Are you sure you want to delete issue{" "} diff --git a/web/core/components/inbox/modals/index.ts b/web/core/components/inbox/modals/index.ts index fd46f638e..91e185ffe 100644 --- a/web/core/components/inbox/modals/index.ts +++ b/web/core/components/inbox/modals/index.ts @@ -1,4 +1,3 @@ -export * from "./accept-issue-modal"; export * from "./create-edit-modal"; export * from "./decline-issue-modal"; export * from "./delete-issue-modal"; diff --git a/web/core/components/integration/delete-import-modal.tsx b/web/core/components/integration/delete-import-modal.tsx index 9f6ae553f..772538188 100644 --- a/web/core/components/integration/delete-import-modal.tsx +++ b/web/core/components/integration/delete-import-modal.tsx @@ -96,7 +96,7 @@ export const DeleteImportModal: React.FC = ({ isOpen, handleClose, data }
diff --git a/web/core/components/issues/delete-issue-modal.tsx b/web/core/components/issues/delete-issue-modal.tsx index c92324179..06fa4cafa 100644 --- a/web/core/components/issues/delete-issue-modal.tsx +++ b/web/core/components/issues/delete-issue-modal.tsx @@ -74,7 +74,7 @@ export const DeleteIssueModal: React.FC = (props) => { handleSubmit={handleIssueDelete} isSubmitting={isDeleting} isOpen={isOpen} - title="Delete Issue" + title="Delete issue" content={ <> Are you sure you want to delete issue{" "} diff --git a/web/core/components/issues/issue-detail-widgets/action-buttons.tsx b/web/core/components/issues/issue-detail-widgets/action-buttons.tsx index b5f1515ec..18b6cc024 100644 --- a/web/core/components/issues/issue-detail-widgets/action-buttons.tsx +++ b/web/core/components/issues/issue-detail-widgets/action-buttons.tsx @@ -25,7 +25,7 @@ export const IssueDetailWidgetActionButtons: FC = (props) => { issueId={issueId} customButton={ } disabled={disabled} /> @@ -36,7 +36,7 @@ export const IssueDetailWidgetActionButtons: FC = (props) => { issueId={issueId} customButton={ } disabled={disabled} /> @@ -46,7 +46,7 @@ export const IssueDetailWidgetActionButtons: FC = (props) => { } disabled={disabled} /> diff --git a/web/core/components/issues/issue-detail/cycle-select.tsx b/web/core/components/issues/issue-detail/cycle-select.tsx index aee673e59..f02320e28 100644 --- a/web/core/components/issues/issue-detail/cycle-select.tsx +++ b/web/core/components/issues/issue-detail/cycle-select.tsx @@ -48,7 +48,7 @@ export const IssueCycleSelect: React.FC = observer((props) => disabled={disableSelect} buttonVariant="transparent-with-text" className="group w-full" - buttonContainerClassName="w-full text-left" + buttonContainerClassName="w-full text-left rounded" buttonClassName={`text-sm justify-between ${issue?.cycle_id ? "" : "text-custom-text-400"}`} placeholder="No cycle" hideIcon diff --git a/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx b/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx index d3adbeb95..bd09c5087 100644 --- a/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx +++ b/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx @@ -91,7 +91,7 @@ export const IssueLinkCreateUpdateModal: FC = observe
- {preloadedData?.id ? "Update Link" : "Add Link"} + {preloadedData?.id ? "Update link" : "Add link"}
@@ -152,11 +152,11 @@ export const IssueLinkCreateUpdateModal: FC = observe
diff --git a/web/core/components/issues/issue-detail/module-select.tsx b/web/core/components/issues/issue-detail/module-select.tsx index f9f0a51e2..2856d09bd 100644 --- a/web/core/components/issues/issue-detail/module-select.tsx +++ b/web/core/components/issues/issue-detail/module-select.tsx @@ -62,7 +62,7 @@ export const IssueModuleSelect: React.FC = observer((props) placeholder="No module" disabled={disableSelect} className="group h-full w-full" - buttonContainerClassName="w-full" + buttonContainerClassName="w-full rounded" buttonClassName={`min-h-8 text-sm justify-between ${issue?.module_ids?.length ? "" : "text-custom-text-400"}`} buttonVariant="transparent-with-text" hideIcon diff --git a/web/core/components/issues/issue-detail/sidebar.tsx b/web/core/components/issues/issue-detail/sidebar.tsx index dec30e597..1cde1e17e 100644 --- a/web/core/components/issues/issue-detail/sidebar.tsx +++ b/web/core/components/issues/issue-detail/sidebar.tsx @@ -222,7 +222,7 @@ export const IssueDetailsSidebar: React.FC = observer((props) => {
- Module + Modules
= observer((props) => { customButton={
- New Issue + New issue
} > - New Issue + New issue Add existing issue
diff --git a/web/core/components/issues/issue-modal/form.tsx b/web/core/components/issues/issue-modal/form.tsx index 8814bb86c..c3cbd4d27 100644 --- a/web/core/components/issues/issue-modal/form.tsx +++ b/web/core/components/issues/issue-modal/form.tsx @@ -363,7 +363,7 @@ export const IssueFormRoot: FC = observer((props) => { } /> )} -

{data?.id ? "Update" : "Create"} Issue

+

{data?.id ? "Update" : "Create"} issue

{watch("parent_id") && selectedParentIssue && ( = observer((pro
- Module + Modules
= observer((props) => { handleSubmit={handleDeletion} isSubmitting={isDeleteLoading} isOpen={isOpen} - title="Delete Module" + title="Delete module" content={ <> Are you sure you want to delete module-{" "} diff --git a/web/core/components/modules/form.tsx b/web/core/components/modules/form.tsx index 23f3b0a3b..4cb041154 100644 --- a/web/core/components/modules/form.tsx +++ b/web/core/components/modules/form.tsx @@ -88,7 +88,7 @@ export const ModuleForm: React.FC = (props) => { )} /> )} -

{status ? "Update" : "Create"} Module

+

{status ? "Update" : "Create"} module

diff --git a/web/core/components/pages/modals/delete-page-modal.tsx b/web/core/components/pages/modals/delete-page-modal.tsx index 8cd000cf2..61d3fb85e 100644 --- a/web/core/components/pages/modals/delete-page-modal.tsx +++ b/web/core/components/pages/modals/delete-page-modal.tsx @@ -75,7 +75,7 @@ export const DeletePageModal: React.FC = observer((pr handleSubmit={handleDelete} isSubmitting={isDeleting} isOpen={isOpen} - title="Delete Page" + title="Delete page" content={ <> Are you sure you want to delete page-{" "} diff --git a/web/core/components/pages/modals/page-form.tsx b/web/core/components/pages/modals/page-form.tsx index 594c85c1a..daf1cf046 100644 --- a/web/core/components/pages/modals/page-form.tsx +++ b/web/core/components/pages/modals/page-form.tsx @@ -46,7 +46,7 @@ export const PageForm: React.FC = (props) => { return (
-

Create Page

+

Create page

= observer((props) => { const currentNetwork = NETWORK_CHOICES.find((n) => n.key === value); return ( -
+
+
{currentNetwork ? ( <> @@ -347,6 +347,8 @@ export const CreateProjectForm: FC = observer((props) => {
} placement="bottom-start" + className="h-full" + buttonClassName="h-full" noChevron tabIndex={4} > @@ -372,7 +374,7 @@ export const CreateProjectForm: FC = observer((props) => { render={({ field: { value, onChange } }) => { if (value === undefined || value === null || typeof value === "string") return ( -
+
onChange(lead === value ? null : lead)} diff --git a/web/core/components/project/send-project-invitation-modal.tsx b/web/core/components/project/send-project-invitation-modal.tsx index cfb732bd7..c0281e840 100644 --- a/web/core/components/project/send-project-invitation-modal.tsx +++ b/web/core/components/project/send-project-invitation-modal.tsx @@ -322,8 +322,8 @@ export const SendProjectInvitationModal: React.FC = observer((props) => {
diff --git a/web/core/components/views/delete-view-modal.tsx b/web/core/components/views/delete-view-modal.tsx index 9824669c5..d66f5f321 100644 --- a/web/core/components/views/delete-view-modal.tsx +++ b/web/core/components/views/delete-view-modal.tsx @@ -63,7 +63,7 @@ export const DeleteProjectViewModal: React.FC = observer((props) => { handleSubmit={handleDeleteView} isSubmitting={isDeleteLoading} isOpen={isOpen} - title="Delete View" + title="Delete view" content={ <> Are you sure you want to delete view-{" "} diff --git a/web/core/components/views/form.tsx b/web/core/components/views/form.tsx index 514dfe194..93b3fcbc2 100644 --- a/web/core/components/views/form.tsx +++ b/web/core/components/views/form.tsx @@ -131,7 +131,7 @@ export const ProjectViewForm: React.FC = observer((props) => { return (
-

{data ? "Update" : "Create"} View

+

{data ? "Update" : "Create"} view

= observer((props) => { handleSubmit={handleDeletion} isSubmitting={isDeleteLoading} isOpen={isOpen} - title="Delete View" + title="Delete view" content={ <> Are you sure you want to delete view-{" "} diff --git a/web/public/sw.js.map b/web/public/sw.js.map index 82a31b46d..24a3b23a7 100644 --- a/web/public/sw.js.map +++ b/web/public/sw.js.map @@ -1 +1 @@ -{"version":3,"file":"sw.js","sources":["../../../../../../../private/tmp/ea290982c9ca115771c7186cd16ad5dd/sw.js"],"sourcesContent":["import {registerRoute as workbox_routing_registerRoute} from '/Users/narayan/Desktop/personal/plane/plane/node_modules/workbox-routing/registerRoute.mjs';\nimport {NetworkFirst as workbox_strategies_NetworkFirst} from '/Users/narayan/Desktop/personal/plane/plane/node_modules/workbox-strategies/NetworkFirst.mjs';\nimport {NetworkOnly as workbox_strategies_NetworkOnly} from '/Users/narayan/Desktop/personal/plane/plane/node_modules/workbox-strategies/NetworkOnly.mjs';\nimport {clientsClaim as workbox_core_clientsClaim} from '/Users/narayan/Desktop/personal/plane/plane/node_modules/workbox-core/clientsClaim.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\nimportScripts(\n \n);\n\n\n\n\n\n\n\nself.skipWaiting();\n\nworkbox_core_clientsClaim();\n\n\n\nworkbox_routing_registerRoute(\"/\", new workbox_strategies_NetworkFirst({ \"cacheName\":\"start-url\", plugins: [{ cacheWillUpdate: async ({ request, response, event, state }) => { if (response && response.type === 'opaqueredirect') { return new Response(response.body, { status: 200, statusText: 'OK', headers: response.headers }) } return response } }] }), 'GET');\nworkbox_routing_registerRoute(/.*/i, new workbox_strategies_NetworkOnly({ \"cacheName\":\"dev\", plugins: [] }), 'GET');\n\n\n\n\n"],"names":["importScripts","self","skipWaiting","workbox_core_clientsClaim","workbox_routing_registerRoute","workbox_strategies_NetworkFirst","plugins","cacheWillUpdate","request","response","event","state","type","Response","body","status","statusText","headers","workbox_strategies_NetworkOnly"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAa,EAEZ,CAAA;EAQDC,CAAI,CAAA,CAAA,CAAA,CAACC,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAA;AAElBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA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A;AACxWL,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAA6B,CAAC,CAAA,CAAA,CAAA,CAAA,CAAK,CAAE,CAAA,CAAA,CAAA,CAAA,CAAIc,mBAA8B,CAAC,CAAA;EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,EAAC,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA;EAAEZ,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAO,EAAE,CAAA,CAAA;EAAG,CAAC,CAAC,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,CAAC,CAAA;;"} \ No newline at end of file +{"version":3,"file":"sw.js","sources":["../../../../../private/tmp/50f50ba014f4feaeaa3ddc8366af217e/sw.js"],"sourcesContent":["import {registerRoute as workbox_routing_registerRoute} from '/Users/aaryan610/Desktop/plane/node_modules/workbox-routing/registerRoute.mjs';\nimport {NetworkFirst as workbox_strategies_NetworkFirst} from '/Users/aaryan610/Desktop/plane/node_modules/workbox-strategies/NetworkFirst.mjs';\nimport {NetworkOnly as workbox_strategies_NetworkOnly} from '/Users/aaryan610/Desktop/plane/node_modules/workbox-strategies/NetworkOnly.mjs';\nimport {clientsClaim as workbox_core_clientsClaim} from '/Users/aaryan610/Desktop/plane/node_modules/workbox-core/clientsClaim.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\nimportScripts(\n \n);\n\n\n\n\n\n\n\nself.skipWaiting();\n\nworkbox_core_clientsClaim();\n\n\n\nworkbox_routing_registerRoute(\"/\", new workbox_strategies_NetworkFirst({ \"cacheName\":\"start-url\", plugins: [{ cacheWillUpdate: async ({ request, response, event, state }) => { if (response && response.type === 'opaqueredirect') { return new Response(response.body, { status: 200, statusText: 'OK', headers: response.headers }) } return response } }] }), 'GET');\nworkbox_routing_registerRoute(/.*/i, new workbox_strategies_NetworkOnly({ \"cacheName\":\"dev\", plugins: [] }), 'GET');\n\n\n\n\n"],"names":["importScripts","self","skipWaiting","workbox_core_clientsClaim","workbox_routing_registerRoute","workbox_strategies_NetworkFirst","plugins","cacheWillUpdate","request","response","event","state","type","Response","body","status","statusText","headers","workbox_strategies_NetworkOnly"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAa,EAEZ,CAAA;EAQDC,CAAI,CAAA,CAAA,CAAA,CAACC,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAA;AAElBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAyB,EAAE,CAAA;AAI3BC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAA6B,CAAC,CAAA,CAAA,CAAG,CAAE,CAAA,CAAA,CAAA,CAAA,CAAIC,oBAA+B,CAAC,CAAA;EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,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