feat: add-tool network #9

Merged
typist merged 6 commits from feat/add-tool/network into main 2025-10-29 05:51:12 +08:00

6 Commits

Author SHA1 Message Date
typist
82c68471df refactor: update network tool components for improved user experience
- Translated UI text in DNS, Ping, TCPing, and Speed Test components from Chinese to English for better accessibility.
- Enhanced user prompts and labels for clarity, including error messages and button texts.
- Updated comments in the code to reflect the changes in language and improve code readability.
2025-10-29 05:51:10 +08:00
typist
3f7c81e892 feat: refactor AppSidebar to support nested tool menus with collapsible items
- Enhanced the AppSidebar component to recursively render tools with potential submenus.
- Introduced a buildFullPath function for dynamic routing based on tool hierarchy.
- Utilized the Collapsible component for better organization of tools with children.
- Maintained existing footer and header structure for consistency.
2025-10-29 05:45:09 +08:00
typist
e9cf714da9 feat: add network tools including DNS, Ping, TCPing, and Speed Test
- Introduced a new "Network Tools" category in src/components/tool/index.tsx.
- Implemented DNS lookup functionality in src/components/tool/network/dns.tsx.
- Added Ping, TCPing, and Speed Test components in their respective files.
- Updated network index file to export new components for routing.
2025-10-29 05:37:37 +08:00
typist
27d230e501 feat: add custom scrollbar styles for light and dark themes
- Implemented custom scrollbar styles in src/index.css for improved aesthetics.
- Added styles for both light and dark themes, enhancing user experience across different modes.
2025-10-29 05:35:58 +08:00
typist
79c4462bfd feat: enhance tool routing and add network tools
- Refactored routing logic in src/router.tsx to utilize a buildToolRoutes function for better scalability.
- Updated tools in src/components/tool/index.tsx to include a new "Network Tools" category with DNS, Ping, TCPing, and Speed Test components.
2025-10-29 05:35:37 +08:00
typist
3d80b4b2b6 feat: add @radix-ui/react-collapsible dependency and create collapsible component
- Added @radix-ui/react-collapsible version 1.1.12 to dependencies in package.json.
- Created a new collapsible component in src/components/ui/collapsible.tsx using Radix UI's collapsible primitives.
2025-10-29 05:34:01 +08:00