-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: recent session history #2742
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
77a14d8
to
7946fa7
Compare
7946fa7
to
c00180f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine. I just left minor comment to remove debugging codes.
Thank you for reviewing. I have accepted your suggestion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge activity
|
This pull request introduces several changes to the `react` project to enhance the session management features and improve form handling. The most important changes include adding a new `SessionTemplateModal` component, and enhancing the `SessionLauncherPage` with session history functionality. ### New Features and Components: * **`SessionTemplateModal` Component**: Added a new modal component to display recent session history, allowing users to apply previous session settings easily. (`react/src/components/SessionTemplateModal.tsx`) ### Updates to Session Management: * **Session History Handling**: Introduced a new hook `useRecentSessionHistory` to manage recent session history, including functions to push, clear, and remove session history entries. (`react/src/hooks/backendai.tsx`) * **`SessionLauncherPage`**: Enhanced to include session history functionality, allowing users to start sessions with previously used settings and view recent session history. (`react/src/pages/SessionLauncherPage.tsx`) [[1]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1R229-R239) [[2]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1L542-R575) [[3]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1L652-R694) ### Minor Changes: * **Code Cleanup and Imports**: Various files updated to clean up imports and improve code readability. (`react/src/pages/SessionLauncherPage.tsx`, `react/src/hooks/useBAISetting.tsx`, `react/src/hooks/backendai.tsx`) [[1]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1R34) [[2]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1L48-R52) [[3]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1L62-R66) [[4]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1L72) [[5]](diffhunk://#diff-cb5aa3700f469823d540634a1acf2796ffcfa96416d6fa9333bfab0ff658b2c1L95-R98) These changes collectively enhance the user experience by providing better session management tools and improving the flexibility and functionality of existing components.
1d7ea84
to
253d05e
Compare
7fb119e
to
a7862fd
Compare
…modal descriptions (#86) ### This PR is about updating `sessions` section for 24.09 **Changes:** - Starting with Backend.AI version 24.09, NEO session launcher is used as the default session launcher. - Added session owner setting feature. - Added session histyro search function. - Added folder explorer and vfoler creation function in session launcher page. **Related PRs:** - lablup/backend.ai-webui#2742 @yomybaby - lablup/backend.ai-webui#2766 @yomybaby - lablup/backend.ai-webui#2765 @yomybaby - lablup/backend.ai-webui#2745 @ironAiken2 - PDF[kr] : [연산 세션 — Backend.AI Web-UI User Guide 24.03 문서.pdf](https://github.com/user-attachments/files/17486329/Backend.AI.Web-UI.User.Guide.24.03.pdf) - PDF[en] : [Compute Sessions — Backend.AI Web-UI User Guide 24.03 documentation.pdf](https://github.com/user-attachments/files/17486331/Compute.Sessions.Backend.AI.Web-UI.User.Guide.24.03.documentation.pdf)
This pull request introduces several changes to the
react
project to enhance the session management features and improve form handling. The most important changes include adding a newSessionTemplateModal
component, and enhancing theSessionLauncherPage
with session history functionality.New Features and Components:
SessionTemplateModal
Component: Added a new modal component to display recent session history, allowing users to apply previous session settings easily. (react/src/components/SessionTemplateModal.tsx
)Updates to Session Management:
useRecentSessionHistory
to manage recent session history, including functions to push, clear, and remove session history entries. (react/src/hooks/backendai.tsx
)SessionLauncherPage
: Enhanced to include session history functionality, allowing users to start sessions with previously used settings and view recent session history. (react/src/pages/SessionLauncherPage.tsx
) [1] [2] [3]Minor Changes:
react/src/pages/SessionLauncherPage.tsx
,react/src/hooks/useBAISetting.tsx
,react/src/hooks/backendai.tsx
) [1] [2] [3] [4] [5]These changes collectively enhance the user experience by providing better session management tools and improving the flexibility and functionality of existing components.