From fd6430c3e330b5f4e5e2ccf40d9ee662397e43ad Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Fri, 10 Nov 2023 15:48:34 +0530 Subject: [PATCH] style: Update modal appearance for UI consistency (#2747) --- .../tailwind-config-custom/tailwind.config.js | 2 +- web/components/automation/select-month-modal.tsx | 8 ++++---- web/components/command-palette/command-modal.tsx | 4 ++-- .../command-palette/shortcuts-modal.tsx | 6 +++--- web/components/common/product-updates-modal.tsx | 4 ++-- web/components/core/filters/date-filter-modal.tsx | 8 ++++---- .../core/modals/bulk-delete-issues-modal.tsx | 8 ++++---- .../core/modals/existing-issues-list-modal.tsx | 8 ++++---- .../core/modals/gpt-assistant-modal.tsx | 4 ++-- web/components/core/modals/image-upload-modal.tsx | 10 +++++----- web/components/core/modals/link-modal.tsx | 8 ++++---- web/components/cycles/delete-modal.tsx | 6 +++--- web/components/cycles/form.tsx | 4 ++-- web/components/cycles/modal.tsx | 4 ++-- web/components/cycles/transfer-issues-modal.tsx | 4 ++-- .../estimates/create-update-estimate-modal.tsx | 8 ++++---- .../estimates/delete-estimate-modal.tsx | 8 +++++--- web/components/exporter/export-modal.tsx | 7 ++++--- web/components/inbox/actions-header.tsx | 2 +- .../inbox/modals/accept-issue-modal.tsx | 8 ++++---- .../inbox/modals/create-issue-modal.tsx | 8 ++++---- .../inbox/modals/decline-issue-modal.tsx | 8 ++++---- .../inbox/modals/delete-issue-modal.tsx | 8 ++++---- web/components/inbox/modals/select-duplicate.tsx | 8 ++++---- .../integration/delete-import-modal.tsx | 8 +++++--- .../issues/attachment/delete-attachment-modal.tsx | 12 +++++++----- web/components/issues/confirm-issue-discard.tsx | 10 +++++----- .../issues/delete-archived-issue-modal.tsx | 14 ++++++++++---- .../issues/delete-draft-issue-modal.tsx | 8 ++++---- web/components/issues/delete-issue-modal.tsx | 14 ++++++++++---- web/components/issues/draft-issue-form.tsx | 4 +++- web/components/issues/draft-issue-modal.tsx | 4 ++-- web/components/issues/modal.tsx | 4 ++-- .../issues/parent-issues-list-modal.tsx | 4 ++-- web/components/labels/create-label-modal.tsx | 9 +++++---- web/components/labels/delete-label-modal.tsx | 8 ++++---- web/components/labels/labels-list-modal.tsx | 4 ++-- web/components/modules/delete-module-modal.tsx | 8 ++++---- web/components/modules/form.tsx | 4 ++-- web/components/modules/modal.tsx | 4 ++-- .../notifications/select-snooze-till-modal.tsx | 8 ++++---- web/components/pages/create-update-page-modal.tsx | 4 ++-- web/components/pages/delete-page-modal.tsx | 8 ++++---- web/components/pages/page-form.tsx | 4 ++-- .../project/confirm-project-member-remove.tsx | 10 +++++----- web/components/project/create-project-modal.tsx | 6 +++--- web/components/project/delete-project-modal.tsx | 8 ++++---- web/components/project/join-project-modal.tsx | 15 +++++++++++---- web/components/project/leave-project-modal.tsx | 8 ++++---- web/components/project/publish-project/modal.tsx | 10 +++++----- .../project/send-project-invitation-modal.tsx | 8 ++++---- web/components/states/create-state-modal.tsx | 10 +++++----- web/components/states/delete-state-modal.tsx | 12 ++++++------ web/components/views/delete-view-modal.tsx | 6 +++--- web/components/views/modal.tsx | 4 ++-- .../workspace/confirm-workspace-member-remove.tsx | 12 ++++++------ .../workspace/delete-workspace-modal.tsx | 8 ++++---- .../workspace/send-workspace-invitation-modal.tsx | 8 ++++---- .../workspace/views/delete-view-modal.tsx | 8 ++++---- web/components/workspace/views/form.tsx | 4 ++-- web/components/workspace/views/modal.tsx | 4 ++-- 61 files changed, 233 insertions(+), 204 deletions(-) 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/web/components/automation/select-month-modal.tsx b/web/components/automation/select-month-modal.tsx index 88095b251..ad53527d7 100644 --- a/web/components/automation/select-month-modal.tsx +++ b/web/components/automation/select-month-modal.tsx @@ -54,7 +54,7 @@ export const SelectMonthModal: React.FC = ({ 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/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) => {
- - - - + {({ close }) => (
= ({ 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/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/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/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) => {
- -