Tunglies
627119bb22
Refactor imports and improve code organization across multiple components and hooks
...
- Consolidated and reordered imports in various files for better readability and maintainability.
- Removed unused imports and ensured consistent import styles.
- Enhanced the structure of components by grouping related imports together.
- Updated the layout and organization of hooks to streamline functionality.
- Improved the overall code quality by following best practices in import management.
2025-09-18 23:34:38 +08:00
Tunglies
475a09bb54
feat: comprehensive oxlint cleanup - remove unused code
...
🧹 Cleanup Summary:
- Fixed 83 oxlint warnings across 50+ files
- Removed unused imports, variables, and functions
- Maintained all functional code and error handling
- Improved bundle size and code maintainability
📝 Key Changes:
- Cleaned unused React hooks (useState, useEffect, useClashInfo)
- Removed unused Material-UI imports (useTheme, styled components)
- Deleted unused interfaces and type definitions
- Fixed spread operator usage and boolean casting
- Simplified catch parameters where appropriate
🎯 Files Modified:
- React components: home.tsx, settings, profiles, etc.
- Custom hooks: use-*.ts files
- Utility functions and type definitions
- Configuration files
✅ Result: 0 oxlint warnings (from 83 warnings)
🔧 All functionality preserved
📦 Reduced bundle size through dead code elimination
2025-08-22 18:48:56 +08:00
Tunglies
09969d95de
feat: add rustfmt configuration and CI workflow for code formatting
...
refactor: streamline formatting workflow by removing unused taplo steps and clarifying directory change
refactor: remove unnecessary directory change step in formatting workflow
2025-06-06 22:13:11 +08:00
wonfen
8296675574
refactor: notification system
2025-05-04 22:17:08 +08:00
huzibaca
dfefcf03ad
fix: remove comments from svg icons to prevent front-end crashes. fixer #2093
2024-11-25 01:58:02 +08:00
huzibaca
922020c57a
Merge branch 'fix-migrate-tauri2-errors'
...
* fix-migrate-tauri2-errors: (288 commits)
# Conflicts:
# .github/ISSUE_TEMPLATE/bug_report.yml
2024-11-24 00:14:46 +08:00
huzibaca
2b9fa09293
feat: test item, when icon is svg, add svg format check
2024-10-01 20:49:03 +08:00
dongchengjie
205587cb9e
fix: group selected be overwritten when saving test
2024-06-03 06:38:20 +08:00
MystiPanda
d11c322e1f
fix: use nanoid to compatible with old devices
2024-01-18 01:16:39 +08:00
MystiPanda
b6f4695bcd
feat: Add Test Page
2024-01-17 11:02:17 +08:00