Skip to content

Refresh UI and modernize its dependencies#22831

Merged
wendigo merged 9 commits intomasterfrom
serafin/update-ui
Oct 9, 2024
Merged

Refresh UI and modernize its dependencies#22831
wendigo merged 9 commits intomasterfrom
serafin/update-ui

Conversation

@wendigo
Copy link
Copy Markdown
Contributor

@wendigo wendigo commented Jul 26, 2024

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:

Screenshot 2024-07-26 at 16 52 23 Screenshot 2024-07-26 at 17 14 59

Updates:

  1. vis.js timeline to 7.7.3
  2. clipboard.js to 2.0.11
  3. highlight.js to 11.10.0
  4. JQuery to 3.7.1

Removes D3 as it was only used to download JSON (and JQuery does that too)

@cla-bot cla-bot bot added the cla-signed label Jul 26, 2024
@wendigo wendigo requested a review from krvikash July 26, 2024 14:53
@github-actions github-actions bot added the ui Web UI label Jul 26, 2024
@wendigo wendigo requested a review from mosabua July 26, 2024 14:54
@wendigo wendigo force-pushed the serafin/update-ui branch from c0de132 to f63bd51 Compare July 26, 2024 15:00
@wendigo wendigo requested a review from electrum July 26, 2024 15:05
@wendigo wendigo force-pushed the serafin/update-ui branch from f63bd51 to 025b8e2 Compare July 26, 2024 15:50
@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Jul 26, 2024

Screenshot 2024-07-26 at 17 50 59

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Jul 26, 2024

I've added links that allows to go directly to query json, live plan and stage performance

@wendigo wendigo force-pushed the serafin/update-ui branch from 025b8e2 to 7470810 Compare July 26, 2024 16:25
@wendigo wendigo requested a review from martint July 26, 2024 22:03
@wendigo wendigo force-pushed the serafin/update-ui branch from 7470810 to e34705d Compare July 29, 2024 17:22
@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Jul 29, 2024

@electrum @mosabua PTAL

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Jul 29, 2024

Screenshot 2024-07-29 at 19 34 19 Screenshot 2024-07-29 at 19 34 10

@mosabua
Copy link
Copy Markdown
Member

mosabua commented Jul 29, 2024

I thought we got rid of having the vendor folder with the binaries checked in? Not vis is in there

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Jul 29, 2024

@mosabua vendor folder is still there. We will remove it once we move some of the features to jsx

Copy link
Copy Markdown
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

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

Couple of questions mostly. Overall definitely a great little upgrade.

@wendigo wendigo force-pushed the serafin/update-ui branch from e34705d to 3d2001e Compare July 31, 2024 18:40
@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Jul 31, 2024

Resolved conflicts

@github-actions
Copy link
Copy Markdown

This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua

Copy link
Copy Markdown
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

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

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;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did you end up creating a colour palette and using those?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

no, can you share the Trino pallette so I can use it here?

@mosabua
Copy link
Copy Markdown
Member

mosabua commented Sep 11, 2024

Please also suggest a release note entry since there is a new screen with the explain plan

@github-actions github-actions bot removed the stale label Sep 12, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 4, 2024

This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua

@github-actions github-actions bot added the stale label Oct 4, 2024
@mosabua
Copy link
Copy Markdown
Member

mosabua commented Oct 4, 2024

This should be good after a final check from @wendigo

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Oct 4, 2024

@mosabua I'll go back to it next week

@github-actions github-actions bot removed the stale label Oct 7, 2024
@wendigo wendigo force-pushed the serafin/update-ui branch from 0f45766 to 4d36e5c Compare October 9, 2024 16:05
Copy link
Copy Markdown
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

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

Looks good to me now. Lets ship it after CI passes (apart from any false alarms to ignore) and you did a final local test..

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Oct 9, 2024

I've updated colors to use Trino palette:

Screenshot 2024-10-09 at 19 01 05 Screenshot 2024-10-09 at 19 03 12

@mosabua wdyt?

@wendigo wendigo force-pushed the serafin/update-ui branch from 0179713 to f7f9f92 Compare October 9, 2024 17:03
@mosabua
Copy link
Copy Markdown
Member

mosabua commented Oct 9, 2024

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.

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Oct 9, 2024

@mosabua yeah, we need more colors :)

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Oct 9, 2024

Screenshot 2024-10-09 at 19 06 22

Additional icons on the query list that allows to jump directly to some of the tabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants