Commit Graph

19 Commits

Author SHA1 Message Date
typist
c501bb7dd4 feat: enhance currency caching strategy
- Updated the currency tool to include a timestamp for cached data.
- Implemented a 12-hour validity check for cached exchange rates to improve data accuracy and user experience.
- Ensured that outdated cache is still displayed while fetching new data in the background.
2025-10-30 09:39:34 +08:00
97f38b44f5 feat: add-tool currency (#12)
Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #12
2025-10-30 09:22:29 +08:00
typist
ff8d497f97 refactor: simplify SidebarFooter component
- Removed the 'need more tools?' link from the SidebarFooter.
- Updated the layout of SidebarFooter to use a flex column for better alignment.
2025-10-29 21:36:44 +08:00
typist
40bfde8e57 feat: implement ID generator component for UUIDs and Nano ID
- Added IDGenerator component to handle the display and regeneration of UUIDs and Nano ID.
- Integrated clipboard functionality to copy generated IDs with user feedback via toast notifications.
- Refactored the Tool component to utilize the new IDGenerator for improved user interaction and code organization.
2025-10-29 09:24:01 +08:00
typist
59f998e8e3 feat: enhance tool loading and performance optimization
- Added DNS prefetch and preconnect links in index.html for improved API loading times.
- Implemented lazy loading for tool components to optimize performance and reduce initial load time.
- Wrapped tool components in Suspense with a loading fallback to enhance user experience during loading.
- Refactored Vite configuration to create manual chunks for better code splitting of React and UI libraries.
2025-10-29 08:49:25 +08:00
typist
e98a344b95 feat: enhance sidebar component with recursive submenu rendering
- Implemented recursive rendering of submenu items in the sidebar for better navigation.
- Added support for collapsible submenus, improving user experience with nested tools.
- Refactored menu item rendering logic to utilize a new renderSubMenuContent function for cleaner code.
2025-10-29 08:33:22 +08:00
typist
3ab70498e6 feat: add ModeToggle component to layout and sidebar
- Integrated ModeToggle component into the layout for theme switching.
- Replaced the existing button in the sidebar footer with SidebarMenuButton for improved styling and functionality.
2025-10-29 08:26:26 +08:00
typist
b3adfe5c8f refactor: update IP query API and response handling
- Switched from ip-api.com to ipinfo.io for IP information retrieval, ensuring more reliable service.
- Simplified response handling by directly using the data returned from ipinfo.io, eliminating unnecessary data transformation.
- Adjusted risk level determination logic to utilize the 'org' field for identifying potential hosting or datacenter IPs.
2025-10-29 07:28:21 +08:00
typist
edf87370d9 feat: add IP Query tool
- Introduced a new tool for querying IP information, including location and risk assessment.
- Updated the tool index to include the new IP Query component and its corresponding icon.
- Added IPQuery component with functionality to validate and fetch IP data from external APIs.
2025-10-29 06:36:20 +08:00
typist
972b6c7f22 feat: enhance input handling for network tools
- Added domain and URL normalization on blur for DNS, Ping, Speedtest, and TCPing components.
- Improved user experience by ensuring valid input formats and extracting ports where applicable.
2025-10-29 06:08:47 +08:00
3b31ce9ddf feat: add-tool network (#9)
Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #9
2025-10-29 05:51:11 +08:00
9793d96def feat: support dark-theme (#8)
Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #8
2025-10-28 22:28:19 +08:00
7cd826b052 feat: add-tool base64 (#7)
Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #7
2025-10-28 04:39:39 +08:00
typist
d415615ad7 refactor: remove unused Alert component import from json.tsx
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m56s
2025-10-28 03:54:07 +08:00
97b2093b86 feat: add tool json (#5)
Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #5
2025-10-28 03:48:37 +08:00
typist
c0aa618dfa refactor: consolidate Tool interface and UUID component
- Moved Tool interface definition from type.ts to index.tsx for better organization.
- Renamed UUID component to Tool in uuid.tsx and updated its export.
- Removed the now redundant type.ts file.
2025-10-28 03:27:10 +08:00
24594deecc feat: update-layout & add uuid tool (#4)
Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #4
2025-10-28 00:55:42 +08:00
0c54293312 feat: add basic layout (#3)
Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #3
2025-10-27 23:48:33 +08:00
a1e2239458 feat: import shadcn tailwindcss (#1)
Reviewed-on: #1
2025-10-27 20:04:14 +08:00