diff --git a/apps/space/app/issues/[anchor]/layout.tsx b/apps/space/app/issues/[anchor]/layout.tsx index 5340691ed35..e32b008a242 100644 --- a/apps/space/app/issues/[anchor]/layout.tsx +++ b/apps/space/app/issues/[anchor]/layout.tsx @@ -127,10 +127,10 @@ function IssuesLayout(props: Route.ComponentProps) { return ( <>
-
+
-
+
diff --git a/apps/space/core/components/editor/toolbar.tsx b/apps/space/core/components/editor/toolbar.tsx index d834fb8488b..c1ca99d6a3c 100644 --- a/apps/space/core/components/editor/toolbar.tsx +++ b/apps/space/core/components/editor/toolbar.tsx @@ -48,7 +48,7 @@ export function IssueCommentToolbar(props: Props) { }, [editorRef, updateActiveStates]); return ( -
+
{Object.keys(toolbarItems).map((key, index) => ( @@ -75,9 +75,9 @@ export function IssueCommentToolbar(props: Props) { type="button" onClick={() => executeCommand(item)} className={cn( - "grid place-items-center aspect-square rounded-xs p-0.5 text-placeholder hover:bg-layer-1", + "grid place-items-center aspect-square rounded-xs p-0.5 text-placeholder hover:bg-layer-transparent-hover", { - "bg-layer-1 text-primary": isItemActive, + "bg-layer-transparent-hover text-primary": isItemActive, } )} > @@ -99,7 +99,6 @@ export function IssueCommentToolbar(props: Props) { ); diff --git a/apps/space/core/components/issues/filters/root.tsx b/apps/space/core/components/issues/filters/root.tsx index 8274702dbe7..d7d5de6aa22 100644 --- a/apps/space/core/components/issues/filters/root.tsx +++ b/apps/space/core/components/issues/filters/root.tsx @@ -56,7 +56,7 @@ export const IssueFiltersDropdown = observer(function IssueFiltersDropdown(props ); return ( -
+
-
+
-
+
{/* priority */} {isFilterEnabled("priority") && (
diff --git a/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx b/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx index 629478606b0..849c98a445c 100644 --- a/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx +++ b/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx @@ -21,14 +21,14 @@ export const IssueLayoutHOC = observer(function IssueLayoutHOC(props: Props) { if (getIssueLoader() === "init-loader" || issueCount === undefined) { return ( -
+
); } if (getGroupIssueCount(undefined, undefined, false) === 0) { - return
No work items Found
; + return
No work items found
; } return <>{props.children}; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx index 64f60851605..9dcd66e7c05 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -49,10 +49,10 @@ export const IssueKanbanLayoutRoot = observer(function IssueKanbanLayoutRoot(pro return (
-
+
- {issueIds && issueIds.length > 0 ? ( - <> - {issueIds.map((issueId) => { + {issueIds && issueIds.length > 0 + ? issueIds.map((issueId) => { if (!issueId) return null; let draggableId = issueId; @@ -37,9 +36,8 @@ export const KanbanIssueBlocksList = observer(function KanbanIssueBlocksList(pro scrollableContainerRef={scrollableContainerRef} /> ); - })} - - ) : null} + }) + : null} ); }); diff --git a/apps/space/core/components/issues/issue-layouts/kanban/default.tsx b/apps/space/core/components/issues/issue-layouts/kanban/default.tsx index 87cb708674d..ce8d9796c76 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/default.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/default.tsx @@ -80,48 +80,46 @@ export const KanBan = observer(function KanBan(props: IKanBan) { }; return ( -
- {groupList && - groupList.length > 0 && - groupList.map((subList: IGroupByColumn) => { - const groupByVisibilityToggle = visibilityGroupBy(subList); +
+ {groupList?.map((subList) => { + const groupByVisibilityToggle = visibilityGroupBy(subList); - if (groupByVisibilityToggle.showGroup === false) return <>; - return ( -
- {isNil(subGroupBy) && ( -
- -
- )} - - {groupByVisibilityToggle.showIssues && ( - ; + return ( +
+ {isNil(subGroupBy) && ( +
+ - )} -
- ); - })} +
+ )} + + {groupByVisibilityToggle.showIssues && ( + + )} +
+ ); + })}
); }); diff --git a/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx b/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx index 5a775748d6d..38e75d10415 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx @@ -15,14 +15,13 @@ export const HeaderGroupByCard = observer(function HeaderGroupByCard(props: IHea return ( <> -
-
+
+
{icon ? icon : }
- -
-
{title}
-
{count || 0}
+
+
{title}
+
{count || 0}
diff --git a/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx b/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx index 58b149edd97..b467b747570 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx @@ -90,6 +90,7 @@ export const KanbanGroup = observer(function KanbanGroup(props: IKanbanGroup) {
{" "} Load More ↓ diff --git a/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx b/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx index 5731224e493..c4cc972fe62 100644 --- a/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx @@ -46,7 +46,7 @@ export const IssuesListLayoutRoot = observer(function IssuesListLayoutRoot(props return ( -
+
-
+
{displayProperties && displayProperties?.key && ( -
+
{projectIdentifier}-{issue.sequence_id}
)} @@ -79,9 +79,9 @@ export const IssueBlock = observer(function IssueBlock(props: IssueBlockProps) {
-
+
diff --git a/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx b/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx index 6a0b41dd6d9..391c51dd0c5 100644 --- a/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx @@ -14,12 +14,10 @@ export function IssueBlocksList(props: Props) { const { issueIds = [], groupId, displayProperties } = props; return ( -
- {issueIds && - issueIds?.length > 0 && - issueIds.map((issueId: string) => ( - - ))} +
+ {issueIds?.map((issueId) => ( + + ))}
); } diff --git a/apps/space/core/components/issues/issue-layouts/list/default.tsx b/apps/space/core/components/issues/issue-layouts/list/default.tsx index 5ca48216f09..fcc27d3e4b5 100644 --- a/apps/space/core/components/issues/issue-layouts/list/default.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/default.tsx @@ -6,7 +6,6 @@ import type { TGroupedIssues, IIssueDisplayProperties, TIssueGroupByOptions, - IGroupByColumn, TPaginationData, TLoader, } from "@plane/types"; @@ -67,7 +66,7 @@ export const List = observer(function List(props: IList) { ref={containerRef} className="size-full vertical-scrollbar scrollbar-lg relative overflow-auto vertical-scrollbar-margin-top-md" > - {groupList.map((group: IGroupByColumn) => ( + {groupList.map((group) => (
toggleListGroup(groupID)} + role="button" > -
+
{icon ?? }
-
+
{title}
{count || 0}
diff --git a/apps/space/core/components/issues/issue-layouts/list/list-group.tsx b/apps/space/core/components/issues/issue-layouts/list/list-group.tsx index 7ba9181a7e5..7bf8e6c4860 100644 --- a/apps/space/core/components/issues/issue-layouts/list/list-group.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/list-group.tsx @@ -97,6 +97,7 @@ export const ListGroup = observer(function ListGroup(props: Props) { "h-11 relative flex items-center gap-3 bg-surface-1 border border-transparent border-t-subtle-1 pl-6 p-3 text-13 font-medium text-accent-primary hover:text-accent-secondary hover:underline cursor-pointer" } onClick={() => loadMoreIssues(group.id)} + role="button" > {t("common.load_more")} ↓
@@ -114,8 +115,8 @@ export const ListGroup = observer(function ListGroup(props: Props) { const shouldExpand = (!!groupIssueCount && isExpanded) || !groupBy; return validateEmptyIssueGroups(groupIssueCount) ? ( -
-
+
+
; return ( -
+
{peekId && } {activeLayout && ( -
+
{/* applied filters */} {activeLayout === "list" && ( -
+
)} {activeLayout === "kanban" && ( -
+
)} diff --git a/apps/space/core/components/issues/navbar/controls.tsx b/apps/space/core/components/issues/navbar/controls.tsx index e1c25cf2d6b..b8e2a06f6e5 100644 --- a/apps/space/core/components/issues/navbar/controls.tsx +++ b/apps/space/core/components/issues/navbar/controls.tsx @@ -104,17 +104,17 @@ export const NavbarControls = observer(function NavbarControls(props: NavbarCont return ( <> {/* issue views */} -
+
{/* issue filters */} -
+
{/* theming */} -
+
diff --git a/apps/space/core/components/issues/navbar/layout-selection.tsx b/apps/space/core/components/issues/navbar/layout-selection.tsx index cc4621e90a6..9c9662c2bcd 100644 --- a/apps/space/core/components/issues/navbar/layout-selection.tsx +++ b/apps/space/core/components/issues/navbar/layout-selection.tsx @@ -42,7 +42,7 @@ export const IssuesLayoutSelection = observer(function IssuesLayoutSelection(pro }; return ( -
+
{SITES_ISSUE_LAYOUTS.map((layout) => { if (!layoutOptions[layout.key]) return; @@ -50,8 +50,8 @@ export const IssuesLayoutSelection = observer(function IssuesLayoutSelection(pro ); }); diff --git a/apps/space/core/components/issues/navbar/user-avatar.tsx b/apps/space/core/components/issues/navbar/user-avatar.tsx index 31c7ea0012c..c2b827695ba 100644 --- a/apps/space/core/components/issues/navbar/user-avatar.tsx +++ b/apps/space/core/components/issues/navbar/user-avatar.tsx @@ -68,7 +68,7 @@ export const UserAvatar = observer(function UserAvatar() { size="sm" showTooltip={false} /> -
+
{currentUser?.display_name || `${currentUser?.first_name} ${currentUser?.first_name}` || currentUser?.email || @@ -98,9 +98,9 @@ export const UserAvatar = observer(function UserAvatar() { diff --git a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx index 76fd4d5b1b9..b6849e2dfb8 100644 --- a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx @@ -70,11 +70,11 @@ export const CommentCard = observer(function CommentCard(props: Props) { } height={30} width={30} - className="grid h-7 w-7 place-items-center rounded-full border-2 border-subtle text-se" + className="grid size-7 place-items-center rounded-full border-2 border-strong-1" /> ) : (
{comment.actor_detail.is_bot ? comment?.actor_detail?.first_name?.charAt(0) @@ -83,7 +83,7 @@ export const CommentCard = observer(function CommentCard(props: Props) { )} -
@@ -166,9 +166,9 @@ export const CommentCard = observer(function CommentCard(props: Props) { {}} - className="relative grid cursor-pointer place-items-center rounded-sm p-1 text-secondary outline-none hover:bg-layer-1 hover:text-primary" + className="relative grid cursor-pointer place-items-center rounded-sm p-1 text-tertiary outline-none hover:bg-layer-transparent-hover" > - + - + {({ active }) => (
@@ -189,8 +189,8 @@ export const CommentCard = observer(function CommentCard(props: Props) { onClick={() => { setIsEditing(true); }} - className={`w-full select-none truncate rounded-sm px-1 py-1.5 text-left text-secondary hover:bg-layer-1 ${ - active ? "bg-layer-1" : "" + className={`w-full select-none truncate rounded-sm px-1 py-1.5 text-left text-secondary hover:bg-layer-transparent-hover ${ + active ? "bg-layer-transparent-hover" : "" }`} > Edit @@ -204,8 +204,8 @@ export const CommentCard = observer(function CommentCard(props: Props) {
{isClipboardWriteAllowed && (peekMode === "side" || peekMode === "modal") && ( -
- -
+ )}
diff --git a/apps/space/core/components/issues/peek-overview/issue-activity.tsx b/apps/space/core/components/issues/peek-overview/issue-activity.tsx index 58429445dfd..e965edbbff9 100644 --- a/apps/space/core/components/issues/peek-overview/issue-activity.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-activity.tsx @@ -52,9 +52,9 @@ export const PeekOverviewIssueActivity = observer(function PeekOverviewIssueActi )} ) : ( -
+

- + Sign in to add your comment

diff --git a/apps/space/core/components/issues/peek-overview/issue-properties.tsx b/apps/space/core/components/issues/peek-overview/issue-properties.tsx index eb932df5cce..cd2ffd633cc 100644 --- a/apps/space/core/components/issues/peek-overview/issue-properties.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-properties.tsx @@ -91,7 +91,7 @@ export const PeekOverviewIssueProperties = observer(function PeekOverviewIssuePr ? "border-yellow-500/20 bg-yellow-500/20 text-yellow-500" : priority?.key === "low" ? "border-green-500/20 bg-green-500/20 text-green-500" - : "border-subtle bg-layer-1" + : "border-subtle bg-layer-3" }`} > {priority && ( @@ -120,7 +120,7 @@ export const PeekOverviewIssueProperties = observer(function PeekOverviewIssuePr {renderFormattedDate(issueDetails.target_date)}
) : ( - Empty + Empty )}
diff --git a/apps/space/core/components/issues/peek-overview/layout.tsx b/apps/space/core/components/issues/peek-overview/layout.tsx index 2fef6ad9641..d8b5a29ce13 100644 --- a/apps/space/core/components/issues/peek-overview/layout.tsx +++ b/apps/space/core/components/issues/peek-overview/layout.tsx @@ -68,7 +68,7 @@ export const IssuePeekOverview = observer(function IssuePeekOverview(props: TIss leaveFrom="translate-x-0" leaveTo="translate-x-full" > - + @@ -98,8 +98,8 @@ export const IssuePeekOverview = observer(function IssuePeekOverview(props: TIss >
{peekMode === "modal" && ( diff --git a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx index b7221369752..c965b7056c8 100644 --- a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx +++ b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx @@ -23,12 +23,12 @@ export const SidePeekView = observer(function SidePeekView(props: Props) { const { canComment } = usePublish(anchor); return ( -
+
{issueDetails ? ( -
+
{/* issue title and description */}
diff --git a/apps/space/core/components/ui/icon.tsx b/apps/space/core/components/ui/icon.tsx index 0e214803fdf..418be108c9c 100644 --- a/apps/space/core/components/ui/icon.tsx +++ b/apps/space/core/components/ui/icon.tsx @@ -6,5 +6,5 @@ type Props = { }; export function Icon({ iconName, className = "" }: Props) { - return {iconName}; + return {iconName}; } diff --git a/apps/web/ce/components/issues/header.tsx b/apps/web/ce/components/issues/header.tsx index ee21d6d18e1..28c1e8a56b5 100644 --- a/apps/web/ce/components/issues/header.tsx +++ b/apps/web/ce/components/issues/header.tsx @@ -116,7 +116,6 @@ export const IssuesHeader = observer(function IssuesHeader() { toggleCreateIssueModal(true, EIssuesStoreType.PROJECT); }} data-ph-element={WORK_ITEM_TRACKER_ELEMENTS.HEADER_ADD_BUTTON.WORK_ITEMS} - size="sm" >
{t("issue.label", { count: 1 })}
{t("issue.add.label")}