-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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(jetbrains): show workspace class in backend control center #12568
Conversation
e2e38db
to
3395a05
Compare
8c845de
to
5dfcd95
Compare
...ins/backend-plugin/src/main/kotlin/io/gitpod/jetbrains/remote/GitpodMetricControlProvider.kt
Show resolved
Hide resolved
@andreafalzetti What if we add at very top? Also we don't need to prefix with |
👍 I like the separation of Workspace/Node.
|
@akosyakov I also prefer the separation Workspace/Node and the class if currently displayed with the Workspace header. If the class displayName is not available, the header is
I can look into this as a separate PR 👍
Currently, it's not possible to add elements at the very top, because
There is not |
5dfcd95
to
07e06ea
Compare
components/ide/jetbrains/backend-plugin/src/main/resources/META-INF/plugin.xml
Show resolved
Hide resolved
Can we add it after |
@akosyakov yes, let's try! I think it's a matter of preference so I've tried 3 layouts and took a screenshot so we can vote/discuss.
My thoughts: A: It feels that we now have 2 sections (workspace/node) and the class is outside of the workspace section, so I am not inclined towards this layout very much. At the same time pretty much all data is around the workspace, so I am not against it. B: The class is just below "workspace" re-enforcing that that value is related. Also, other controls have a label (CPU, Latency, etc). This is the first component without a label in this UI so the fact that is below workspace makes me think it's more obvious that we're referring to the class.. C: This is a bit more explicit that those specs are for the workspace. I've tested with very long text it will just make the widget width larger but it's still visible. I prefer B and C, but I would go with B because it looks cleaner the UI with 2 lines instead of a long one. What about you @akosyakov? |
Let's go with B. |
I liked more the option B. The separation seems clearer. |
@andreafalzetti I wonder maybe below |
How about "Shared resources in this machine:" in place of the word "Node"? |
If we want to keep the UI clean and intuitive, we could consider:
|
What do you think about it as a user? I don't argue that I am not sure about using machine, since we use this word in other context as well. Like in VS Code Browser each origin is a machine. |
|
07e06ea
to
e5c0cc7
Compare
@akosyakov @felladrin thanks both for the feedback 🙏 I've updated the PR with my proposed solution, I went with something sort but still that gives up the idea. I also went for the tooltip because adding more text would make the UI more crowded and once the info is read, is no longer needed (we can re-enforce the concept with external docs, etc): I've updated the screenshot variations in the main comment, please have a look at let me know if you would like to change anything 👂 |
e5c0cc7
to
581ff68
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.
Code checked and tested! ✅
I'll put it on hold to give the chance to @akosyakov to complete his review.
/hold
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
/unhold |
Description
This PR adds support in JetBrains Backend Control Center for displaying the Gitpod's Workspace Class, to be accessible and easily discoverable.
The PR also includes small changes to the layout of the Performance Tab to make it easier for the user to understand what metrics are related to the Workspace (relevant) and what metrics are related to the Node (less relevant for them).
Considerations
Related Issue(s)
Fixes #12160
How to test
Release Notes
Documentation
Werft options: