添加裁剪因素菜单并更新变更记录
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
|||||||
Home,
|
Home,
|
||||||
BookOpen,
|
BookOpen,
|
||||||
Layers,
|
Layers,
|
||||||
|
Scissors,
|
||||||
LayoutGrid,
|
LayoutGrid,
|
||||||
Share2,
|
Share2,
|
||||||
Settings,
|
Settings,
|
||||||
@@ -21,6 +22,7 @@ const navItems = [
|
|||||||
{ path: '/process-practice', label: '过程背诵练习', icon: GraduationCap },
|
{ path: '/process-practice', label: '过程背诵练习', icon: GraduationCap },
|
||||||
{ path: '/knowledge-areas', label: '知识领域', icon: BookOpen },
|
{ path: '/knowledge-areas', label: '知识领域', icon: BookOpen },
|
||||||
{ path: '/process-groups', label: '过程组', icon: Layers },
|
{ path: '/process-groups', label: '过程组', icon: Layers },
|
||||||
|
{ path: '/knowledge-areas-tailoring', label: '裁剪因素', icon: Scissors },
|
||||||
{ path: '/process-graph', label: '过程关系图', icon: Share2 },
|
{ path: '/process-graph', label: '过程关系图', icon: Share2 },
|
||||||
{ path: '/principles', label: '十二项原则', icon: BookMarked },
|
{ path: '/principles', label: '十二项原则', icon: BookMarked },
|
||||||
{ path: '/performance-domains', label: '八大绩效域', icon: Gauge },
|
{ path: '/performance-domains', label: '八大绩效域', icon: Gauge },
|
||||||
@@ -77,7 +79,7 @@ export function Sidebar() {
|
|||||||
<ul className="space-y-1">
|
<ul className="space-y-1">
|
||||||
{navItems.map((item) => {
|
{navItems.map((item) => {
|
||||||
const isActive = location.pathname === item.path ||
|
const isActive = location.pathname === item.path ||
|
||||||
(item.path !== '/' && location.pathname.startsWith(item.path))
|
(item.path !== '/' && location.pathname.startsWith(`${item.path}/`))
|
||||||
const Icon = item.icon
|
const Icon = item.icon
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
{
|
{
|
||||||
"changelogEntries": [
|
"changelogEntries": [
|
||||||
|
{
|
||||||
|
"id": "2026-04-26-tailoring-nav-entry",
|
||||||
|
"date": "2026-04-26",
|
||||||
|
"type": "feat",
|
||||||
|
"title": "新增“裁剪因素”侧边栏入口,并精简知识领域敏捷裁剪因素页面顶部说明文案",
|
||||||
|
"scope": "导航"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "2026-04-15-control-procurements-fix",
|
"id": "2026-04-15-control-procurements-fix",
|
||||||
"date": "2026-04-15",
|
"date": "2026-04-15",
|
||||||
|
|||||||
@@ -640,9 +640,6 @@ export default function KnowledgeAreasTailoringPage() {
|
|||||||
<div className="flex items-end justify-between gap-4">
|
<div className="flex items-end justify-between gap-4">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">知识领域敏捷裁剪因素</h1>
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">知识领域敏捷裁剪因素</h1>
|
||||||
<p className="mt-1 text-sm text-gray-500 dark:text-gray-400">
|
|
||||||
以知识领域为主线查看裁剪关注点,并在同一页面完成练习。
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user