- Add v6 release link in both READMEs
- Update tech stack references (Umi Max 4, utoopack, Tailwind CSS v4)
- Add AI Assistant feature in feature list
- Update Templates section to match current routes
- Remove Opera from browser support table
- Add "What's New in v6" section in cheatsheets
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat: rewrite Welcome page with two-column layout
Replace centered single-card layout with a two-column design:
left column (2/3 width) renders a Markdown cheatsheet via
@ant-design/x-markdown, right column (1/3 width) shows three
InfoCard links. Add locale-aware content switching using
useLocale from @umijs/max with ?raw markdown imports.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: improve Welcome cheatsheet with i18n, responsive layout, and build compatibility
- Use useIntl/formatMessage for InfoCard text (consistent with project convention)
- Add i18n keys to zh-CN/en-US locale files for InfoCard content
- Add responsive breakpoint (mobile stack, desktop side-by-side)
- Add aria-label to InfoCard links for accessibility
- Convert docs/*.md to docs/*.ts (utoopack doesn't support ?raw imports)
- Use @root alias for doc imports instead of relative paths
- Remove unnecessary useState/useEffect, derive content directly from locale
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: add cheatsheet design spec and implementation plan
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: ignore docs/superpowers from git tracking
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: use getLocale instead of non-existent useLocale
@umijs/max exports getLocale(), not useLocale() hook.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: import XMarkdown CSS for proper markdown styling
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add comprehensive markdown typography styles for cheatsheet
XMarkdown's built-in CSS only provides skeleton layout (margins, word-break).
Add antd-style createStyles with full typography using antd design tokens:
- Heading sizes (h1-h6) with proper font-weight and margins
- Link colors (colorLink/colorLinkHover)
- Code blocks with background, border, and rounded corners
- Inline code with subtle background
- Blockquotes with left border and tinted background
- Tables with borders, header background, and hover rows
- Horizontal rules and strong text
All colors adapt to light/dark theme automatically via tokens.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: replace antd-style with plain CSS for markdown typography
Use a dedicated Welcome.css with CSS custom properties for light/dark mode,
instead of antd-style createStyles. Simpler, no runtime overhead.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: use Card component and compact InfoCard layout
- Left markdown: replace div wrapper with antd Card component
- Right InfoCards: use Card with size=small and hoverable for white bg
- Reduce badge size (h-10/w-10) and text size for compact cards
- Reduce gap between cards from 6 to 4
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add heading anchor links and dark code block background
- Add hash anchor links to h1-h4 headings via XMarkdown components prop
- Anchor (#) appears on hover, clicking scrolls to heading
- Code blocks use dark background (#1e1e2e) with light text
- Remove code block border for cleaner look
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add syntax highlighting for code blocks with highlight.js
- Use highlight.js via XMarkdown config (marked highlight option)
- Light theme: github-gist (white background, standard colors)
- Dark theme: custom GitHub Dark overrides (.dark selector)
- Keywords red, strings blue, comments gray, numbers blue, builtins orange
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add syntax highlighting and improve heading anchors
- Code blocks: override XMarkdown's code renderer to use highlight.js
(XMarkdown's internal renderer escapes HTML, bypassing marked's
highlight option)
- Heading anchors: replace inline <a> with CSS ::before pseudo-element,
# only appears on hover via absolute positioning, no layout shift
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: heading anchor # shows inline on hover
Use inline <a> with opacity toggle instead of absolute positioned
::before which was clipped by Card overflow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: add simple mode explanation to Getting Started
Explain what npm run simple does (strips demo pages and deps,
irreversible) and warn to commit code first.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: heading anchor styles not applied
- Merge incoming className instead of overriding it (ensures CSS
selectors match)
- Fix id generation: React children from XMarkdown Renderer are
React nodes not strings, extract textContent properly
- Remove unused domNode prop from type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: heading anchor # positioned absolutely, no layout shift
Use position: absolute with negative left offset so the #: does not
occupy character space in the heading text flow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: explain full mode vs simple mode in Getting Started
Add section after project creation explaining the two project modes,
and recommend starting with full mode for learning then switching.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: merge all class prop variants from XMarkdown Renderer
XMarkdown Renderer passes class as className, classname, or class
depending on the source. Merge all three and don't spread rest
(some props like domNode are not valid HTML attributes).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* style: move heading anchor # closer to title text
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: soften simple mode warning — git can revert, not truly irreversible
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: add explicit bash commands for simple mode switch
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: use git clone instead of create-umi for project setup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: apply GitHub Dark theme for code blocks in dark mode
Override highlight.js github-gist (white) theme with GitHub Dark color
scheme when .dark class is active. Fix white background on code blocks,
add syntax token colors, and style inline code for dark backgrounds.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: dark mode code blocks and add banner image
- Detect dark mode via initialState.settings.navTheme and apply .dark
class to wrapper div, enabling CSS dark overrides and Tailwind dark:
utilities
- Configure Tailwind darkMode: 'class' strategy
- Fix TypeScript errors for XMarkdown non-standard class props
- Remove unused import and ...rest spread in Heading component
- Add banner image below markdown title in both locales
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: use raw markdown files with utoopack raw-loader
- Convert docs/welcome.*.ts to docs/cheatsheet.*.md (pure markdown)
- Configure utoopack module.rules to load .md files as raw strings
- Add .md module type declaration in src/typings.d.ts
- Update Welcome.tsx imports from .ts to .md
- Add utoopack/bundler info and utoo.land link in cheatsheet docs
- Add cheatsheet links in README.md and README.zh-CN.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: add Jest mock for .md imports and update README links
- Add moduleNameMapper for .md files in jest.config.ts to return mock
string, placed before umi aliases to ensure match priority
- Create tests/__mocks__/raw.js as the mock module for .md imports
- Replace pro.ant.design doc/faq links in READMEs with cheatsheet links
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: replace pro.ant.design links with local cheatsheet and GitHub releases
Pro.ant.design is being decommissioned. Replace Documentation and FAQ
links with local cheatsheet md files, ChangeLog with GitHub releases.
Remove Home Page links that pointed to pro.ant.design.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Delete pnpm-lock.yaml
* fix: revert utoopack raw-loader and use .ts wrappers for markdown content
utoopack does not support module.rules type:'raw' for .md files. Revert
to TypeScript wrapper files that export markdown as template literals.
Changes:
- Add docs/cheatsheet.zh-CN.ts and docs/cheatsheet.en-US.ts as .ts
wrappers (markdown content with proper escaping)
- Revert utoopack module.rules config for .md files
- Remove .md type declaration from src/typings.d.ts
- Remove Jest moduleNameMapper for .md and tests/__mocks__/raw.js
- Update Welcome.tsx imports from .md back to .ts
- Fix openapi.json typo (was oneapi.json) in both docs
- Improve locale fallback: zh* locales fall back to zh-CN, others to en-US
- Refactor InfoCard rendering to data-driven map pattern
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
- Remove create-umi config from package.json
- Update i18n-remove script to use max instead of pro
- Remove unused fetch-blocks locale keys from all language files
- Update README.md and README.zh-CN.md with umi create instructions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update README.md and README.zh-CN.md with new usage instructions
- Remove multi-language README files (keep only EN and CN)
- Remove @ant-design/pro-cli from devDependencies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Translation of the README in French and adding French into others README
* Spelling error "poir" -> "pour"
* Better use "Contribution" than "Contribué"
* fix: error-processing-request (#3402)
* Close: #3398
* error authority is undefined
* feat: add new config "menu.enableLocale" (#3310)
* feat: add new config "layoutLocal"
* Use enableLayoutLocale instead of layoutLocale
* Use enableMenuLocale instead of enableMenuLocale
* use menu.disableLocal
* Fix an issue in list item Add (#3423)
* try fix test error (#3424)
* try fix test error
* try fix ci error in windows
* feat: Routing is in the root directory can also matchs. (#3364)
* fix viewport content
Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.
* Set up CI with Azure Pipelines (#3268)
* Set up CI with Azure Pipelines
* change some js filemod to 644 (#3447)
* fix#2851 (#3440)
* add responsive-table (#3472)
* remove PureComponent (#3470)
* remove PureComponent
* fix typo
* chore: upgrade jest-puppeteer and remove some puppeteer config
* html prettier (#3473)
* prettier html
* update dependencies
* centering icon
* set icon size
* edit text
* Removed redundant colon - zh-CN (#3480)
* Removed redundant colon - zh-CN
* Removed redundant colon - zh-TW
* Removed redundant colon - en-US
* fix: horizontal scroll bar appears on SiderMenu with light navTheme (#3381)
* fix: horizontal scroll bar appears on SiderMenu with light navTheme
* a better solution
* fix Badge error (#3488)
* fix tag error
* Move flags to badges in README
* Make "home" optional in breadcrumb (#3416)
* fixed submenu collapsed when refresh page (#3494)
* perf: add checkout config in azure (#3498)
* 🆙 upgrade deps (#3503)
* fix: unresponsive collapse btn on mobile (#3504)
* style: prettier SiderMenu.js (#3501)
* style: prettier SiderMenu.js
* new config file
* fix ci error
* feat: support pwa config (#3508)
* feat: support pwa config
* style: change code style
* reset ci (#3507)
* add actionsText prop to TagSelect, add locales to List page #3367 (#3442)
* add actionsText prop to TagSelect, add locales to List page
* add actionsText prop to TagSelect, add locales to List page
* 修正繁体中文文案 (#3511)
* Route authority attribute behavior (#3514)
* fix customize menu icon bug (#3509)
* fix customize menu icon bug
当采用自定义菜单图标(即通过url引用方式)且菜单折叠时,文字不隐藏
* fix customize menu icon bug
修改样式
* feat: add a demo that jump to details (#3502)
* feat: add a demo that jump to details
* feat: hide progress in coi
* remove trigger config
* remove fetchDepth: 1
* refactor: userinfo and application from api
* style: fix code style
* Enhance stylelint rules, fix propTypes error of TagSelect (#3518)
* add stylelint shareable config for css modules
* fix CSS pseudo element with double colon
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint:fix script
* fix propTypes error of TagSelect component
* Revert "autofix order of all styles by lint:fix script"
This reverts commit 51cb9d055f.
* Revert "support sorted CSS properties order for readability and consistency"
This reverts commit ff6c24d263.
* make lint:fix work for stylelint
* Revert "Revert "autofix order of all styles by lint:fix script""
This reverts commit 946ed0a351.
* Revert "Revert "support sorted CSS properties order for readability and consistency""
This reverts commit 31b557e382.
* Update README.zh-CN.md
* doc: add umi-badge (#3538)
* doc: add umi-badge
* Update README.ru-RU.md (#3539)
add umi badge
* feat: Officially traded will use cdn to optimize bizchart (#3535)
* route authority attribute behavior no use while (#3522)
* route authority attribute behavior no use while
* i18n pt-BR: analysis & component (#3540)
* Translation of form and monitor (pt-BR)
* Change flag of Portugal (pt-PT) to Brazil (pt-BR)
* i18n pt-BR: analysis & component
* Fix missing export default (#3525)
* fix types missing export default
* Update package.json
* Update index.d.ts
* Update index.d.ts
* Update index.d.ts
* 增加IconFont组件、菜单图标可以使用自己的IconFont项目图标 (#3517)
* feature:
1.add iconfont component;
2.menu can add iconfont icon.
* fix: 调整菜单引入iconfont的方式为String.
1. 新增IconFont组件,需在组件内配置自己的IconFont图标项目地址;
2. 然后,菜单图标可以引入自己的IconFont图标,图标字符串以icon-开头.
* ajust: put the IconFont Script Url into defaultSetting.js
* 调整iconfontUrl名称
* fix:注释更新
* 留空iconfontUrl
* Site title use defaultSettings (#3546)
* Site title od top use defaultSettings (#3551)
* pref: optimize performance (#3542)
* pref: optimize performance
* pref: use less img
* pref: use less img
* fix: Eslint warning of Mock dependence (#3554)
* perf: use requestAnimationFrame
* Fix: onPressEnter trigger twice login request in IE11
* Fix: onPressEnter trigger twice login request in IE11
* Login title (#3564)
* Added document title to UserLayout by identifying the current route object and using its name kaey to set the title
* Adjusment to document title
* feat: use same getPageTile function
* when select 3 item ,text branch
* style: use standard frontmatter
* doc: remove subtitle in en-Us
* better demo md
* fix PageHeader no title bug (#3583)
* fix PageHeader no title bug
* default value
* fix: React does not recognize the `staticContext` prop on a DOM element. (#3582)
* doc: better demo
* remove drawer onHandleClick, ant-design/ant-design#15051 (#3602)
* Use Umi Permission Routing (#3587)
Use Umi Permission Routing
* fix the problem that breadcrumbNameMap does not contain hidden menus. (#3606)
* Update enzyme to version 3.9.0
* Update package.json
* Update jest-puppeteer to version 4.0.0
* Update prettier to version 1.16.4
* Update package.json
* 🐛 fix TagCloud style override bug (#3632)
* Update stylelint-config-prettier to version 5.0.0
* Update index.md (#3644)
* dead code (#3639)
* dead code
Close: #3637
* delete dead props
* [NoticeIcon] Replace `LoadMore` with `ViewMore` button (#3439)
* enhance LoadMore: Debounce
* enhance LoadMore: debounce
* use Tag instead of div
* rewrite margin-right of Tag
* hide LoadMore in NoticeList without onLoadMore
* another style
* fix a mistake
* remove local config
* fix a bug
* user-select: none
* remover local config
* replace global/fetchMoreNotices with global/fetchNotices
* replace LoadMore with ViewMore
* remove prop `name` in NoticeIcon
* fix: tab title does not show correct text
* Fix margin top style error of Description List following Description List (#3653)
* fix login model statu