diff --git a/apiserver/plane/api/urls/__init__.py b/apiserver/plane/api/urls/__init__.py index e4f3718f5..957dac24e 100644 --- a/apiserver/plane/api/urls/__init__.py +++ b/apiserver/plane/api/urls/__init__.py @@ -4,7 +4,7 @@ from .authentication import urlpatterns as authentication_urls from .config import urlpatterns as configuration_urls from .cycle import urlpatterns as cycle_urls from .estimate import urlpatterns as estimate_urls -from .gpt import urlpatterns as gpt_urls +from .external import urlpatterns as external_urls from .importer import urlpatterns as importer_urls from .inbox import urlpatterns as inbox_urls from .integration import urlpatterns as integration_urls @@ -14,10 +14,8 @@ from .notification import urlpatterns as notification_urls from .page import urlpatterns as page_urls from .project import urlpatterns as project_urls from .public_board import urlpatterns as public_board_urls -from .release_note import urlpatterns as release_note_urls from .search import urlpatterns as search_urls from .state import urlpatterns as state_urls -from .unsplash import urlpatterns as unsplash_urls from .user import urlpatterns as user_urls from .views import urlpatterns as view_urls from .workspace import urlpatterns as workspace_urls @@ -30,7 +28,7 @@ urlpatterns = [ *configuration_urls, *cycle_urls, *estimate_urls, - *gpt_urls, + *external_urls, *importer_urls, *inbox_urls, *integration_urls, @@ -40,10 +38,8 @@ urlpatterns = [ *page_urls, *project_urls, *public_board_urls, - *release_note_urls, *search_urls, *state_urls, - *unsplash_urls, *user_urls, *view_urls, *workspace_urls, diff --git a/apiserver/plane/api/urls/external.py b/apiserver/plane/api/urls/external.py new file mode 100644 index 000000000..c22289035 --- /dev/null +++ b/apiserver/plane/api/urls/external.py @@ -0,0 +1,25 @@ +from django.urls import path + + +from plane.api.views import UnsplashEndpoint +from plane.api.views import ReleaseNotesEndpoint +from plane.api.views import GPTIntegrationEndpoint + + +urlpatterns = [ + path( + "unsplash/", + UnsplashEndpoint.as_view(), + name="unsplash", + ), + path( + "release-notes/", + ReleaseNotesEndpoint.as_view(), + name="release-notes", + ), + path( + "workspaces//projects//ai-assistant/", + GPTIntegrationEndpoint.as_view(), + name="importer", + ), +] diff --git a/apiserver/plane/api/urls/gpt.py b/apiserver/plane/api/urls/gpt.py deleted file mode 100644 index f2b0362c7..000000000 --- a/apiserver/plane/api/urls/gpt.py +++ /dev/null @@ -1,13 +0,0 @@ -from django.urls import path - - -from plane.api.views import GPTIntegrationEndpoint - - -urlpatterns = [ - path( - "workspaces//projects//ai-assistant/", - GPTIntegrationEndpoint.as_view(), - name="importer", - ), -] diff --git a/apiserver/plane/api/urls/release_note.py b/apiserver/plane/api/urls/release_note.py deleted file mode 100644 index dfbd1ec66..000000000 --- a/apiserver/plane/api/urls/release_note.py +++ /dev/null @@ -1,13 +0,0 @@ -from django.urls import path - - -from plane.api.views import ReleaseNotesEndpoint - - -urlpatterns = [ - path( - "release-notes/", - ReleaseNotesEndpoint.as_view(), - name="release-notes", - ), -] diff --git a/apiserver/plane/api/urls/unsplash.py b/apiserver/plane/api/urls/unsplash.py deleted file mode 100644 index 25fab4694..000000000 --- a/apiserver/plane/api/urls/unsplash.py +++ /dev/null @@ -1,13 +0,0 @@ -from django.urls import path - - -from plane.api.views import UnsplashEndpoint - - -urlpatterns = [ - path( - "unsplash/", - UnsplashEndpoint.as_view(), - name="unsplash", - ), -] diff --git a/apiserver/plane/api/views/external.py b/apiserver/plane/api/views/external.py index 755879dc6..a04495569 100644 --- a/apiserver/plane/api/views/external.py +++ b/apiserver/plane/api/views/external.py @@ -89,4 +89,4 @@ class UnsplashEndpoint(BaseAPIView): } resp = requests.get(url=url, headers=headers) - return Response(resp.json(), status=status.HTTP_200_OK) + return Response(resp.json(), status=resp.status_code) diff --git a/packages/tailwind-config-custom/tailwind.config.js b/packages/tailwind-config-custom/tailwind.config.js index efc47b4c7..5aef561e9 100644 --- a/packages/tailwind-config-custom/tailwind.config.js +++ b/packages/tailwind-config-custom/tailwind.config.js @@ -174,7 +174,7 @@ module.exports = { DEFAULT: convertToRGB("--color-sidebar-border-200"), }, }, - backdrop: "#131313", + backdrop: "rgba(0, 0, 0, 0.25)", }, }, keyframes: { diff --git a/packages/ui/src/icons/priority-icon.tsx b/packages/ui/src/icons/priority-icon.tsx index 36c6fa18f..2c2e012e9 100644 --- a/packages/ui/src/icons/priority-icon.tsx +++ b/packages/ui/src/icons/priority-icon.tsx @@ -18,18 +18,21 @@ export const PriorityIcon: React.FC = ({ }) => { if (!className || className === "") className = "h-3.5 w-3.5"; + // Convert to lowercase for string comparison + const lowercasePriority = priority?.toLowerCase(); + return ( <> - {priority === "urgent" ? ( - - ) : priority === "high" ? ( - - ) : priority === "medium" ? ( - - ) : priority === "low" ? ( - + {lowercasePriority === "urgent" ? ( + + ) : lowercasePriority === "high" ? ( + + ) : lowercasePriority === "medium" ? ( + + ) : lowercasePriority === "low" ? ( + ) : ( - + )} ); diff --git a/web/components/analytics/custom-analytics/table.tsx b/web/components/analytics/custom-analytics/table.tsx index 5c7bb1146..1d578b0d8 100644 --- a/web/components/analytics/custom-analytics/table.tsx +++ b/web/components/analytics/custom-analytics/table.tsx @@ -69,7 +69,6 @@ export const AnalyticsTable: React.FC = ({ analytics, barGraphData, param }`} > {params.x_axis === "priority" ? ( - // TODO: incorrect priority icon being rendered ) : ( = ({ type, initialValues, isOpen, leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -68,7 +68,7 @@ export const SelectMonthModal: React.FC = ({ type, initialValues, isOpen, leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -144,10 +144,10 @@ export const SelectMonthModal: React.FC = ({ type, initialValues, isOpen,
- -
diff --git a/web/components/command-palette/command-modal.tsx b/web/components/command-palette/command-modal.tsx index 3acfb71a6..04625f77a 100644 --- a/web/components/command-palette/command-modal.tsx +++ b/web/components/command-palette/command-modal.tsx @@ -245,7 +245,7 @@ export const CommandModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -259,7 +259,7 @@ export const CommandModal: React.FC = observer((props) => { leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > -
+
{ if (value.toLowerCase().includes(search.toLowerCase())) return 1; diff --git a/web/components/command-palette/shortcuts-modal.tsx b/web/components/command-palette/shortcuts-modal.tsx index 3c7c19969..40317013c 100644 --- a/web/components/command-palette/shortcuts-modal.tsx +++ b/web/components/command-palette/shortcuts-modal.tsx @@ -67,7 +67,7 @@ export const ShortcutsModal: FC = (props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -81,8 +81,8 @@ export const ShortcutsModal: FC = (props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - -
+ +
= ({ isOpen, setIsOpen }) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -51,7 +51,7 @@ export const ProductUpdatesModal: React.FC = ({ isOpen, setIsOpen }) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
Product Updates diff --git a/web/components/core/filters/date-filter-modal.tsx b/web/components/core/filters/date-filter-modal.tsx index 66c4f4771..0266ae8f4 100644 --- a/web/components/core/filters/date-filter-modal.tsx +++ b/web/components/core/filters/date-filter-modal.tsx @@ -62,7 +62,7 @@ export const DateFilterModal: React.FC = ({ title, handleClose, isOpen, o leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -75,7 +75,7 @@ export const DateFilterModal: React.FC = ({ title, handleClose, isOpen, o leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
= ({ title, handleClose, isOpen, o )}
- -
diff --git a/web/components/core/modals/bulk-delete-issues-modal.tsx b/web/components/core/modals/bulk-delete-issues-modal.tsx index c2bc466d5..f1c951385 100644 --- a/web/components/core/modals/bulk-delete-issues-modal.tsx +++ b/web/components/core/modals/bulk-delete-issues-modal.tsx @@ -116,7 +116,7 @@ export const BulkDeleteIssuesModal: React.FC = (props) => { return ( setQuery("")} appear> -
+
= (props) => { leaveTo="opacity-0 scale-95" > -
+
{ @@ -211,10 +211,10 @@ export const BulkDeleteIssuesModal: React.FC = (props) => { {filteredIssues.length > 0 && (
- -
diff --git a/web/components/core/modals/existing-issues-list-modal.tsx b/web/components/core/modals/existing-issues-list-modal.tsx index 663dbfc83..6b11617ad 100644 --- a/web/components/core/modals/existing-issues-list-modal.tsx +++ b/web/components/core/modals/existing-issues-list-modal.tsx @@ -102,7 +102,7 @@ export const ExistingIssuesListModal: React.FC = ({ leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -115,7 +115,7 @@ export const ExistingIssuesListModal: React.FC = ({ leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - + { @@ -262,10 +262,10 @@ export const ExistingIssuesListModal: React.FC = ({ {selectedIssues.length > 0 && (
- -
diff --git a/web/components/core/modals/gpt-assistant-modal.tsx b/web/components/core/modals/gpt-assistant-modal.tsx index 672fc9a05..b98b1bc1c 100644 --- a/web/components/core/modals/gpt-assistant-modal.tsx +++ b/web/components/core/modals/gpt-assistant-modal.tsx @@ -203,10 +203,10 @@ export const GptAssistantModal: React.FC = ({ )}
- -
diff --git a/web/components/core/modals/image-upload-modal.tsx b/web/components/core/modals/image-upload-modal.tsx index e4cdb16d6..5640d62f6 100644 --- a/web/components/core/modals/image-upload-modal.tsx +++ b/web/components/core/modals/image-upload-modal.tsx @@ -106,7 +106,7 @@ export const ImageUploadModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -120,7 +120,7 @@ export const ImageUploadModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
Upload Image @@ -175,15 +175,15 @@ export const ImageUploadModal: React.FC = observer((props) => {

-
- -
diff --git a/web/components/core/modals/link-modal.tsx b/web/components/core/modals/link-modal.tsx index e2833f61f..02a216f06 100644 --- a/web/components/core/modals/link-modal.tsx +++ b/web/components/core/modals/link-modal.tsx @@ -76,7 +76,7 @@ export const LinkModal: FC = (props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -90,7 +90,7 @@ export const LinkModal: FC = (props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -149,10 +149,10 @@ export const LinkModal: FC = (props) => {
- - -
+ )} +
diff --git a/web/components/cycles/delete-modal.tsx b/web/components/cycles/delete-modal.tsx index b7f25028d..f5024b3a2 100644 --- a/web/components/cycles/delete-modal.tsx +++ b/web/components/cycles/delete-modal.tsx @@ -70,7 +70,7 @@ export const CycleDeleteModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -84,7 +84,7 @@ export const CycleDeleteModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -105,7 +105,7 @@ export const CycleDeleteModal: React.FC = observer((props) => { Cancel -
diff --git a/web/components/cycles/form.tsx b/web/components/cycles/form.tsx index 7189b2fea..492337c4a 100644 --- a/web/components/cycles/form.tsx +++ b/web/components/cycles/form.tsx @@ -136,10 +136,10 @@ export const CycleForm: React.FC = (props) => {
- - -
diff --git a/web/components/headers/module-issues.tsx b/web/components/headers/module-issues.tsx index 8e1c20da3..cea8093bf 100644 --- a/web/components/headers/module-issues.tsx +++ b/web/components/headers/module-issues.tsx @@ -112,7 +112,7 @@ export const ModuleIssuesHeader: React.FC = observer(() => { onClose={() => setAnalyticsModal(false)} moduleDetails={moduleDetails ?? undefined} /> -
+
{ const { storedValue: modulesView, setValue: setModulesView } = useLocalStorage("modules_view", "grid"); return ( -
+
@@ -76,6 +74,7 @@ export const ModulesListHeader: React.FC = observer(() => {
diff --git a/web/components/headers/user-profile.tsx b/web/components/headers/user-profile.tsx index 70a3f40f5..1883e631f 100644 --- a/web/components/headers/user-profile.tsx +++ b/web/components/headers/user-profile.tsx @@ -17,9 +17,7 @@ export const UserProfileHeader: FC = observer((props) => { const { workspaceSlug } = router.query; return ( -
+
diff --git a/web/components/headers/workspace-analytics.tsx b/web/components/headers/workspace-analytics.tsx index ea1cde066..e25fc6d5b 100644 --- a/web/components/headers/workspace-analytics.tsx +++ b/web/components/headers/workspace-analytics.tsx @@ -9,7 +9,7 @@ export const WorkspaceAnalyticsHeader = () => { return ( <>
diff --git a/web/components/headers/workspace-dashboard.tsx b/web/components/headers/workspace-dashboard.tsx index 73d9dacab..76bd6bc30 100644 --- a/web/components/headers/workspace-dashboard.tsx +++ b/web/components/headers/workspace-dashboard.tsx @@ -7,6 +7,7 @@ import githubBlackImage from "/public/logos/github-black.png"; import githubWhiteImage from "/public/logos/github-white.png"; // components import { ProductUpdatesModal } from "components/common"; +import { Breadcrumbs } from "@plane/ui"; export const WorkspaceDashboardHeader = () => { const [isProductUpdatesModalOpen, setIsProductUpdatesModalOpen] = useState(false); @@ -16,25 +17,30 @@ export const WorkspaceDashboardHeader = () => { return ( <> -
-
- - Dashboard +
+
+
+ + } + label="Dashboard" + /> + +
{"What's New?"} = observer((pro const { workspaceSlug } = router.query; return ( -
+
diff --git a/web/components/inbox/actions-header.tsx b/web/components/inbox/actions-header.tsx index 3c1fb758c..be077df5c 100644 --- a/web/components/inbox/actions-header.tsx +++ b/web/components/inbox/actions-header.tsx @@ -160,7 +160,7 @@ export const InboxActionsHeader = observer(() => { Snooze - + {({ close }) => (
= (props) => {
diff --git a/web/components/inbox/modals/accept-issue-modal.tsx b/web/components/inbox/modals/accept-issue-modal.tsx index 11ff416b2..376ccbfdd 100644 --- a/web/components/inbox/modals/accept-issue-modal.tsx +++ b/web/components/inbox/modals/accept-issue-modal.tsx @@ -41,7 +41,7 @@ export const AcceptIssueModal: React.FC = ({ isOpen, onClose, data, onSub leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -55,7 +55,7 @@ export const AcceptIssueModal: React.FC = ({ isOpen, onClose, data, onSub leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -75,10 +75,10 @@ export const AcceptIssueModal: React.FC = ({ isOpen, onClose, data, onSub

- -
diff --git a/web/components/inbox/modals/create-issue-modal.tsx b/web/components/inbox/modals/create-issue-modal.tsx index aa92e0bcd..28bde21e4 100644 --- a/web/components/inbox/modals/create-issue-modal.tsx +++ b/web/components/inbox/modals/create-issue-modal.tsx @@ -85,7 +85,7 @@ export const CreateInboxIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -99,7 +99,7 @@ export const CreateInboxIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +

Create Inbox Issue

@@ -175,10 +175,10 @@ export const CreateInboxIssueModal: React.FC = observer((props) => { {}} size="md" />
- -
diff --git a/web/components/inbox/modals/decline-issue-modal.tsx b/web/components/inbox/modals/decline-issue-modal.tsx index 50fccdd74..5267f747b 100644 --- a/web/components/inbox/modals/decline-issue-modal.tsx +++ b/web/components/inbox/modals/decline-issue-modal.tsx @@ -41,7 +41,7 @@ export const DeclineIssueModal: React.FC = ({ isOpen, onClose, data, onSu leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -55,7 +55,7 @@ export const DeclineIssueModal: React.FC = ({ isOpen, onClose, data, onSu leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -75,10 +75,10 @@ export const DeclineIssueModal: React.FC = ({ isOpen, onClose, data, onSu

- -
diff --git a/web/components/inbox/modals/delete-issue-modal.tsx b/web/components/inbox/modals/delete-issue-modal.tsx index 29129cd70..eb135fb7a 100644 --- a/web/components/inbox/modals/delete-issue-modal.tsx +++ b/web/components/inbox/modals/delete-issue-modal.tsx @@ -78,7 +78,7 @@ export const DeleteInboxIssueModal: React.FC = observer(({ isOpen, onClos leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -92,7 +92,7 @@ export const DeleteInboxIssueModal: React.FC = observer(({ isOpen, onClos leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -112,10 +112,10 @@ export const DeleteInboxIssueModal: React.FC = observer(({ isOpen, onClos

- -
diff --git a/web/components/inbox/modals/select-duplicate.tsx b/web/components/inbox/modals/select-duplicate.tsx index ac0c63a95..e746d0df8 100644 --- a/web/components/inbox/modals/select-duplicate.tsx +++ b/web/components/inbox/modals/select-duplicate.tsx @@ -81,7 +81,7 @@ export const SelectDuplicateInboxIssueModal: React.FC = (props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -94,7 +94,7 @@ export const SelectDuplicateInboxIssueModal: React.FC = (props) => { leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - + { @@ -166,10 +166,10 @@ export const SelectDuplicateInboxIssueModal: React.FC = (props) => { {filteredIssues.length > 0 && (
- -
diff --git a/web/components/integration/delete-import-modal.tsx b/web/components/integration/delete-import-modal.tsx index 49f9e5c28..8d222c4db 100644 --- a/web/components/integration/delete-import-modal.tsx +++ b/web/components/integration/delete-import-modal.tsx @@ -78,7 +78,7 @@ export const DeleteImportModal: React.FC = ({ isOpen, handleClose, data, leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -92,7 +92,7 @@ export const DeleteImportModal: React.FC = ({ isOpen, handleClose, data, leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -127,11 +127,13 @@ export const DeleteImportModal: React.FC = ({ isOpen, handleClose, data, />
-
- -
diff --git a/web/components/issues/delete-archived-issue-modal.tsx b/web/components/issues/delete-archived-issue-modal.tsx index fd9c9b3fd..14ecd7edd 100644 --- a/web/components/issues/delete-archived-issue-modal.tsx +++ b/web/components/issues/delete-archived-issue-modal.tsx @@ -78,7 +78,7 @@ export const DeleteArchivedIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -92,7 +92,7 @@ export const DeleteArchivedIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -113,10 +113,16 @@ export const DeleteArchivedIssueModal: React.FC = observer((props) => {

- -
diff --git a/web/components/issues/delete-draft-issue-modal.tsx b/web/components/issues/delete-draft-issue-modal.tsx index 3b3efaea0..955d8ac78 100644 --- a/web/components/issues/delete-draft-issue-modal.tsx +++ b/web/components/issues/delete-draft-issue-modal.tsx @@ -88,7 +88,7 @@ export const DeleteDraftIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -102,7 +102,7 @@ export const DeleteDraftIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -123,10 +123,10 @@ export const DeleteDraftIssueModal: React.FC = observer((props) => {

- -
diff --git a/web/components/issues/delete-issue-modal.tsx b/web/components/issues/delete-issue-modal.tsx index 41133111e..38d0a33d1 100644 --- a/web/components/issues/delete-issue-modal.tsx +++ b/web/components/issues/delete-issue-modal.tsx @@ -58,7 +58,7 @@ export const DeleteIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -72,7 +72,7 @@ export const DeleteIssueModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -93,10 +93,16 @@ export const DeleteIssueModal: React.FC = observer((props) => {

- -
diff --git a/web/components/issues/draft-issue-form.tsx b/web/components/issues/draft-issue-form.tsx index b006bfabc..e42d8aab3 100644 --- a/web/components/issues/draft-issue-form.tsx +++ b/web/components/issues/draft-issue-form.tsx @@ -600,11 +600,12 @@ export const DraftIssueForm: FC = (props) => { {}} size="md" />
-
); diff --git a/web/components/issues/modal.tsx b/web/components/issues/modal.tsx index 12f907454..b1e8d1bd8 100644 --- a/web/components/issues/modal.tsx +++ b/web/components/issues/modal.tsx @@ -310,7 +310,7 @@ export const CreateUpdateIssueModal: React.FC = observer((prop leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -324,7 +324,7 @@ export const CreateUpdateIssueModal: React.FC = observer((prop leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - + = ({ leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -93,7 +93,7 @@ export const ParentIssuesListModal: React.FC = ({ leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - + { diff --git a/web/components/labels/create-label-modal.tsx b/web/components/labels/create-label-modal.tsx index e298cda48..e148f8231 100644 --- a/web/components/labels/create-label-modal.tsx +++ b/web/components/labels/create-label-modal.tsx @@ -100,7 +100,7 @@ export const CreateLabelModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -114,7 +114,7 @@ export const CreateLabelModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -189,6 +189,7 @@ export const CreateLabelModal: React.FC = observer((props) => { value={value} onChange={onChange} ref={ref} + tabIndex={1} hasError={Boolean(errors.name)} placeholder="Label title" className="resize-none text-xl w-full" @@ -199,10 +200,10 @@ export const CreateLabelModal: React.FC = observer((props) => {
- -
diff --git a/web/components/labels/delete-label-modal.tsx b/web/components/labels/delete-label-modal.tsx index b70e28dda..f8faeef33 100644 --- a/web/components/labels/delete-label-modal.tsx +++ b/web/components/labels/delete-label-modal.tsx @@ -75,7 +75,7 @@ export const DeleteLabelModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -89,7 +89,7 @@ export const DeleteLabelModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -110,10 +110,10 @@ export const DeleteLabelModal: React.FC = observer((props) => {
- -
diff --git a/web/components/labels/labels-list-modal.tsx b/web/components/labels/labels-list-modal.tsx index 650745caa..e3176d8a0 100644 --- a/web/components/labels/labels-list-modal.tsx +++ b/web/components/labels/labels-list-modal.tsx @@ -73,7 +73,7 @@ export const LabelsListModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -86,7 +86,7 @@ export const LabelsListModal: React.FC = observer((props) => { leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - +
= observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -89,7 +89,7 @@ export const DeleteModuleModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -110,10 +110,10 @@ export const DeleteModuleModal: React.FC = observer((props) => {
- -
diff --git a/web/components/modules/form.tsx b/web/components/modules/form.tsx index c26926ff8..d47184907 100644 --- a/web/components/modules/form.tsx +++ b/web/components/modules/form.tsx @@ -183,10 +183,10 @@ export const ModuleForm: React.FC = ({
- - -
diff --git a/web/components/pages/create-update-page-modal.tsx b/web/components/pages/create-update-page-modal.tsx index 49057dd72..a5803fcad 100644 --- a/web/components/pages/create-update-page-modal.tsx +++ b/web/components/pages/create-update-page-modal.tsx @@ -153,7 +153,7 @@ export const CreateUpdatePageModal: React.FC = (props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -167,7 +167,7 @@ export const CreateUpdatePageModal: React.FC = (props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - + = ({ isOpen, s leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -110,7 +110,7 @@ export const DeletePageModal: React.FC = ({ isOpen, s leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -131,10 +131,10 @@ export const DeletePageModal: React.FC = ({ isOpen, s
- -
diff --git a/web/components/pages/page-form.tsx b/web/components/pages/page-form.tsx index c432bb82f..e898395c9 100644 --- a/web/components/pages/page-form.tsx +++ b/web/components/pages/page-form.tsx @@ -76,10 +76,10 @@ export const PageForm: React.FC = ({ handleFormSubmit, handleClose, statu
- - -
diff --git a/web/components/project/create-project-modal.tsx b/web/components/project/create-project-modal.tsx index ab734e9b3..e1d199239 100644 --- a/web/components/project/create-project-modal.tsx +++ b/web/components/project/create-project-modal.tsx @@ -186,7 +186,7 @@ export const CreateProjectModal: FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -200,7 +200,7 @@ export const CreateProjectModal: FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
{watch("cover_image") !== null && ( = observer((props) => {
- -
diff --git a/web/components/project/join-project-modal.tsx b/web/components/project/join-project-modal.tsx index 9debb0d83..08f7ed1f0 100644 --- a/web/components/project/join-project-modal.tsx +++ b/web/components/project/join-project-modal.tsx @@ -53,7 +53,7 @@ export const JoinProjectModal: React.FC = (props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -67,7 +67,7 @@ export const JoinProjectModal: React.FC = (props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
Join Project? @@ -79,10 +79,17 @@ export const JoinProjectModal: React.FC = (props) => {
- -
diff --git a/web/components/project/leave-project-modal.tsx b/web/components/project/leave-project-modal.tsx index e36fa0ae2..8f534cecb 100644 --- a/web/components/project/leave-project-modal.tsx +++ b/web/components/project/leave-project-modal.tsx @@ -104,7 +104,7 @@ export const LeaveProjectModal: FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -118,7 +118,7 @@ export const LeaveProjectModal: FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -187,10 +187,10 @@ export const LeaveProjectModal: FC = observer((props) => { />
- -
diff --git a/web/components/project/priority-select.tsx b/web/components/project/priority-select.tsx index b7323642e..9c12e6433 100644 --- a/web/components/project/priority-select.tsx +++ b/web/components/project/priority-select.tsx @@ -74,15 +74,7 @@ export const PrioritySelect: React.FC = ({
{showTitle && {value}}
diff --git a/web/components/project/publish-project/modal.tsx b/web/components/project/publish-project/modal.tsx index fe31dfe65..f03e0abcc 100644 --- a/web/components/project/publish-project/modal.tsx +++ b/web/components/project/publish-project/modal.tsx @@ -276,7 +276,7 @@ export const PublishProjectModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -290,7 +290,7 @@ export const PublishProjectModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - + {/* heading */}
@@ -464,19 +464,19 @@ export const PublishProjectModal: React.FC = observer((props) => {
{!projectPublishStore.fetchSettingsLoader && (
- {project.is_deployed ? ( <> {isUpdateRequired && ( - )} ) : ( - )} diff --git a/web/components/project/send-project-invitation-modal.tsx b/web/components/project/send-project-invitation-modal.tsx index 4ab7bd20a..8fc895fe5 100644 --- a/web/components/project/send-project-invitation-modal.tsx +++ b/web/components/project/send-project-invitation-modal.tsx @@ -158,7 +158,7 @@ export const SendProjectInvitationModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -172,7 +172,7 @@ export const SendProjectInvitationModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -290,10 +290,10 @@ export const SendProjectInvitationModal: React.FC = observer((props) => { Add more
- - -
diff --git a/web/components/states/delete-state-modal.tsx b/web/components/states/delete-state-modal.tsx index b0c609702..d1785d5b6 100644 --- a/web/components/states/delete-state-modal.tsx +++ b/web/components/states/delete-state-modal.tsx @@ -82,7 +82,7 @@ export const DeleteStateModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -96,8 +96,8 @@ export const DeleteStateModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - -
+ +
-
- -
diff --git a/web/components/views/delete-view-modal.tsx b/web/components/views/delete-view-modal.tsx index 5d0f6bd96..5bf07fb66 100644 --- a/web/components/views/delete-view-modal.tsx +++ b/web/components/views/delete-view-modal.tsx @@ -77,7 +77,7 @@ export const DeleteProjectViewModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -91,7 +91,7 @@ export const DeleteProjectViewModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -115,7 +115,7 @@ export const DeleteProjectViewModal: React.FC = observer((props) => { -
diff --git a/web/components/views/modal.tsx b/web/components/views/modal.tsx index 02a2b8ec7..8cc1a5981 100644 --- a/web/components/views/modal.tsx +++ b/web/components/views/modal.tsx @@ -79,7 +79,7 @@ export const CreateUpdateProjectViewModal: FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -93,7 +93,7 @@ export const CreateUpdateProjectViewModal: FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - + = observer((props) => leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -62,8 +62,8 @@ export const ConfirmWorkspaceMemberRemove: React.FC = observer((props) => leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - -
+ +
-
- -
diff --git a/web/components/workspace/delete-workspace-modal.tsx b/web/components/workspace/delete-workspace-modal.tsx index 4dcbebafb..060ad8ded 100644 --- a/web/components/workspace/delete-workspace-modal.tsx +++ b/web/components/workspace/delete-workspace-modal.tsx @@ -89,7 +89,7 @@ export const DeleteWorkspaceModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -103,7 +103,7 @@ export const DeleteWorkspaceModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -171,10 +171,10 @@ export const DeleteWorkspaceModal: React.FC = observer((props) => {
- -
diff --git a/web/components/workspace/send-workspace-invitation-modal.tsx b/web/components/workspace/send-workspace-invitation-modal.tsx index 0332bc4de..b044ec5a2 100644 --- a/web/components/workspace/send-workspace-invitation-modal.tsx +++ b/web/components/workspace/send-workspace-invitation-modal.tsx @@ -103,7 +103,7 @@ export const SendWorkspaceInvitationModal: React.FC = (props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -117,7 +117,7 @@ export const SendWorkspaceInvitationModal: React.FC = (props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - + { @@ -214,10 +214,10 @@ export const SendWorkspaceInvitationModal: React.FC = (props) => { Add more
- -
diff --git a/web/components/workspace/sidebar-dropdown.tsx b/web/components/workspace/sidebar-dropdown.tsx index faa301eaa..dfa45d9bf 100644 --- a/web/components/workspace/sidebar-dropdown.tsx +++ b/web/components/workspace/sidebar-dropdown.tsx @@ -219,11 +219,12 @@ export const WorkspaceSidebarDropdown = observer(() => { { + router.push(link.href); + }} + className="flex w-full items-center cursor-pointer justify-start rounded px-2 py-1 text-sm text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-80" > - - {link.name} - + {link.name} ))}
diff --git a/web/components/workspace/views/delete-view-modal.tsx b/web/components/workspace/views/delete-view-modal.tsx index 432eba165..6d91bdb55 100644 --- a/web/components/workspace/views/delete-view-modal.tsx +++ b/web/components/workspace/views/delete-view-modal.tsx @@ -71,7 +71,7 @@ export const DeleteGlobalViewModal: React.FC = observer((props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -85,7 +85,7 @@ export const DeleteGlobalViewModal: React.FC = observer((props) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -106,10 +106,10 @@ export const DeleteGlobalViewModal: React.FC = observer((props) => {
- -
diff --git a/web/components/workspace/views/form.tsx b/web/components/workspace/views/form.tsx index 71b44c3f3..f6c6de2d2 100644 --- a/web/components/workspace/views/form.tsx +++ b/web/components/workspace/views/form.tsx @@ -169,10 +169,10 @@ export const WorkspaceViewForm: React.FC = observer((props) => {
- -