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
wonfen
628de70e89
chore: remove unused imports
2025-06-23 00:09:17 +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
Tunglies
1e3566ed7d
fix: optimize asynchronous handling to prevent UI blocking in various components
...
fix: add missing showNotice error handling and improve async UI feedback
- Add showNotice error notifications to unlock page async error branches
- Restore showNotice for YAML serialization errors in rules/groups/proxies editor
- Ensure all user-facing async errors are surfaced via showNotice
- Add fade-in animation to layout for smoother theme transition and reduce white screen
- Use requestIdleCallback/setTimeout for heavy UI state updates to avoid UI blocking
- Minor: remove window.showNotice usage, use direct import instead
2025-05-30 17:53:40 +08:00
wonfen
d587ed09a5
fix: # 3479, set all fontLigatures to false
2025-05-11 23:05:47 +08:00
wonfen
8296675574
refactor: notification system
2025-05-04 22:17:08 +08:00
MystiPanda
d21bcce3c4
chore: prepend new added rules
2024-07-24 14:25:06 +08:00
MystiPanda
d9d9ca67cd
chore: unified icon style
2024-07-13 19:01:16 +08:00
dongchengjie
c3730b7efd
chore: checkbox items' title & button icons
2024-07-12 18:24:19 +08:00
dongchengjie
9dde385073
chore: group types locale
2024-07-07 21:56:20 +08:00
MystiPanda
8690b91632
chore: disable browser autocomplete
2024-07-07 11:16:59 +08:00
MystiPanda
22f7f059ce
chore: decode base64
2024-07-06 10:12:40 +08:00
MystiPanda
97629c1fc3
fix: some error
2024-07-06 09:54:16 +08:00
MystiPanda
9ed138ea2b
fix: style
2024-07-06 00:45:21 +08:00
MystiPanda
74a1c7d489
feat: finish rpoxies editor
2024-07-05 19:49:32 +08:00
MystiPanda
f6ed5dc126
fix: groups config type error
...
feat(unfinished): add proxy editor
2024-07-05 00:38:50 +08:00