-
Notifications
You must be signed in to change notification settings - Fork 513
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
[fix]: Make Plexus demo work again #2538
Conversation
Signed-off-by: Hariom Gupta <guptahariom03082003@gmail.com>
Nice! A question - when plexus is built as a library for the main Jaeger UI, does the build not use |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2538 +/- ##
=======================================
Coverage 96.63% 96.63%
=======================================
Files 255 255
Lines 7728 7728
Branches 2015 1950 -65
=======================================
Hits 7468 7468
Misses 260 260 ☔ View full report in Codecov by Sentry. |
It does use jaeger-ui/packages/plexus/webpack-factory.js Lines 244 to 262 in 9feb3bd
The changes I have made are to the jaeger-ui/packages/plexus/package.json Line 71 in 9feb3bd
|
what about if I start the main UI in dev mode, would it not also propagate down to plexus webpack? Also, what is UMD? Can you add comments to the config for that? |
btw the linter failed
|
Signed-off-by: Hariom Gupta <guptahariom03082003@gmail.com>
Starting the main UI in dev mode is completely isolated to plexus webpack. Webpack comes into picture when we run it. As simple as that. Running the main UI in dev mode runs
Some people like/have to use To allow |
Signed-off-by: Hariom Gupta <guptahariom03082003@gmail.com>
Thanks! |
@hari45678 I just tried running this on main and it didn't work. I went back to this commit, deleted all node_modules, ran
How were you able to run the demo? |
@yurishkuro as per this error message, port |
I am able to run on |
+1, my bad. |
Which problem is this PR solving?
yarn start
in plexus is supposed to do #2093Description of the changes
webpack-factory.js
that is responsible for generating dev and prod webpack config on the go..ejs
template (ejs is templating engine for html, similar to pug) already. This webpack config uses that template to generate the html file, similar to what react setups have a index.html in their public folder.How was this change tested?
npm run start
. The following is the demo that plexus showed on visitinglocalhost:5000
plexus-demo.webm
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test