feat: add icon page and router#723
Merged
Merged
Conversation
Member
commit: |
Collaborator
TDesign Component Site Preview CI Open |
16 tasks
16 tasks
Contributor
There was a problem hiding this comment.
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
/iconsand/icons-enroutes 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.
16 tasks
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
liweijie0812
reviewed
Sep 9, 2025
liweijie0812
reviewed
Sep 9, 2025
Co-authored-by: liweijie0812 <674416404@qq.com>
liweijie0812
approved these changes
Sep 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
feat: add icon page and router
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单