diff --git a/apps/app/components/core/board-view/single-board.tsx b/apps/app/components/core/board-view/single-board.tsx index 9cfe9c937..5701f4c58 100644 --- a/apps/app/components/core/board-view/single-board.tsx +++ b/apps/app/components/core/board-view/single-board.tsx @@ -60,6 +60,10 @@ export const SingleBoard: React.FC = ({ const [properties] = useIssuesProperties(workspaceSlug as string, projectId as string); + // Check if it has at least 4 tickets since it is enough to accommodate the Calendar height + const issuesLength = groupedByIssues?.[groupTitle].length; + const hasMinimumNumberOfCards = issuesLength ? issuesLength >= 4 : false; + const isNotAllowed = userAuth.isGuest || userAuth.isViewer || isCompleted; return ( @@ -103,7 +107,11 @@ export const SingleBoard: React.FC = ({ )} -
+
{groupedByIssues?.[groupTitle].map((issue, index) => ( { {!isArchivedIssues && (
{issueViewOptions.map((option) => ( - + + ))}
)} diff --git a/apps/app/components/issues/attachments.tsx b/apps/app/components/issues/attachments.tsx index 6d56264e5..95bd3488d 100644 --- a/apps/app/components/issues/attachments.tsx +++ b/apps/app/components/issues/attachments.tsx @@ -69,13 +69,12 @@ export const IssueAttachments = () => {
{getFileIcon(getFileExtension(file.asset))}
- + {truncateText(`${getFileName(file.attributes.name)}`, 10)} person.member.id === file.updated_by)?.member .first_name ?? "" diff --git a/apps/app/components/pages/single-page-detailed-item.tsx b/apps/app/components/pages/single-page-detailed-item.tsx index fcd6ca54f..2ae792940 100644 --- a/apps/app/components/pages/single-page-detailed-item.tsx +++ b/apps/app/components/pages/single-page-detailed-item.tsx @@ -141,7 +141,6 @@ export const SinglePageDetailedItem: React.FC = ({ ? "This page is only visible to you." : "This page can be viewed by anyone in the project." }`} - theme="dark" >
+ } + position={position} + renderTarget={({ isOpen: isTooltipOpen, ref: eleReference, ...tooltipProps }) => + React.cloneElement(children, { ref: eleReference, ...tooltipProps, ...children.props }) + } + /> + ); +}; diff --git a/apps/app/components/workspace/activity-graph.tsx b/apps/app/components/workspace/activity-graph.tsx index c9fecc1cd..95d6d03b3 100644 --- a/apps/app/components/workspace/activity-graph.tsx +++ b/apps/app/components/workspace/activity-graph.tsx @@ -110,7 +110,6 @@ export const ActivityGraph: React.FC = ({ activities }) => { tooltipContent={`${ isActive ? isActive.activity_count : 0 } activities on ${renderShortDateWithYearFormat(date)}`} - theme="dark" >
= ({ toggleSidebar, setToggleSidebar }) => return (
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx index f34689237..36612c92b 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx @@ -482,7 +482,6 @@ const SinglePage: NextPage = () => { ? "This page is only visible to you." : "This page can be viewed by anyone in the project." }`} - theme="dark" > {pageDetails.access ? (