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

Modernize the Trino webapp #22697

Open
koszti opened this issue Jul 16, 2024 · 7 comments
Open

Modernize the Trino webapp #22697

koszti opened this issue Jul 16, 2024 · 7 comments
Labels
roadmap Top level issues for major efforts in the project ui Web UI

Comments

@koszti
Copy link
Member

koszti commented Jul 16, 2024

Original issue from @koszti:

Currently, the Trino web UI uses outdated components like react 16, jquery, and bootstrap 3. It would be great to have a fresh look and feel with more recent tooling and UI frameworks. The trino gateway for example is using vite.js with recent deps, and perhaps it would be beneficial for the trino web UI to use it as well to maintain consistency. Additionally, we could consider using a UI component library like ant design instead of plain bootstrap CSS.

Original slack thread: https://trinodb.slack.com/archives/CKCEWGYT0/p1720904086284609

Following content is edited by various maintainers and stakeholders:

Core goals

  • Create a modern UI as replacement for the existing UI
  • Create complete feature match with old UI
  • Replace old UI

Implicit and further goals

  • Enable more contributions due to usage of modern stack
  • Pull more JS developers into the project
  • Expand functionality beyond original UI
  • Include query editor eventually, Note from @mosabua: please do not spend work on this since we are talking to potential contributors
  • Enable component creation and usage, potentially share some with Trino Gateway UI and other UIs

Other things in consideration

  • Should separate UI/REST endpoints be created
  • Should they be elevated to a support API for the UI and potentially other UIs with some sort of notion of stability
@mosabua
Copy link
Member

mosabua commented Jul 17, 2024

fyi @ytwp ;-)

@koszti
Copy link
Member Author

koszti commented Jul 24, 2024

Potential tasks that need to be done. (Not finalized or reviewed)

General

Pages/ Components

@mosabua mosabua added the roadmap Top level issues for major efforts in the project label Jul 26, 2024
@mosabua
Copy link
Member

mosabua commented Jul 26, 2024

I am adding this to the roadmap since I think there is significant interest and effort. I will try to monitor and probably organize some more collaboration. The topics was referenced in the Trino Contributor Call on the 25 Aug 2025.

@mosabua
Copy link
Member

mosabua commented Aug 22, 2024

@koszti I added a task to adjust the theme and colors to get aligned with the Trino website and colors, I added links to https://trinodb.github.io/presentations/presentations/introduction/index.html#/3 and the website, if you have any need for further colors or questions please reach out to myself and potentially also @aliloney .. also if we need adjusted images of the trino logo or Commmander Bun Bun we can make that happen as well

cc @dain

@mosabua mosabua changed the title Modernize the trino webapp Modernize the Trino webapp Aug 23, 2024
@mosabua
Copy link
Member

mosabua commented Aug 23, 2024

First preview shipped with Trino 454

Docs are available at https://trino.io/docs/current/admin/preview-web-interface.html

@mosabua
Copy link
Member

mosabua commented Aug 23, 2024

Good discussion during contributor call on the 22 Aug - see notes and video at https://github.com/trinodb/trino/wiki/Contributor-meetings#trino-contributor-call-22-aug-2024

@mosabua
Copy link
Member

mosabua commented Aug 23, 2024

Also note for any client protocol stuff we should use https://github.com/trinodb/trino-js-client cc @regadas

And related to that.. we still need to figure out publishing a new release for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap Top level issues for major efforts in the project ui Web UI
Development

No branches or pull requests

3 participants