-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[ZEPPELIN-5792][FRONT_BUILD] Remove bower #4651
[ZEPPELIN-5792][FRONT_BUILD] Remove bower #4651
Conversation
I have completed the JUnit5 migration today. Can you please rebase your branch to the current master branch. |
beb60cf
to
c8c0a2d
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.
Except for two small things, I think the PR is good. Unfortunately I'm not a NodeJS developer and can't give a deep review.
zeppelin-web/README.md
Outdated
@@ -12,49 +12,49 @@ All build commands are described in [package.json](./package.json) | |||
|
|||
```sh | |||
# install required depepdencies and bower packages (only once) |
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.
seems there are few places still refer bower
, could you please do a global search to find them out?
Co-Authored-By: holodazoltan <holoda@gmail.com>
c284d22
to
8a789c4
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.
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 - based on my limited knowledge in frontend tech stack
LGTM as well. BTW, it will help to reduce our compile time :-) |
* [ZEPPELIN-5792][FRONT_BUILD] Remove bower Co-Authored-By: holodazoltan <holoda@gmail.com> * [ZEPPELIN-5792] Fix broken package-lock.json * ZEPPELIN-5792 Wait before checking welcome page * [ZEPPELIN-5792] Remove npm update * [ZEPPELIN-5792] remove npm update * [ZEPPELIN-5792] Remove bower references --------- Co-authored-by: holodazoltan <holoda@gmail.com>
I'm not good at web technologies, but it seems that this PR broke the web interface. I launch notepad, and after some time it becomes unavailable for changes, restarting the page helps, in the logs I only see: ` vendor.e8bbdaad8068699d.js:51 Uncaught ReferenceError: autoApply is not defined
at n._onCloseHandler (vendor.e8bbdaad8068699d.js:51:134262)
at WebSocket.<anonymous> (vendor.e8bbdaad8068699d.js:21:5609)
| n._onCloseHandler | @ | vendor.e8bbdaad8068699d.js:51
-- | -- | -- | --
| (anonymous) | @ | vendor.e8bbdaad8068699d.js:21
`
However, I cannot reproduce the problem locally. It is reproduced only on the instance in k8s and ldap integration, I don’t understand how this can be connected. |
@Armadik Hello, Thank you for the report. Could you please make a JIRA ticket for this issue? I think someone can help to investigate it. I also don't know why it's connected yet so let me check it as well. |
What is this PR for?
Remove deprecated bower. As the "bower" says, recommended using a different system. So it looks good to remove bower. Replace bower by npm.
What type of PR is it?
Improvement
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-5792
How should this be tested?
Screenshots (if appropriate)
Questions:
Hint
This is a resubmit of #4633