Tunglies
558e28ddaf
refactor: simplify log retrieval by removing level parameter and relying on server-side filtering #4293
2025-08-13 01:15:33 +08:00
Tunglies
52e8e45daf
fix: correct log level hierarchy and enhance log filtering logic
2025-08-08 23:30:24 +08:00
Tunglies
319c5b84fa
Revert "feat: enhance log filtering by adding support for debug level and updating log hierarchy #4293 "
...
This reverts commit a9cfb2cfaac163a4de387863c84f55e0aa916671.
2025-08-08 15:17:46 +08:00
Tunglies
a9cfb2cfaa
feat: enhance log filtering by adding support for debug level and updating log hierarchy #4293
2025-08-06 20:49:54 +08:00
Tunglies
d16c691c0f
fix: can not filiter log level as expected
2025-08-03 09:52:27 +08:00
Tunglies
1f78d576a3
feat: migrate logs API from REST to IPC streaming ( #4277 )
...
* feat: migrate logs API from REST to IPC streaming
- Replace REST API `/logs` calls with IPC streaming implementation
- Add new `src-tauri/src/ipc/logs.rs` with `LogsMonitor` for real-time log streaming
- Implement duplicate stream prevention with level tracking
- Add frontend-backend communication via Tauri commands for log management
- Remove WebSocket compatibility, maintain IPC-only mode
- Fix duplicate monitoring task startup when toggling log service
- Add proper task lifecycle management with JoinHandle cleanup
* refactor: remove dead code from logs.rs to fix clippy warnings
- Remove unused `timestamp` field from LogItem struct
- Remove unused `client` field from LogsMonitor struct
- Remove unused methods: `is_fresh`, `get_current_monitoring_level`, `get_current_logs`
- Simplify LogsMonitor initialization by removing client dependency
- All clippy warnings with -D warnings now resolved
* refactor: extract duplicate fmt_bytes function to utils module
- Create new utils/format.rs module with fmt_bytes function
- Remove duplicate fmt_bytes implementations from traffic.rs and memory.rs
- Update imports to use shared utils::format::fmt_bytes
- Add comprehensive unit tests for fmt_bytes function
- Ensure DRY principle compliance and code maintainability
2025-07-30 23:11:21 +08:00
Dyna
f2317c7816
fix: log levels will not display their respective logs correctly ( #4074 )
...
* fix-log levels will not display their respective logs correctly
* fix-logs
* Update UPDATELOG.md
* Update UPDATELOG.md
2025-07-15 18:55:53 +08:00
Tunglies
998ded5e0b
refactor: remove unused imports and adjust button height in logs and rules pages
2025-05-21 10:25:50 +08:00
Mozi
2b1d02f0cc
fix(logs): make button's tooltip correspond to log setting ( #3345 )
2025-04-19 00:07:55 +08:00
wonfen
3ecf4bc238
feat: refactor logging system into a global service
2025-03-02 04:20:38 +08:00
wonfen
48d68f5766
refactor: Simplify log data management and improve search functionality
2025-02-19 13:06:15 +08:00
wonfen
db593fb188
feat: Optimize UI layout and page hierarchy
2025-02-07 09:13:30 +08:00
huzibaca
dca25637c9
feat: add logger highlighting, support regular and case matching
2024-11-19 04:10:10 +08:00
huzibaca
a7020fd46c
feat: add logger highlighting
2024-11-19 03:29:44 +08:00
huzibaca
1ef2b1aaf1
fix: log pause button not working
2024-11-19 02:56:58 +08:00
huzibaca
a7a661e60f
feat: logger support all level filters
2024-11-19 01:40:45 +08:00
huzibaca
62a6f58705
chore: remove unused code
2024-11-18 08:16:31 +08:00
huzibaca
77dd074fc3
feat: Log level status is saved to local storage
2024-11-18 08:14:21 +08:00
huzibaca
e8c0051be3
refactor: use zustand store, rewrite log clearing logic
2024-11-18 06:48:23 +08:00
huzibaca
b3923eafc7
chore: typo warn -> warning
2024-11-18 06:01:51 +08:00
huzibaca
9ebd96611a
refactor: logger fetch logic
2024-11-18 05:58:06 +08:00
huzibaca
ed3907c273
chore: update
2024-10-29 10:13:53 +08:00
huzibaca
95c6578911
fix incorrect usage of useCustomTheme
2024-10-29 09:07:08 +08:00
dongchengjie
753395965a
chore: tooltips and locales
2024-06-26 05:33:06 +08:00
Sukka
18f0177fce
refactor(log): use swr subscription ( #1220 )
2024-06-17 10:48:37 +08:00
Sukka
4f5227782a
perf: replace Array#map Array#filter chain w/ Array#reduce ( #1203 )
2024-06-15 12:22:33 +08:00
dongchengjie
46dc40149e
chore: missing locale
2024-06-09 11:16:13 +08:00
Sukka
2725322fd5
refactor: replace recoil ( #1137 )
2024-06-07 12:27:37 +08:00
dongchengjie
16b11fee31
chore: text overflow word-wrap & cleanup
2024-05-20 12:38:41 +08:00
dongchengjie
4a67e1021a
chore: fix select component bg in connection
2024-05-18 18:42:51 +08:00
dongchengjie
2cc9b91895
chore: component base-search-box
2024-05-17 19:13:33 +08:00
MystiPanda
67b67bae6a
Release 1.6.1
2024-04-30 23:43:51 +08:00
lxk955
56efa10f64
feat: Support for using regular expressions on the log page #707 ( #959 )
2024-04-30 22:59:42 +08:00
cismous
ca8e3179bb
Style filter input ( #724 )
...
* refactor: reduce duplicate code
* style: add a white background to the light color theme to avoid the gray text being too light
2024-03-30 01:14:03 +08:00
wonfen
5c3dab3466
Sytle: A little tweak
2024-03-13 14:09:08 +08:00
MystiPanda
7186575cb1
style: fix styles
2024-03-10 23:47:12 +08:00
MystiPanda
a5aec2d9fa
Adjust styles
2024-03-10 11:12:54 +08:00
wonfen
8781c5db8d
Sytle: UI improvement
2024-01-20 16:05:01 +08:00
wonfen
7a7f5cd4a8
Style: UI improvement & 1.4.6 ready
2024-01-09 13:57:53 +08:00
wonfen
ac1fa7209c
update clashmeta core, Imporve UI, merge PR, reset icons, fix CI
2023-11-28 07:49:44 +08:00
wonfen
ec50b1d67a
chore: UI adjustment, add translation, fix CI
2023-11-22 14:52:14 +08:00
GyDi
1e5b5193fe
fix: adjust style
2023-03-16 19:32:59 +08:00
GyDi
955c5b5605
fix: adjust log ui
2022-12-14 15:49:05 +08:00
GyDi
2709d1ff6e
fix: adjust style
2022-11-23 17:42:01 +08:00
GyDi
dace993c21
refactor: adjust base components export
2022-11-20 22:03:55 +08:00
GyDi
f238da416b
fix: icon button color
2022-10-29 19:22:15 +08:00
GyDi
18edf06a20
fix: disable spell check
2022-09-28 14:15:22 +08:00
GyDi
39a8ddcfec
feat: toggle log ws
2022-09-20 22:15:28 +08:00
GyDi
e0fa308984
feat: add empty ui
2022-09-02 01:09:38 +08:00
GyDi
6ce6fed10d
feat: complete i18n
2022-09-02 01:05:45 +08:00