Refresh UI and modernize its dependencies#22831
Conversation
c0de132 to
f63bd51
Compare
f63bd51 to
025b8e2
Compare
|
I've added links that allows to go directly to query json, live plan and stage performance |
025b8e2 to
7470810
Compare
7470810 to
e34705d
Compare
|
I thought we got rid of having the vendor folder with the binaries checked in? Not vis is in there |
|
@mosabua vendor folder is still there. We will remove it once we move some of the features to jsx |
mosabua
left a comment
There was a problem hiding this comment.
Couple of questions mostly. Overall definitely a great little upgrade.
core/trino-main/src/main/resources/webapp/assets/js/timeline.js
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiQueryResource.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiQueryResource.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/resources/webapp/assets/js/timeline.js
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/resources/webapp/src/components/QueryHeader.jsx
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/resources/webapp/src/components/QueryList.jsx
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/resources/webapp/src/components/QueryList.jsx
Outdated
Show resolved
Hide resolved
e34705d to
3d2001e
Compare
|
Resolved conflicts |
|
This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua |
3d2001e to
0f45766
Compare
mosabua
left a comment
There was a problem hiding this comment.
A couple of questions and suggestions, nothing major, very close
| .vis.timeline .vispanel.right, | ||
| .vis.timeline .vispanel.top, | ||
| .vis.timeline .vispanel.bottom { | ||
| border: 1px #bfbfbf; |
There was a problem hiding this comment.
Did you end up creating a colour palette and using those?
There was a problem hiding this comment.
no, can you share the Trino pallette so I can use it here?
core/trino-web-ui/src/main/resources/webapp/src/components/QueryList.jsx
Show resolved
Hide resolved
core/trino-web-ui/src/main/resources/webapp/src/components/QueryHeader.jsx
Outdated
Show resolved
Hide resolved
|
Please also suggest a release note entry since there is a new screen with the explain plan |
|
This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua |
|
This should be good after a final check from @wendigo |
|
@mosabua I'll go back to it next week |
Remove d3 dependency as it's only used to download JSON data
It's 2024, these browsers are dead already
This also now highlights SQL on the main page
0f45766 to
4d36e5c
Compare
|
I've updated colors to use Trino palette:
@mosabua wdyt? |
0179713 to
f7f9f92
Compare
|
That looks great @wendigo .. I would go with that. Hopefully we can refine the colour selection with some shades over time .. but this is good as it is now. |
|
@mosabua yeah, we need more colors :) |






Some small touches to make UI a little bit better :)
Added a sql highlighting to a list of queries with the changed theme that is more subtle than the previous one:
Updates:
Removes D3 as it was only used to download JSON (and JQuery does that too)