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
Dyna
f580409ade
add: Verge Version copy button ( #4164 )
2025-07-23 11:11:34 +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
Tunglies
91ccb3045c
feat: implement lightweight mode functionality and update related settings
2025-03-20 03:23:14 +08:00
wonfen
e31f176c25
feat: lite mode settings
2025-03-20 01:44:43 +08:00
Tunglies
aff504bddc
feat: add export diagnostic info functionality ( #2856 )
2025-03-03 05:58:12 +08:00
Tunglies
5906e0126d
feat: better setting layout ui ( #2809 )
2025-03-01 01:29:23 +08:00