chore: platform ux improvement (#6555)
* chore: IssueStats placement updated * chore: app sidebar section header content updated
This commit is contained in:
parent
89d1926727
commit
e244f48776
9 changed files with 10 additions and 20 deletions
|
|
@ -259,6 +259,7 @@ export const IssueBlock = observer((props: IssueBlockProps) => {
|
|||
>
|
||||
<p className="w-full truncate cursor-pointer text-sm text-custom-text-100">{issue.name}</p>
|
||||
</Tooltip>
|
||||
{isEpic && <IssueStats issueId={issue.id} />}
|
||||
</div>
|
||||
{!issue?.tempId && (
|
||||
<div
|
||||
|
|
@ -277,7 +278,6 @@ export const IssueBlock = observer((props: IssueBlockProps) => {
|
|||
<div className="flex flex-shrink-0 items-center gap-2">
|
||||
{!issue?.tempId ? (
|
||||
<>
|
||||
{isEpic && <IssueStats issueId={issue.id} />}
|
||||
<IssueProperties
|
||||
className={`relative flex flex-wrap ${isSidebarCollapsed ? "md:flex-grow md:flex-shrink-0" : "lg:flex-grow lg:flex-shrink-0"} items-center gap-2 whitespace-nowrap`}
|
||||
issue={issue}
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ export const SidebarFavoritesMenu = observer(() => {
|
|||
)}
|
||||
>
|
||||
<span onClick={() => toggleFavoriteMenu(!isFavoriteMenuOpen)} className="flex-1 text-start">
|
||||
{t("your_favorites").toUpperCase()}
|
||||
{t("favorites")}
|
||||
</span>
|
||||
<span className="flex flex-shrink-0 opacity-0 pointer-events-none group-hover/workspace-button:opacity-100 group-hover/workspace-button:pointer-events-auto rounded p-0.5 ">
|
||||
<Tooltip tooltipHeading={t("create_folder")} tooltipContent="">
|
||||
|
|
|
|||
|
|
@ -177,17 +177,12 @@ export const SidebarProjectsList: FC = observer(() => {
|
|||
)}
|
||||
onClick={() => toggleListDisclosure(!isAllProjectsListOpen)}
|
||||
>
|
||||
<Tooltip
|
||||
tooltipHeading={t("your_projects").toUpperCase()}
|
||||
tooltipContent=""
|
||||
position="right"
|
||||
disabled={!isCollapsed}
|
||||
>
|
||||
<Tooltip tooltipHeading={t("projects")} tooltipContent="" position="right" disabled={!isCollapsed}>
|
||||
<>
|
||||
{isCollapsed ? (
|
||||
<Briefcase className="flex-shrink-0 size-3" />
|
||||
) : (
|
||||
<span className="text-xs font-semibold">{t("your_projects").toUpperCase()}</span>
|
||||
<span className="text-xs font-semibold">{t("projects")}</span>
|
||||
)}
|
||||
</>
|
||||
</Tooltip>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export const SidebarWorkspaceMenuHeader: FC<SidebarWorkspaceMenuHeaderProps> = o
|
|||
className="flex-1 sticky top-0 z-10 w-full py-1.5 flex items-center justify-between gap-1 text-custom-sidebar-text-400 text-xs font-semibold"
|
||||
onClick={() => toggleWorkspaceMenu(!isWorkspaceMenuOpen)}
|
||||
>
|
||||
<span>{t("workspace").toUpperCase()}</span>
|
||||
<span>{t("workspace")}</span>
|
||||
</Disclosure.Button>
|
||||
<CustomMenu
|
||||
customButton={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue