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

View file

@ -167,7 +167,7 @@
"archives": "Archivos", "archives": "Archivos",
"settings": "Configuración", "settings": "Configuración",
"failed_to_move_favorite": "Error al mover favorito", "failed_to_move_favorite": "Error al mover favorito",
"your_favorites": "Tus favoritos", "favorites": "Favoritos",
"no_favorites_yet": "Aún no hay favoritos", "no_favorites_yet": "Aún no hay favoritos",
"create_folder": "Crear carpeta", "create_folder": "Crear carpeta",
"new_folder": "Nueva carpeta", "new_folder": "Nueva carpeta",
@ -182,7 +182,6 @@
"failed_to_rename_favorite": "Error al renombrar favorito", "failed_to_rename_favorite": "Error al renombrar favorito",
"project_link_copied_to_clipboard": "Enlace del proyecto copiado al portapapeles", "project_link_copied_to_clipboard": "Enlace del proyecto copiado al portapapeles",
"link_copied": "Enlace copiado", "link_copied": "Enlace copiado",
"your_projects": "Tus proyectos",
"add_project": "Agregar proyecto", "add_project": "Agregar proyecto",
"create_project": "Crear 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.", "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", "archives": "Archives",
"settings": "Paramètres", "settings": "Paramètres",
"failed_to_move_favorite": "Impossible de déplacer le favori", "failed_to_move_favorite": "Impossible de déplacer le favori",
"your_favorites": "Vos favoris", "favorites": "Favoris",
"no_favorites_yet": "Aucun favori pour le moment", "no_favorites_yet": "Aucun favori pour le moment",
"create_folder": "Créer un dossier", "create_folder": "Créer un dossier",
"new_folder": "Nouveau dossier", "new_folder": "Nouveau dossier",
@ -182,7 +182,6 @@
"failed_to_rename_favorite": "Impossible de renommer le favori", "failed_to_rename_favorite": "Impossible de renommer le favori",
"project_link_copied_to_clipboard": "Lien du projet copié dans le presse-papiers", "project_link_copied_to_clipboard": "Lien du projet copié dans le presse-papiers",
"link_copied": "Lien copié", "link_copied": "Lien copié",
"your_projects": "Vos projets",
"add_project": "Ajouter un projet", "add_project": "Ajouter un projet",
"create_project": "Créer un projet", "create_project": "Créer un projet",
"failed_to_remove_project_from_favorites": "Impossible de supprimer le projet des favoris. Veuillez réessayer.", "failed_to_remove_project_from_favorites": "Impossible de supprimer le projet des favoris. Veuillez réessayer.",

View file

@ -167,7 +167,7 @@
"archives": "アーカイブ", "archives": "アーカイブ",
"settings": "設定", "settings": "設定",
"failed_to_move_favorite": "お気に入りの移動に失敗しました", "failed_to_move_favorite": "お気に入りの移動に失敗しました",
"your_favorites": "あなたのお気に入り", "favorites": "お気に入り",
"no_favorites_yet": "まだお気に入りはありません", "no_favorites_yet": "まだお気に入りはありません",
"create_folder": "フォルダーを作成", "create_folder": "フォルダーを作成",
"new_folder": "新しいフォルダー", "new_folder": "新しいフォルダー",
@ -182,7 +182,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": "あなたのプロジェクト",
"add_project": "プロジェクトを追加", "add_project": "プロジェクトを追加",
"create_project": "プロジェクトを作成", "create_project": "プロジェクトを作成",
"failed_to_remove_project_from_favorites": "お気に入りからプロジェクトを削除できませんでした。もう一度お試しください。", "failed_to_remove_project_from_favorites": "お気に入りからプロジェクトを削除できませんでした。もう一度お試しください。",

View file

@ -167,7 +167,7 @@
"archives": "归档", "archives": "归档",
"settings": "设置", "settings": "设置",
"failed_to_move_favorite": "移动收藏失败", "failed_to_move_favorite": "移动收藏失败",
"your_favorites": "您的收藏", "favorites": "收藏",
"no_favorites_yet": "尚无收藏", "no_favorites_yet": "尚无收藏",
"create_folder": "创建文件夹", "create_folder": "创建文件夹",
"new_folder": "新建文件夹", "new_folder": "新建文件夹",
@ -182,7 +182,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": "您的项目",
"add_project": "添加项目", "add_project": "添加项目",
"create_project": "创建项目", "create_project": "创建项目",
"failed_to_remove_project_from_favorites": "无法从收藏中移除项目,请重试。", "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> <p className="w-full truncate cursor-pointer text-sm text-custom-text-100">{issue.name}</p>
</Tooltip> </Tooltip>
{isEpic && <IssueStats issueId={issue.id} />}
</div> </div>
{!issue?.tempId && ( {!issue?.tempId && (
<div <div
@ -277,7 +278,6 @@ export const IssueBlock = observer((props: IssueBlockProps) => {
<div className="flex flex-shrink-0 items-center gap-2"> <div className="flex flex-shrink-0 items-center gap-2">
{!issue?.tempId ? ( {!issue?.tempId ? (
<> <>
{isEpic && <IssueStats issueId={issue.id} />}
<IssueProperties <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`} 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} issue={issue}

View file

@ -200,7 +200,7 @@ export const SidebarFavoritesMenu = observer(() => {
)} )}
> >
<span onClick={() => toggleFavoriteMenu(!isFavoriteMenuOpen)} className="flex-1 text-start"> <span onClick={() => toggleFavoriteMenu(!isFavoriteMenuOpen)} className="flex-1 text-start">
{t("your_favorites").toUpperCase()} {t("favorites")}
</span> </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 "> <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=""> <Tooltip tooltipHeading={t("create_folder")} tooltipContent="">

View file

@ -177,17 +177,12 @@ export const SidebarProjectsList: FC = observer(() => {
)} )}
onClick={() => toggleListDisclosure(!isAllProjectsListOpen)} onClick={() => toggleListDisclosure(!isAllProjectsListOpen)}
> >
<Tooltip <Tooltip tooltipHeading={t("projects")} tooltipContent="" position="right" disabled={!isCollapsed}>
tooltipHeading={t("your_projects").toUpperCase()}
tooltipContent=""
position="right"
disabled={!isCollapsed}
>
<> <>
{isCollapsed ? ( {isCollapsed ? (
<Briefcase className="flex-shrink-0 size-3" /> <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> </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" 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)} onClick={() => toggleWorkspaceMenu(!isWorkspaceMenuOpen)}
> >
<span>{t("workspace").toUpperCase()}</span> <span>{t("workspace")}</span>
</Disclosure.Button> </Disclosure.Button>
<CustomMenu <CustomMenu
customButton={ customButton={