Skip to content

Commit 7159e21

Browse files
junhaoliaoJack Luo
authored and
Jack Luo
committed
log-viewer-webui: Update yscope-log-viewer to the latest version (which uses clp-ffi-js). (y-scope#562)
1 parent cdea01f commit 7159e21

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

components/log-viewer-webui/client/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import QueryStatus from "./ui/QueryStatus.jsx";
1111
*/
1212
const App = () => {
1313
return (
14-
<CssVarsProvider modeStorageKey={LOCAL_STORAGE_KEY.UI_THEME}>
14+
<CssVarsProvider modeStorageKey={LOCAL_STORAGE_KEY.THEME}>
1515
<QueryStatus/>
1616
</CssVarsProvider>
1717
);

components/log-viewer-webui/client/src/typings/LOCAL_STORAGE_KEY.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Enum of `window.localStorage` keys.
33
*/
44
const LOCAL_STORAGE_KEY = Object.freeze({
5-
UI_THEME: "uiTheme",
5+
THEME: "theme",
66
});
77

88
export default LOCAL_STORAGE_KEY;

components/log-viewer-webui/client/src/ui/QueryStatus.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const QueryStatus = () => {
5252

5353
const innerLogEventNum = logEventIdx - data.begin_msg_ix + 1;
5454
window.location = `/log-viewer/index.html?filePath=/ir/${data.path}` +
55-
`#logEventIdx=${innerLogEventNum}`;
55+
`#logEventNum=${innerLogEventNum}`;
5656
})
5757
.catch((e) => {
5858
let msg = "Unknown error.";

deps-tasks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ tasks:
421421
vars:
422422
DEST: "{{.DEST}}"
423423
FLAGS: "--extract"
424-
SRC_NAME: "yscope-log-viewer-c939f7b55b55b42f65226470d5277b15ac484665"
425-
SRC_URL: "https://github.com/y-scope/yscope-log-viewer/archive/c939f7b.zip"
424+
SRC_NAME: "yscope-log-viewer-bc8109f9f371c3327070000dee3537bdaf535428"
425+
SRC_URL: "https://github.com/y-scope/yscope-log-viewer/archive/bc8109f.zip"
426426
# This command must be last
427427
- task: ":utils:compute-checksum"
428428
vars:

0 commit comments

Comments
 (0)