Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: platform ux improvement #6555

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/i18n/src/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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.",
Expand Down
3 changes: 1 addition & 2 deletions packages/i18n/src/locales/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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.",
Expand Down
3 changes: 1 addition & 2 deletions packages/i18n/src/locales/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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.",
Expand Down
3 changes: 1 addition & 2 deletions packages/i18n/src/locales/ja/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
"archives": "アーカイブ",
"settings": "設定",
"failed_to_move_favorite": "お気に入りの移動に失敗しました",
"your_favorites": "あなたのお気に入り",
"favorites": "お気に入り",
"no_favorites_yet": "まだお気に入りはありません",
"create_folder": "フォルダーを作成",
"new_folder": "新しいフォルダー",
Expand All @@ -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": "お気に入りからプロジェクトを削除できませんでした。もう一度お試しください。",
Expand Down
3 changes: 1 addition & 2 deletions packages/i18n/src/locales/zh-CN/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
"archives": "归档",
"settings": "设置",
"failed_to_move_favorite": "移动收藏失败",
"your_favorites": "您的收藏",
"favorites": "收藏",
"no_favorites_yet": "尚无收藏",
"create_folder": "创建文件夹",
"new_folder": "新建文件夹",
Expand All @@ -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": "无法从收藏中移除项目,请重试。",
Expand Down
2 changes: 1 addition & 1 deletion web/core/components/issues/issue-layouts/list/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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="">
Expand Down
9 changes: 2 additions & 7 deletions web/core/components/workspace/sidebar/projects-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand Down
Loading