chore: platform ux improvement (#6555)

* chore: IssueStats placement updated

* chore: app sidebar section header content updated
This commit is contained in:
Anmol Singh Bhatia 2025-02-06 13:48:26 +05:30 committed by GitHub
parent 89d1926727
commit e244f48776
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 10 additions and 20 deletions

View file

@ -168,7 +168,7 @@
"archives": "Archives",
"settings": "Settings",
"failed_to_move_favorite": "Failed to move favorite",
"your_favorites": "Your favorites",
"favorites": "Favorites",
"no_favorites_yet": "No favorites yet",
"create_folder": "Create folder",
"new_folder": "New folder",
@ -183,7 +183,6 @@
"failed_to_rename_favorite": "Failed to rename favorite",
"project_link_copied_to_clipboard": "Project link copied to clipboard",
"link_copied": "Link copied",
"your_projects": "Your projects",
"add_project": "Add project",
"create_project": "Create project",
"failed_to_remove_project_from_favorites": "Couldn't remove the project from favorites. Please try again.",

View file

@ -167,7 +167,7 @@
"archives": "Archivos",
"settings": "Configuración",
"failed_to_move_favorite": "Error al mover favorito",
"your_favorites": "Tus favoritos",
"favorites": "Favoritos",
"no_favorites_yet": "Aún no hay favoritos",
"create_folder": "Crear carpeta",
"new_folder": "Nueva carpeta",
@ -182,7 +182,6 @@
"failed_to_rename_favorite": "Error al renombrar favorito",
"project_link_copied_to_clipboard": "Enlace del proyecto copiado al portapapeles",
"link_copied": "Enlace copiado",
"your_projects": "Tus proyectos",
"add_project": "Agregar proyecto",
"create_project": "Crear proyecto",
"failed_to_remove_project_from_favorites": "No se pudo eliminar el proyecto de favoritos. Por favor, inténtalo de nuevo.",

View file

@ -167,7 +167,7 @@
"archives": "Archives",
"settings": "Paramètres",
"failed_to_move_favorite": "Impossible de déplacer le favori",
"your_favorites": "Vos favoris",
"favorites": "Favoris",
"no_favorites_yet": "Aucun favori pour le moment",
"create_folder": "Créer un dossier",
"new_folder": "Nouveau dossier",
@ -182,7 +182,6 @@
"failed_to_rename_favorite": "Impossible de renommer le favori",
"project_link_copied_to_clipboard": "Lien du projet copié dans le presse-papiers",
"link_copied": "Lien copié",
"your_projects": "Vos projets",
"add_project": "Ajouter un projet",
"create_project": "Créer un projet",
"failed_to_remove_project_from_favorites": "Impossible de supprimer le projet des favoris. Veuillez réessayer.",

View file

@ -167,7 +167,7 @@
"archives": "アーカイブ",
"settings": "設定",
"failed_to_move_favorite": "お気に入りの移動に失敗しました",
"your_favorites": "あなたのお気に入り",
"favorites": "お気に入り",
"no_favorites_yet": "まだお気に入りはありません",
"create_folder": "フォルダーを作成",
"new_folder": "新しいフォルダー",
@ -182,7 +182,6 @@
"failed_to_rename_favorite": "お気に入りの名前変更に失敗しました",
"project_link_copied_to_clipboard": "プロジェクトリンクがクリップボードにコピーされました",
"link_copied": "リンクがコピーされました",
"your_projects": "あなたのプロジェクト",
"add_project": "プロジェクトを追加",
"create_project": "プロジェクトを作成",
"failed_to_remove_project_from_favorites": "お気に入りからプロジェクトを削除できませんでした。もう一度お試しください。",

View file

@ -167,7 +167,7 @@
"archives": "归档",
"settings": "设置",
"failed_to_move_favorite": "移动收藏失败",
"your_favorites": "您的收藏",
"favorites": "收藏",
"no_favorites_yet": "尚无收藏",
"create_folder": "创建文件夹",
"new_folder": "新建文件夹",
@ -182,7 +182,6 @@
"failed_to_rename_favorite": "重命名收藏失败",
"project_link_copied_to_clipboard": "项目链接已复制到剪贴板",
"link_copied": "链接已复制",
"your_projects": "您的项目",
"add_project": "添加项目",
"create_project": "创建项目",
"failed_to_remove_project_from_favorites": "无法从收藏中移除项目,请重试。",

View file

@ -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}

View file

@ -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="">

View file

@ -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>

View file

@ -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={