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: display kernel node id and idx in Kernel select component #2832

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

yomybaby
Copy link
Member

@yomybaby yomybaby commented Nov 8, 2024

Resolves #2833

image.png

Changes:
Enhances the container log modal dropdown by adding node IDs alongside cluster roles. The first 5 characters of each node's row_id are now displayed in a monospace font next to the cluster role, making it easier to identify specific nodes.

Visual Impact:
The dropdown now shows entries in the format: cluster_role (12345) where the ID portion is styled with a monospace font and secondary color.

Copy link
Member Author

yomybaby commented Nov 8, 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:S 10~30 LoC label Nov 8, 2024
Copy link

graphite-app bot commented Nov 8, 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

github-actions bot commented Nov 8, 2024

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 5.03% 367/7296
🔴 Branches 4.39% 221/5035
🔴 Functions 2.95% 71/2409
🔴 Lines 4.93% 352/7135

Test suite run success

100 tests passing in 13 suites.

Report generated by 🧪jest coverage report action from 90496bc

@yomybaby yomybaby marked this pull request as ready for review November 8, 2024 05:00
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
Member

@rapsealk rapsealk left a comment

Choose a reason for hiding this comment

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

LGTM in terms of UI, but I am uncertain if the kernel.id provides enough information to users.

@rapsealk rapsealk self-requested a review November 11, 2024 03:06
Copy link
Member

@rapsealk rapsealk left a comment

Choose a reason for hiding this comment

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

Please attach kernel.cluster_idx so that users can access via ssh to each kernel.

@yomybaby yomybaby changed the title feat: display kernel node id in Kernel select component feat: display kernel node id and idx in Kernel select component Nov 11, 2024
@yomybaby yomybaby force-pushed the feature/display-kernel-id-in-select branch from a410bf9 to 2a0de33 Compare November 11, 2024 04:16
@yomybaby
Copy link
Member Author

For admin and superadmin:
image

For others:
image

Also, I changed the sorting function for the Kernel role select's options.

@yomybaby yomybaby requested a review from ironAiken2 November 11, 2024 04:20
@rapsealk rapsealk self-requested a review November 11, 2024 05:03
Copy link
Member

@rapsealk rapsealk 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 11, 2024

Merge activity

Resolves #2833

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/XqC2uNFuj0wg8I60sMUh/e321356d-7cb2-46cb-b595-116a90f6428e.png)

**Changes:**
Enhances the container log modal dropdown by adding node IDs alongside cluster roles. The first 5 characters of each node's row_id are now displayed in a monospace font next to the cluster role, making it easier to identify specific nodes.

**Visual Impact:**
The dropdown now shows entries in the format: `cluster_role (12345)` where the ID portion is styled with a monospace font and secondary color.
@yomybaby yomybaby force-pushed the feature/display-kernel-id-in-select branch from 2a0de33 to 90496bc Compare November 11, 2024 05:08
@graphite-app graphite-app bot merged commit 90496bc into main Nov 11, 2024
6 checks passed
@graphite-app graphite-app bot deleted the feature/display-kernel-id-in-select branch November 11, 2024 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S 10~30 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display kernel idx and id in kernel select component
3 participants