Commit Graph
15 Commits
Author SHA1 Message Date
Tunglies d9a5c11d6a refactor: improve code readability and consistency in proxy-chain and uri-parser utilities
refactor: add keys to icons in routers for improved rendering and performance
refactor: optimize RegExp polyfill by using Object.prototype.hasOwnProperty.call
refactor: reorder imports in chain-proxy-provider for consistency
refactor: remove unused "obfs-opts" property from IProxySnellConfig interface

refactor: reorganize imports and enhance refresh logic in app data provider

refactor: re-enable prop-types linting for better type safety in BaseDialog component

refactor: update dependencies in effect hooks for improved stability and performance
2025-09-20 11:19:36 +08:00
Tunglies e414b49879 Refactor imports across multiple components for consistency and clarity
- Reorganized import statements in various components to ensure consistent ordering and grouping.
- Removed unnecessary imports and added missing ones where applicable.
- Improved readability and maintainability of the codebase by standardizing import styles.
2025-09-19 00:01:04 +08:00
Tunglies 324628dd3d refactor: replace 'let' with 'const' for better variable scoping and immutability 2025-09-18 23:07:18 +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
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
Christine. 0646fa96a6 Fix:VLESS URL decoding with network type error, #3388 (#3390) 2025-04-21 00:50:32 +08:00
Christine. baf34dd0d3 fix: #2126 (#2233) 2024-12-03 16:03:21 +08:00
MystiPanda 689a1f739f fix: trojan uri parser 2024-07-07 11:47:49 +08:00
MystiPanda 199bba5da4 fix: limite cipher types 2024-07-06 10:49:42 +08:00
MystiPanda 1728442d62 Revert "chore: add base64 decode step"
This reverts commit 4727d613c0.
2024-07-06 10:12:51 +08:00
MystiPanda 4727d613c0 chore: add base64 decode step 2024-07-06 00:57:38 +08:00
MystiPanda 2cbd998941 fix: type 2024-07-06 00:23:52 +08:00
MystiPanda 806d70c243 chore: Improve URI parser 2024-07-05 22:44:05 +08:00
MystiPanda 74a1c7d489 feat: finish rpoxies editor 2024-07-05 19:49:32 +08:00