Skip to content

feat: add icon page and router#723

Merged
uyarn merged 17 commits into
mainfrom
feat/icon-page
Sep 9, 2025
Merged

feat: add icon page and router#723
uyarn merged 17 commits into
mainfrom
feat/icon-page

Conversation

@uyarn
Copy link
Copy Markdown
Collaborator

@uyarn uyarn commented Sep 4, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat: add icon page and router

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@tencent-adm
Copy link
Copy Markdown
Member

tencent-adm commented Sep 4, 2025

CLA assistant check
All committers have signed the CLA.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Sep 4, 2025

Open in StackBlitz

npm i https://pkg.pr.new/Tencent/tdesign/@tdesign/site-components@723
npm i https://pkg.pr.new/Tencent/tdesign/tdesign-theme-generator@723

commit: abb1002

@uyarn uyarn added the 🏃🏻 in progress someone is handling label Sep 4, 2025
@tdesign-bot
Copy link
Copy Markdown
Collaborator

tdesign-bot commented Sep 4, 2025

TDesign Component Site Preview CI Open

Sites (8)
Component Preview
tdesign-site 完成
tdesign-vue 完成
tdesign-react 完成
tdesign-vue-next 完成
@tdesign-vue-next/chat 完成
tdesign-mobile-vue 失败
tdesign-mobile-react 完成
tdesign-miniprogram 完成

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new icon page feature to the TDesign site, providing users with a dedicated interface for browsing and accessing icon resources. The changes integrate icon functionality into the existing navigation and routing structure.

  • Adds new /icons and /icons-en routes for icon resource pages
  • Integrates icon tab into the design source pages with external link navigation
  • Updates dependencies to use a newer alpha version of tdesign-icons-view

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
site/vite.config.js Removes HTTPS configuration option
site/src/routes.js Adds routing configuration for icon pages in both Chinese and English
site/src/pages/icons/index.vue Creates new icon page component that renders the icons view
site/src/pages/design/source_zh-CN.vue Adds icons tab to Chinese design source page with external link handling
site/src/pages/design/source.vue Adds icons tab to English design source page with external link handling
site/src/App.vue Updates header styling logic and code formatting for icon pages
site/package.json Updates tdesign-icons-view dependency to alpha version
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread site/src/routes.js Outdated
uyarn and others added 3 commits September 9, 2025 14:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@uyarn uyarn removed the 🏃🏻 in progress someone is handling label Sep 9, 2025
Comment thread site/src/App.vue Outdated
Comment thread site/src/routes.js Outdated
@uyarn uyarn merged commit 6fcf16f into main Sep 9, 2025
6 checks passed
@uyarn uyarn deleted the feat/icon-page branch September 9, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants