Skip to content

Commit

Permalink
log-viewer-webui: Update yscope-log-viewer to the latest version (w…
Browse files Browse the repository at this point in the history
…hich uses `clp-ffi-js`). (y-scope#562)
  • Loading branch information
junhaoliao authored and Jack Luo committed Dec 4, 2024
1 parent cdea01f commit 7159e21
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/log-viewer-webui/client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import QueryStatus from "./ui/QueryStatus.jsx";
*/
const App = () => {
return (
<CssVarsProvider modeStorageKey={LOCAL_STORAGE_KEY.UI_THEME}>
<CssVarsProvider modeStorageKey={LOCAL_STORAGE_KEY.THEME}>
<QueryStatus/>
</CssVarsProvider>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Enum of `window.localStorage` keys.
*/
const LOCAL_STORAGE_KEY = Object.freeze({
UI_THEME: "uiTheme",
THEME: "theme",
});

export default LOCAL_STORAGE_KEY;
2 changes: 1 addition & 1 deletion components/log-viewer-webui/client/src/ui/QueryStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const QueryStatus = () => {

const innerLogEventNum = logEventIdx - data.begin_msg_ix + 1;
window.location = `/log-viewer/index.html?filePath=/ir/${data.path}` +
`#logEventIdx=${innerLogEventNum}`;
`#logEventNum=${innerLogEventNum}`;
})
.catch((e) => {
let msg = "Unknown error.";
Expand Down
2 changes: 1 addition & 1 deletion components/log-viewer-webui/yscope-log-viewer
Submodule yscope-log-viewer updated 249 files
4 changes: 2 additions & 2 deletions deps-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ tasks:
vars:
DEST: "{{.DEST}}"
FLAGS: "--extract"
SRC_NAME: "yscope-log-viewer-c939f7b55b55b42f65226470d5277b15ac484665"
SRC_URL: "https://github.com/y-scope/yscope-log-viewer/archive/c939f7b.zip"
SRC_NAME: "yscope-log-viewer-bc8109f9f371c3327070000dee3537bdaf535428"
SRC_URL: "https://github.com/y-scope/yscope-log-viewer/archive/bc8109f.zip"
# This command must be last
- task: ":utils:compute-checksum"
vars:
Expand Down

0 comments on commit 7159e21

Please sign in to comment.