-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-6064] Change default web UI to new UI #4802
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
Conversation
@jongyoul I've made a PR to set the new UI as the default. Please review it when you have some time. |
I would like to switch to the new UI too, but tests and bugs fixed should be ahead. |
By the way, I assume we can deploy two versions of Apache Zeppelin with current and new UI in some ways like setting parameters when packaging them and so on. However, your change supports only running Zeppelin with the new UI. Do you have any idea? :-) |
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.
I know that the new user interface has some bugs, but even the old user interface is not free of errors. Unfortunately, the technology of the old user interface is also very outdated, making further development difficult.
I would be in favor of changing the default user interface, perhaps this will encourage a few frontend developers to correct the bugs in this user interface.
By the way, I assume we can deploy two versions of Apache Zeppelin with current and new UI in some ways like setting parameters when packaging them and so on. However, your change supports only running Zeppelin with the new UI. Do you have any idea? :-)
We have the 'web-angular' profile, which builds the new user interface. This should definitely be switched on by default when the default interface is changed.
As far as I can see, this change does not result in running Zeppelin with the new UI.
zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
Outdated
Show resolved
Hide resolved
zeppelin-web-angular/src/app/share/header/header.component.html
Outdated
Show resolved
Hide resolved
Yes, correct. Moreover, even if we include the profile, we still need to change some server code as ZeppelinServer has a hardcoded configuration for the current and new UI. By the way, for the improvement of the new UI, deploying the new UI version would be helpful. |
169817d
to
49acd2a
Compare
Strongly +1 for making the Angular UI as default even though there are some bugs need to be fixed, and renaming the existing one to "Classic UI". |
zeppelin-web-angular/src/app/share/header/header.component.html
Outdated
Show resolved
Hide resolved
Additionally, I made the following changes:
|
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.
Please revert the change regarding renaming. This leads to an unnecessary number of changes. I think the profile change in pom.xml makes sense.
@Reamer |
code changes lgtm, I have not tested it locally though. |
The code changes are now much clearer. @tbonelee Please perform a rebase to the current master branch, as there are merge conflicts. Furthermore, I think the Selenium tests for the “Classic” UI need to be adjusted. |
I have a question. In this PR, will we permanently change the default web to a new one? I intended to release two versions with an old and new UI separately. After releasing 0.12.0 with those manners we can try to change the default UI for the 0.13.0 release in my understanding. WDYT? |
@jongyoul The current release bundles both classic and new UI, and allows users to switch to each other by clicking a button, the proposed approach "change new UI to default UI" looks straightforward to me, and users still have the option to switch back to the classic UI by just clicking a button if they find bugs in the new UI. |
Yes, right. we can switch for now but I think it would be better to change gradually so my idea is to provide a new version with a separate package like zeppelin-bin-new-ui.tgz and so on for the next release. Then, we can check the community's feedback and change the default permanently. |
I would have liked more feedback from the community and improvements with the current solution. Unfortunately, there was only sporadic feedback. |
Yes, I hope so. For the release project, we can edit the release script to release two versions but we still need to change some code in ZeppelinServer and so on. |
c5f642e
to
ea54446
Compare
After rebasing, I updated the URLs for the Selenium tests, and I also updated the test URLs in |
@tbonelee Please check the CI |
a197cce
to
c65e02f
Compare
@Reamer The Selenium test passed in my personal repository's GitHub Actions. Therefore I assumed it was a temporary issue and did not make any change. |
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.
Thank you for checking it. By the way, I'm still worried about providing the new UI as a default for the next release but let's see how's going. I suggest that we provide an option to store the type of UI, which means we should use the same type of UI after we restart the Zeppelin. Could you please add the configuration? Otherwise, could you please create a ticket for it? |
@jongyoul |
Hmm... maybe we just need a configuration to allow the administrator to decide the default UI? |
I've made a new issue regarding UI type persistence feature. |
As Cheng said, I thought we would have a configuration storing the type of UI and the Zeppelin server uses it. But, we don't have that kind of configuration yet so we'd better discuss it. |
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
Thank you for your contribution.
As long as no further comments are received, I will merge this change into the master on Wednesday.
As all comments are addressed, merging to master |
This reverts commit 7708b71.
This reverts commit 7708b71.
What is this PR for?
For several years, Zeppelin has supported both the old and new UIs, with the old UI remaining as the default.
However, as the new UI offers a more modern design, I believe it might be beneficial to consider making it the default interface.
Rationale
The new UI presents a more contemporary user experience, which could align better with users' expectations today.
Transitioning to the new UI as the default may help in keeping Zeppelin more up-to-date and user-friendly.
Of course, I am aware that this change might impact various parts of the project, so I propose we carefully review this before proceeding.
What type of PR is it?
Improvement
Todos
What is the Jira issue?
How should this be tested?
/classic
.Questions: