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
324628dd3d
refactor: replace 'let' with 'const' for better variable scoping and immutability
2025-09-18 23:07:18 +08:00
Dyna
5131d37d58
fix: the issue of home page port being out of sync ( #4271 )
...
* synchronize port 7897
* Update UPDATELOG.md
2025-07-30 19:59:11 +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
97629c1fc3
fix: some error
2024-07-06 09:54:16 +08:00
MystiPanda
f6ed5dc126
fix: groups config type error
...
feat(unfinished): add proxy editor
2024-07-05 00:38:50 +08:00
MystiPanda
47bacdaed0
fix: locale typo
2024-07-04 14:18:21 +08:00
MystiPanda
bcd8eb2a09
feat: support visual edit for proxy group
2024-07-04 14:13:19 +08:00
MystiPanda
e4855d0143
fix: rules editor get groups error
2024-07-04 11:03:51 +08:00
MystiPanda
94f0ff1ed1
feat: support get merged rule-set name
2024-07-03 22:13:24 +08:00
dongchengjie
b5f0243a89
fix: remove rule condition where is not required
2024-07-03 17:03:12 +08:00
MystiPanda
cdadc80945
fix: dialog styles
2024-07-03 13:13:29 +08:00
MystiPanda
1c5eab6055
feat: support edit rules file
2024-07-03 12:37:08 +08:00
dongchengjie
dc87097dfe
fix: search-box takes no effect in rule-editor #1288
2024-07-03 03:08:01 +08:00
MystiPanda
695613a063
perf: optimize performance of the rule editor
2024-07-02 23:55:29 +08:00
dongchengjie
bf158b3bf0
refactor: editor-viewer using react-monaco-editor
2024-07-02 21:02:29 +08:00
MystiPanda
c424e9dec8
chore: disable autocomplete
2024-07-02 19:02:05 +08:00
dongchengjie
606817ae06
chore: add rule list search-box
2024-07-02 17:32:49 +08:00
dongchengjie
7124d326fc
chore: rule types locale
2024-07-02 17:04:22 +08:00
MystiPanda
f9f4653e33
chore: check the validity of the rule content
2024-07-02 13:11:54 +08:00
MystiPanda
bd9eef6502
build: update depends
2024-07-02 12:21:17 +08:00
MystiPanda
a63fc25f14
feat: drag to reorder rules
2024-06-30 23:16:21 +08:00
MystiPanda
5e20e9ae1c
chore: select rule-set name
2024-06-30 22:46:11 +08:00
MystiPanda
7d5d604ea6
feat: display rules list
2024-06-30 22:34:26 +08:00
MystiPanda
a722581868
fix: editor init error
2024-06-30 18:05:38 +08:00
MystiPanda
497804434d
feat: rules editor
2024-06-30 17:17:04 +08:00
MystiPanda
2e106265f9
feat(unfinished): rules editor
2024-06-30 12:46:31 +08:00