From 8720b2fcc7051cbed5c01de437c02843b0ed4447 Mon Sep 17 00:00:00 2001 From: zzxthehappiest Date: Tue, 15 Apr 2025 21:24:01 +0800 Subject: [PATCH 01/10] Init, add some TODOs --- src/components/StatusBar/LogLevelSelect/index.tsx | 1 - src/components/StatusBar/TimezoneSelect.tsx | 1 + src/components/StatusBar/index.tsx | 1 + src/contexts/StateContextProvider.tsx | 3 +++ src/services/LogFileManager/index.ts | 4 +++- src/services/MainWorker.ts | 3 +++ src/services/decoders/ClpIrDecoder/index.ts | 4 +++- src/typings/decoders.ts | 1 + src/typings/worker.ts | 3 +++ 9 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 src/components/StatusBar/TimezoneSelect.tsx diff --git a/src/components/StatusBar/LogLevelSelect/index.tsx b/src/components/StatusBar/LogLevelSelect/index.tsx index 57287c04b..ab0feb890 100644 --- a/src/components/StatusBar/LogLevelSelect/index.tsx +++ b/src/components/StatusBar/LogLevelSelect/index.tsx @@ -45,7 +45,6 @@ import LogLevelChip from "./LogLevelChip"; import "./index.css"; - interface LogSelectOptionProps { isChecked: boolean; logLevelName: string; diff --git a/src/components/StatusBar/TimezoneSelect.tsx b/src/components/StatusBar/TimezoneSelect.tsx new file mode 100644 index 000000000..5cd4bf6cb --- /dev/null +++ b/src/components/StatusBar/TimezoneSelect.tsx @@ -0,0 +1 @@ +// TODO-ZZX: 用chatgpt完成这个文件 \ No newline at end of file diff --git a/src/components/StatusBar/index.tsx b/src/components/StatusBar/index.tsx index 7c0bce7df..7c784b8a6 100644 --- a/src/components/StatusBar/index.tsx +++ b/src/components/StatusBar/index.tsx @@ -65,6 +65,7 @@ const StatusBar = () => { {/* This is left blank intentionally until status messages are implemented. */} + // TODO-ZZX: 把dropdown插入到想要的位置