Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(skills): clarify update actions and GitHub source details (#23538)

AmAzing-ceb8b633fc3d
diff --git a/.agents/ux/lobe-design-rules.md b/.agents/ux/lobe-design-rules.md
index 982cdcd4c71..b354c5efb43 100644
--- a/.agents/ux/lobe-design-rules.md
+++ b/.agents/ux/lobe-design-rules.md
@@ -213,3 +213,11 @@ Enforcement: `useGithubSkillImport.test.ts` covers the single access message, re
On result surfaces (acceptance checks, verify boards, run summaries), passing is the default state and carries no badge of its own: no per-item "Passed" tag, check stamp or green outline. Show the outcome once, in one plain sentence (for example "6 项已核对,等你确认"). Item identifiers stay neutral (`01`, `04B`), without a check mark. Color and badges are reserved for what needs a person: a failed check (error color with the reason) or a pending decision. Actions such as "Accept" may keep their icon; status may not.
Source: lead review of the artboard acceptance redesign (2026-11-16): too many Pass tags read as AI-generated.
+
+## LOBE-UX-030 — Skill updates use visible status and action labels
+
+In installed skill navigation, show “Update available” as passive text. In the list and detail views, label the action “Update” or “Update skill”. Reserve the refresh icon for checking the source again. A standalone upward arrow in these rows reads as uploading a skill.
+
+In the skill detail header, put the repository, tracking ref, routine sync status and manual check in the GitHub source popover. Keep an available update actionable in the header.
+
+Verify the pending state with tooltips closed. The sidebar should communicate availability, and the list should identify the update action alongside the manage menu. Source: user feedback on the skill update preview.
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index c0bccbece3a..f23e8f5eff8 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -180,6 +180,8 @@
"agentInfoDescription.value.unset": "Not Set",
"agentInfoDescription.value.untitled": "Untitled Agent",
"agentSkillDetail.addedAt": "Added",
+ "agentSkillDetail.githubSource": "GitHub source",
+ "agentSkillDetail.installedSource": "View installed source",
"agentSkillDetail.publishedAt": "Published",
"agentSkillDetail.repository": "GitHub Repository",
"agentSkillDetail.skillContent": "Skill Content",
@@ -277,11 +279,13 @@
"agentSkillModal.url.urlPlaceholder": "https://example.com/path/to/SKILL.md",
"agentSkillTag": "Agent Skill",
"agentSkillUpdate.apply": "Update skill",
+ "agentSkillUpdate.available": "Update available",
"agentSkillUpdate.branch": "Branch name (HEAD follows the default branch)",
"agentSkillUpdate.check": "Check for updates",
"agentSkillUpdate.checking": "Checking GitHub…",
"agentSkillUpdate.chooseRef": "Choose a branch to track",
"agentSkillUpdate.current": "Up to date",
+ "agentSkillUpdate.defaultBranch": "Default branch",
"agentSkillUpdate.failed": "Couldn’t update the skill",
"agentSkillUpdate.limited": "GitHub rate limit reached",
"agentSkillUpdate.missing": "Removed from the source repository",
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index acd456a4aa7..d025d339c33 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -180,6 +180,8 @@
"agentInfoDescription.value.unset": "未设置",
"agentInfoDescription.value.untitled": "未命名助理",
"agentSkillDetail.addedAt": "添加于",
+ "agentSkillDetail.githubSource": "GitHub 来源",
+ "agentSkillDetail.installedSource": "查看已安装的源码",
"agentSkillDetail.publishedAt": "发布于",
"agentSkillDetail.repository": "GitHub 仓库地址",
"agentSkillDetail.skillContent": "技能内容",
@@ -277,11 +279,13 @@
"agentSkillModal.url.urlPlaceholder": "https://example.com/path/to/SKILL.md",
"agentSkillTag": "Agent 技能",
"agentSkillUpdate.apply": "更新技能",
+ "agentSkillUpdate.available": "可更新",
"agentSkillUpdate.branch": "分支名称(HEAD 跟踪默认分支)",
"agentSkillUpdate.check": "检查更新",
"agentSkillUpdate.checking": "正在检查 GitHub…",
"agentSkillUpdate.chooseRef": "选择要跟踪的分支",
"agentSkillUpdate.current": "已是最新",
+ "agentSkillUpdate.defaultBranch": "默认分支",
"agentSkillUpdate.failed": "未能更新技能",
"agentSkillUpdate.limited": "已达到 GitHub 请求限额",
"agentSkillUpdate.missing": "源仓库中已移除",
diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.ts
index 87426cabd8f..006197e6f61 100644
--- a/packages/locales/src/default/setting.ts
+++ b/packages/locales/src/default/setting.ts
@@ -309,17 +309,21 @@ export default {
'agentInfoDescription.value.untitled': 'Untitled Agent',
'agentSkillDetail.addedAt': 'Added',
+ 'agentSkillDetail.githubSource': 'GitHub source',
+ 'agentSkillDetail.installedSource': 'View installed source',
'agentSkillDetail.publishedAt': 'Published',
'agentSkillDetail.repository': 'GitHub Repository',
'agentSkillDetail.skillContent': 'Skill Content',
'agentSkillDetail.sourceUrl': 'Skill Import Source',
'agentSkillDetail.updatedAt': 'Updated',
'agentSkillUpdate.apply': 'Update skill',
+ 'agentSkillUpdate.available': 'Update available',
'agentSkillUpdate.branch': 'Branch name (HEAD follows the default branch)',
'agentSkillUpdate.check': 'Check for updates',
'agentSkillUpdate.checking': 'Checking GitHub…',
'agentSkillUpdate.chooseRef': 'Choose a branch to track',
'agentSkillUpdate.current': 'Up to date',
+ 'agentSkillUpdate.defaultBranch': 'Default branch',
'agentSkillUpdate.failed': 'Couldn’t update the skill',
'agentSkillUpdate.limited': 'GitHub rate limit reached',
'agentSkillUpdate.missing': 'Removed from the source repository',
diff --git a/src/features/AgentSkillDetail/GitHubSkillUpdate.tsx b/src/features/AgentSkillDetail/GitHubSkillUpdate.tsx
index 37d5ae9e483..7bb44b68c68 100644
--- a/src/features/AgentSkillDetail/GitHubSkillUpdate.tsx
+++ b/src/features/AgentSkillDetail/GitHubSkillUpdate.tsx
@@ -1,9 +1,22 @@
'use client';
import type { SkillListItem } from '@lobechat/types';
-import { ActionIcon, Button, confirmModal, Flexbox, Input, Text, toast } from '@lobehub/ui';
-import { RefreshCw } from 'lucide-react';
-import { memo, useState } from 'react';
+import { Github } from '@lobehub/icons';
+import {
+ ActionIcon,
+ Button,
+ confirmModal,
+ cssVar,
+ Flexbox,
+ Icon,
+ Input,
+ Popover,
+ Text,
+ toast,
+ Tooltip,
+} from '@lobehub/ui';
+import { GitBranch, GitCommitHorizontal, RefreshCw } from 'lucide-react';
+import { memo, type MouseEvent, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { usePermission } from '@/hooks/usePermission';
@@ -16,16 +29,37 @@ export const hasGitHubSource = (skill: SkillListItem) =>
(skill.source === 'market' &&
/^(?:https?:\/\/)?(?:github\.com\/|[\w.-]+\/[\w.-]+$)/.test(skill.manifest?.sourceUrl ?? ''));
+const useGitHubSkillCheck = (id: string) => {
+ const checks = useToolStore((s) => s.useCheckGitHubSkills)();
+ const status = useToolStore((s) => s.gitHubUpdateMap[AGENT_SKILL_LIST_KEY]?.[id]);
+ return { check: checks.error ? { status: 'unavailable' as const } : status, checks };
+};
+
+export const GitHubSkillUpdateIndicator = memo<{ id: string }>(({ id }) => {
+ const { t } = useTranslation('setting');
+ const { check } = useGitHubSkillCheck(id);
+ if (check?.status !== 'update') return null;
+
+ return (
+ <Text
+ color={cssVar.colorInfoText}
+ fontSize={12}
+ style={{ flexShrink: 0, whiteSpace: 'nowrap' }}
+ >
+ {t('agentSkillUpdate.available')}
+ </Text>
+ );
+});
+GitHubSkillUpdateIndicator.displayName = 'GitHubSkillUpdateIndicator';
+
export const GitHubSkillUpdate = memo<{ compact?: boolean; skill: SkillListItem }>(
({ compact, skill }) => {
- const { t } = useTranslation('setting');
+ const { t } = useTranslation(['setting', 'plugin', 'common']);
const [saving, setSaving] = useState(false);
- const { allowed: canEdit } = usePermission('edit_own_content');
+ const { allowed: canEdit, reason } = usePermission('edit_own_content');
const canManage = useResourceManageable(skill.userId);
const sync = useToolStore((s) => s.syncGitHubSkill);
- const checks = useToolStore((s) => s.useCheckGitHubSkills)();
- const status = useToolStore((s) => s.gitHubUpdateMap[AGENT_SKILL_LIST_KEY]?.[skill.id]);
- const check = checks.error ? { status: 'unavailable' as const } : status;
+ const { check, checks } = useGitHubSkillCheck(skill.id);
const disabled = saving || !canEdit || !canManage;
const save = async (input: Parameters<typeof sync>[0]) => {
setSaving(true);
@@ -50,26 +84,34 @@ export const GitHubSkillUpdate = memo<{ compact?: boolean; skill: SkillListItem
overwriteLocal: check.localChanges,
revision: check.revision,
});
+ const onClick = (event: MouseEvent) => {
+ event.stopPropagation();
+ if (check.localChanges)
+ confirmModal({
+ title: t('agentSkillUpdate.overwriteTitle'),
+ content: t('agentSkillUpdate.overwriteBody'),
+ okText: t('agentSkillUpdate.replace'),
+ okButtonProps: { danger: true },
+ onOk: apply,
+ });
+ else void apply();
+ };
+ const label = t('agentSkillUpdate.apply');
+ const disabledReason =
+ reason ?? (!canManage ? t('plugin:store.actions.manageOnlyCreator') : undefined);
return (
- <Button
- disabled={disabled}
- loading={saving}
- size="small"
- onClick={(event) => {
- event.stopPropagation();
- if (check.localChanges)
- confirmModal({
- title: t('agentSkillUpdate.overwriteTitle'),
- content: t('agentSkillUpdate.overwriteBody'),
- okText: t('agentSkillUpdate.replace'),
- okButtonProps: { danger: true },
- onOk: apply,
- });
- else void apply();
- }}
- >
- {t('agentSkillUpdate.apply')}
- </Button>
+ <Tooltip title={disabledReason}>
+ <Button
+ aria-label={label}
+ disabled={disabled}
+ loading={saving}
+ size="small"
+ type={compact ? 'text' : 'default'}
+ onClick={onClick}
+ >
+ {compact ? t('common:update') : label}
+ </Button>
+ </Tooltip>
);
}
if (compact) return null;
@@ -102,21 +144,80 @@ export const GitHubSkillUpdate = memo<{ compact?: boolean; skill: SkillListItem
</Button>
);
}
- if (!check && !checks.isValidating) return null;
- return (
- <Flexbox horizontal align="center" gap={4}>
- <Text type="secondary">{t(`agentSkillUpdate.${check?.status ?? 'checking'}`)}</Text>
- {check?.status !== 'pinned' && (
- <ActionIcon
- icon={RefreshCw}
- loading={checks.isValidating}
- size="small"
- title={t('agentSkillUpdate.check')}
- onClick={() => void checks.revalidate()}
- />
- )}
- </Flexbox>
- );
+ return null;
},
);
GitHubSkillUpdate.displayName = 'GitHubSkillUpdate';
+
+export const GitHubSkillSource = memo<{ skill: SkillListItem }>(({ skill }) => {
+ const { t } = useTranslation('setting');
+ const { check, checks } = useGitHubSkillCheck(skill.id);
+ const { manifest, upstream } = skill;
+ const label = t('agentSkillDetail.githubSource');
+ const repositoryName = upstream ? `${upstream.owner}/${upstream.repo}` : manifest.repository;
+ const repositoryUrl = manifest.repository ?? (upstream && `https://github.com/${repositoryName}`);
+ const ref = upstream?.ref;
+ const pinned = !!ref && ref === upstream?.installedCommit;
+ const trackingLabel =
+ ref === 'HEAD' ? t('agentSkillUpdate.defaultBranch') : pinned ? ref.slice(0, 7) : ref;
+ const status = check?.status === 'update' ? 'available' : (check?.status ?? 'checking');
+
+ return (
+ <Popover
+ placement="bottomRight"
+ trigger="click"
+ content={
+ <Flexbox gap={8} style={{ maxWidth: 'min(320px, 80vw)', overflowWrap: 'anywhere' }}>
+ {repositoryUrl && (
+ <a href={repositoryUrl} rel="noreferrer" target="_blank">
+ {repositoryName}
+ </a>
+ )}
+ {trackingLabel && (
+ <Flexbox horizontal align="center" gap={4}>
+ <Icon
+ color={cssVar.colorTextSecondary}
+ icon={pinned ? GitCommitHorizontal : GitBranch}
+ size={14}
+ />
+ <Text fontSize={12} type="secondary">
+ {trackingLabel}
+ </Text>
+ </Flexbox>
+ )}
+ {manifest.sourceUrl && manifest.sourceUrl !== repositoryUrl && (
+ <a href={manifest.sourceUrl} rel="noreferrer" target="_blank">
+ {upstream?.path || t('agentSkillDetail.installedSource')}
+ </a>
+ )}
+ {(check || checks.isValidating) && (
+ <Flexbox horizontal align="center" gap={8} justify="space-between">
+ <Text fontSize={12} type="secondary">
+ {t(`agentSkillUpdate.${status}`)}
+ </Text>
+ {check?.status !== 'pinned' && (
+ <ActionIcon
+ aria-label={t('agentSkillUpdate.check')}
+ icon={RefreshCw}
+ loading={checks.isValidating}
+ size="small"
+ title={t('agentSkillUpdate.check')}
+ onClick={() => void checks.revalidate()}
+ />
+ )}
+ </Flexbox>
+ )}
+ </Flexbox>
+ }
+ >
+ <ActionIcon
+ aria-label={label}
+ fill={cssVar.colorTextDescription}
+ icon={Github}
+ size="small"
+ title={label}
+ />
+ </Popover>
+ );
+});
+GitHubSkillSource.displayName = 'GitHubSkillSource';
diff --git a/src/features/AgentSkillDetail/index.tsx b/src/features/AgentSkillDetail/index.tsx
index 0486927d884..7aa828406c0 100644
--- a/src/features/AgentSkillDetail/index.tsx
+++ b/src/features/AgentSkillDetail/index.tsx
@@ -2,7 +2,7 @@
import { type SkillResourceTreeNode } from '@lobechat/types';
import { Github } from '@lobehub/icons';
-import { ActionIcon, createStaticStyles, cssVar, Flexbox, Icon, Text } from '@lobehub/ui';
+import { ActionIcon, createStaticStyles, cssVar, Flexbox, Icon } from '@lobehub/ui';
import { DotIcon, ExternalLinkIcon } from 'lucide-react';
import { memo, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
@@ -16,7 +16,7 @@ import { useToolStore } from '@/store/tool';
import { densityVars } from '@/styles/densityVars';
import ContentViewer from './ContentViewer';
-import { GitHubSkillUpdate, hasGitHubSource } from './GitHubSkillUpdate';
+import { GitHubSkillSource, GitHubSkillUpdate, hasGitHubSource } from './GitHubSkillUpdate';
const styles = createStaticStyles(({ css, cssVar }) => ({
description: css`
@@ -136,64 +136,54 @@ const AgentSkillDetail = memo<AgentSkillDetailProps>(({ skillId }) => {
<SkillAvatar size={40} />
)}
<Flexbox className={styles.headerText} flex={1} justify={'space-between'}>
- <Flexbox horizontal align={'center'} gap={8} justify={'space-between'}>
- <Flexbox horizontal align={'center'} className={styles.description} gap={4}>
- <span className={styles.name}>{skillDetail.name}</span>
- {version && (
- <>
- <Icon icon={DotIcon} />
- <span>v{version}</span>
- </>
- )}
- <Icon icon={DotIcon} />
- {t('agentSkillDetail.updatedAt')}{' '}
- <PublishedTime
- date={new Date(skillDetail.updatedAt).toISOString()}
- template={'MMM DD, YYYY'}
- />
- </Flexbox>
- {(repository || sourceUrl) && (
- <Flexbox horizontal align={'center'} gap={2} style={{ flexShrink: 0 }}>
- {repository && (
- <a href={repository} rel="noreferrer" target={'_blank'}>
- <ActionIcon
- fill={cssVar.colorTextDescription}
- icon={Github}
- size={'small'}
- title={t('agentSkillDetail.repository')}
- />
- </a>
- )}
- {sourceUrl && (
- <a href={sourceUrl} rel="noreferrer" target={'_blank'}>
- <ActionIcon
- icon={ExternalLinkIcon}
- size={'small'}
- title={t('agentSkillDetail.sourceUrl')}
- />
- </a>
- )}
- </Flexbox>
+ <Flexbox horizontal align={'center'} className={styles.description} gap={4}>
+ <span className={styles.name}>{skillDetail.name}</span>
+ {version && (
+ <>
+ <Icon icon={DotIcon} />
+ <span>v{version}</span>
+ </>
)}
+ <Icon icon={DotIcon} />
+ {t('agentSkillDetail.updatedAt')}{' '}
+ <PublishedTime
+ date={new Date(skillDetail.updatedAt).toISOString()}
+ template={'MMM DD, YYYY'}
+ />
</Flexbox>
{description && <p className={styles.description}>{description}</p>}
</Flexbox>
+ {hasGitHubSource(skillDetail) ? (
+ <Flexbox horizontal align="center" flex="none" gap={4}>
+ <GitHubSkillUpdate skill={skillDetail} />
+ <GitHubSkillSource skill={skillDetail} />
+ </Flexbox>
+ ) : (
+ (repository || sourceUrl) && (
+ <Flexbox horizontal align={'center'} gap={2} style={{ flexShrink: 0 }}>
+ {repository && (
+ <a href={repository} rel="noreferrer" target={'_blank'}>
+ <ActionIcon
+ fill={cssVar.colorTextDescription}
+ icon={Github}
+ size={'small'}
+ title={t('agentSkillDetail.repository')}
+ />
+ </a>
+ )}
+ {sourceUrl && (
+ <a href={sourceUrl} rel="noreferrer" target={'_blank'}>
+ <ActionIcon
+ icon={ExternalLinkIcon}
+ size={'small'}
+ title={t('agentSkillDetail.sourceUrl')}
+ />
+ </a>
+ )}
+ </Flexbox>
+ )
+ )}
</Flexbox>
- {hasGitHubSource(skillDetail) && (
- <Flexbox horizontal align="center" gap={8} wrap="wrap">
- {skillDetail.upstream && (
- <Text ellipsis fontSize={12} type="secondary">
- {skillDetail.upstream.owner}/{skillDetail.upstream.repo}
- {skillDetail.upstream.path && '/' + skillDetail.upstream.path}
- {' @ '}
- {skillDetail.upstream.ref === skillDetail.upstream.installedCommit
- ? skillDetail.upstream.installedCommit.slice(0, 7)
- : skillDetail.upstream.ref}
- </Text>
- )}
- <GitHubSkillUpdate skill={skillDetail} />
- </Flexbox>
- )}
</div>
)}
<Flexbox horizontal style={{ flex: 1, overflow: 'hidden' }}>
diff --git a/src/features/NavPanel/components/NavItem.tsx b/src/features/NavPanel/components/NavItem.tsx
index 9ba25898ef9..47bb7f2fa3b 100644
--- a/src/features/NavPanel/components/NavItem.tsx
+++ b/src/features/NavPanel/components/NavItem.tsx
@@ -113,6 +113,8 @@ export interface NavItemSlots {
iconBelow?: ReactNode;
iconPostfix?: ReactNode;
titlePrefix?: ReactNode;
+ /** Passive status after the title. Clicking it still selects the row. */
+ titleSuffix?: ReactNode;
}
export interface NavItemProps extends Omit<BlockProps, 'children' | 'title'> {
@@ -220,7 +222,7 @@ const NavItem = memo<NavItemProps>(
const textColor = titleColor ?? (active ? cssVar.colorText : cssVar.colorTextSecondary);
const variant = active ? 'filled' : 'borderless';
- const { titlePrefix, iconBelow, iconPostfix } = slots || {};
+ const { titlePrefix, titleSuffix, iconBelow, iconPostfix } = slots || {};
// Link props for cmd+click support
const linkProps = href
? {
@@ -344,6 +346,7 @@ const NavItem = memo<NavItemProps>(
) : (
titleNode
)}
+ {titleSuffix}
{extra && (
<Flexbox
horizontal
diff --git a/src/features/Settings/skill/features/AgentSkillItem.tsx b/src/features/Settings/skill/features/AgentSkillItem.tsx
index 101b03106c0..f319e0892bf 100644
--- a/src/features/Settings/skill/features/AgentSkillItem.tsx
+++ b/src/features/Settings/skill/features/AgentSkillItem.tsx
@@ -17,7 +17,11 @@ import { lazy, memo, Suspense, useState } from 'react';
import { useTranslation } from 'react-i18next';
import MarketSkillIcon from '@/components/MarketSkillIcon';
-import { GitHubSkillUpdate, hasGitHubSource } from '@/features/AgentSkillDetail/GitHubSkillUpdate';
+import {
+ GitHubSkillUpdate,
+ GitHubSkillUpdateIndicator,
+ hasGitHubSource,
+} from '@/features/AgentSkillDetail/GitHubSkillUpdate';
import NavItem from '@/features/NavPanel/components/NavItem';
import { usePermission } from '@/hooks/usePermission';
import { useResourceManageable } from '@/hooks/useResourceManageable';
@@ -99,7 +103,8 @@ const AgentSkillItem = memo<AgentSkillItemProps>(({ skill, isSelected, onSelect
// ===== Status & Actions =====
- const updateAction = hasGitHubSource(skill) ? <GitHubSkillUpdate compact skill={skill} /> : null;
+ const tracked = hasGitHubSource(skill);
+ const updateAction = tracked ? <GitHubSkillUpdate compact skill={skill} /> : null;
const renderActions = () => {
return (
@@ -157,35 +162,37 @@ const AgentSkillItem = memo<AgentSkillItemProps>(({ skill, isSelected, onSelect
return (
<SkillListRow
active={isSelected}
- description={updateAction}
icon={() => renderIcon(20, 40)}
summary={skill.description}
title={title}
extra={
- <RowMoreMenu
- items={[
- ...(skill.zipFileHash
- ? [
- {
- disabled: loading,
- icon: <Icon icon={DownloadIcon} />,
- key: 'download',
- label: tc('download'),
- onClick: handleDownload,
- },
- ]
- : []),
- {
- danger: true,
- disabled: !canEdit || !canManage || loading,
- icon: <Icon icon={Trash2} />,
- key: 'uninstall',
- label: tp('store.actions.uninstall'),
- onClick: handleUninstall,
- },
- ]}
- onOpenDetail={onSelect ?? handleOpenDetail}
- />
+ <>
+ {updateAction}
+ <RowMoreMenu
+ items={[
+ ...(skill.zipFileHash
+ ? [
+ {
+ disabled: loading,
+ icon: <Icon icon={DownloadIcon} />,
+ key: 'download',
+ label: tc('download'),
+ onClick: handleDownload,
+ },
+ ]
+ : []),
+ {
+ danger: true,
+ disabled: !canEdit || !canManage || loading,
+ icon: <Icon icon={Trash2} />,
+ key: 'uninstall',
+ label: tp('store.actions.uninstall'),
+ onClick: handleUninstall,
+ },
+ ]}
+ onOpenDetail={onSelect ?? handleOpenDetail}
+ />
+ </>
}
onClick={onSelect ?? handleOpenDetail}
/>
@@ -196,10 +203,18 @@ const AgentSkillItem = memo<AgentSkillItemProps>(({ skill, isSelected, onSelect
return (
<NavItem
active={isSelected}
- extra={updateAction}
icon={() => renderIcon(18)}
+ role="button"
+ slots={{ titleSuffix: tracked && <GitHubSkillUpdateIndicator id={skill.id} /> }}
+ tabIndex={0}
title={title}
onClick={onSelect}
+ onKeyDown={(event) => {
+ if (event.key === 'Enter' || event.key === ' ') {
+ event.preventDefault();
+ onSelect();
+ }
+ }}
/>
);
}