Skip to content

Commit

Permalink
feat: NEO session log modal (#2793)
Browse files Browse the repository at this point in the history
Introduce NEO session container log modal.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/XqC2uNFuj0wg8I60sMUh/e7cdc16a-04ea-443c-9e38-52987050158b.png)

This PR adds a new container log viewer feature that allows users to:
- View real-time container logs for compute sessions
- Switch between different kernel roles in multi-container sessions
- Download log contents
- Search through logs with case-insensitive text search
- Auto-scroll to follow new log entries
- Copy session IDs directly from the log viewer

The log viewer uses the `@melloware/react-logviewer` component which provides an efficient virtualized view for handling large log files.
  • Loading branch information
yomybaby committed Nov 5, 2024
1 parent f584b49 commit aa52f73
Show file tree
Hide file tree
Showing 26 changed files with 403 additions and 30 deletions.
1 change: 1 addition & 0 deletions react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@ant-design/icons": "^5.4.0",
"@cloudscape-design/board-components": "3.0.60",
"@codemirror/language": "^6.10.2",
"@melloware/react-logviewer": "^5.2.4",
"@storybook/test": "^8.2.8",
"@tanstack/react-query": "^5.51.15",
"@testing-library/jest-dom": "^6.4.8",
Expand Down
65 changes: 65 additions & 0 deletions react/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa52f73

Please sign in to comment.