Skip to content
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: Session detail panel basic layout #2775

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

yomybaby
Copy link
Member

@yomybaby yomybaby commented Oct 25, 2024

Resolve #2784

This PR introduces the Session detail panel. This is the basic version that displays basic information along with 2 action buttons (Open terminal, Terminate Session).

You can check the remaining features in #2783.

image

How to test

Copy link

graphite-app bot commented Oct 25, 2024

Your org requires the Graphite merge queue for merging into main

Add 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.

Copy link
Member Author

yomybaby commented Oct 25, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @yomybaby and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added the size:XL 500~ LoC label Oct 25, 2024
@yomybaby yomybaby force-pushed the feature/session-detail-panel branch 2 times, most recently from 186305d to c2393b1 Compare October 28, 2024 09:45
@yomybaby yomybaby changed the title feat: Session detail panel feat: Session detail panel basic layout Oct 29, 2024
@yomybaby yomybaby force-pushed the feature/session-detail-panel branch 2 times, most recently from d90855a to bc869ef Compare October 30, 2024 10:43
Copy link

github-actions bot commented Oct 30, 2024

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements
4.95% (-0.1% 🔻)
349/7050
🔴 Branches
4.5% (-0.14% 🔻)
218/4845
🔴 Functions
2.9% (-0.07% 🔻)
67/2312
🔴 Lines
4.85% (-0.1% 🔻)
334/6888
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🔴
... / ComputeSessionList.tsx
0% 0% 0% 0%
🔴
... / SessionDetailContent.tsx
0% 0% 0% 0%
🔴
... / EditableSessionName.tsx
0% 0% 0% 0%
🔴
... / SessionActionButtons.tsx
0% 0% 0% 0%
🔴
... / TerminateSessionModal.tsx
0% 0% 0% 0%
🔴
... / SessionResourceNumbers.tsx
0% 100% 0% 0%
🔴
... / SessionReservation.tsx
0% 0% 0% 0%
🔴
... / SessionTypeTag.tsx
0% 0% 0% 0%
🔴
... / SessionStatusTag.tsx
0% 0% 0% 0%
🔴
... / SessionDetailDrawer.tsx
0% 0% 0% 0%
🔴
... / useBackendAIAppLauncher.tsx
0% 100% 0% 0%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🔴 helper/index.tsx
52.32% (-0.03% 🔻)
46.48%
40.54% (-1.13% 🔻)
53.85% (-0.06% 🔻)
🔴
... / ResourceNumber.tsx
20% (-1.43% 🔻)
0% 0%
20% (-1.43% 🔻)

Test suite run success

93 tests passing in 12 suites.

Report generated by 🧪jest coverage report action from f584b49

@yomybaby yomybaby force-pushed the feature/session-detail-panel branch 3 times, most recently from 2ce73ff to c1f5551 Compare October 30, 2024 14:36
@github-actions github-actions bot added area:ux UI / UX issue. area:i18n Localization labels Oct 30, 2024
@yomybaby yomybaby force-pushed the feature/session-detail-panel branch 4 times, most recently from eb0a0a6 to 2acee4d Compare October 31, 2024 05:42
@yomybaby yomybaby marked this pull request as ready for review October 31, 2024 05:49
@yomybaby yomybaby force-pushed the feature/session-detail-panel branch 2 times, most recently from 655e66a to b884206 Compare October 31, 2024 06:54
Copy link
Contributor

@ironAiken2 ironAiken2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An error occurs when Force Termination is selected.

image.png

Copy link
Member Author

yomybaby commented Nov 4, 2024

An error occurs when Force Termination is selected.

image.png

I removed the first: 100 argument from the ComputeSessionNode query because it's a bug in manager 24.09.x. Please check again.

Copy link
Contributor

@agatha197 agatha197 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except for the @ironAiken2 reviews, LGTM

Copy link
Contributor

@ironAiken2 ironAiken2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

graphite-app bot commented Nov 5, 2024

Merge activity

Resolve #2784

This PR introduces the Session detail panel. This is the basic version that displays basic information along with 2 action buttons (Open terminal, Terminate Session).

You can check the remaining features in #2783.

![image](https://github.com/user-attachments/assets/00e6469c-69cd-478d-98ad-85c925a72d43)

### How to test
- You can view the Session detail panel by clicking on the session ID in the model service detail page's Routes Info card.
- You can open the Session detail panel using deep link (e.g. http://127.0.0.1:9081/job?sessionDetail=d70365e2-8fba-4c9b-bc51-4a9f906866d9)
@graphite-app graphite-app bot merged commit f584b49 into main Nov 5, 2024
8 checks passed
@graphite-app graphite-app bot deleted the feature/session-detail-panel branch November 5, 2024 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:i18n Localization area:ux UI / UX issue. size:XL 500~ LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Session detail panel basic layout
3 participants