XO Lite Development
-
That's a good question for @Byscripts
-
what I build so far (yet uncommited, just local)
don't know if that is usefull in the end... at least it was a good exercise to get a bit familiar with the sourcecode
-
@borzel said in XO Lite Development:
How do you debug xo-lite in VSCode?
My breakpoints don't match up, it stops way to early. Breakpoint is on line 64, VSCode jumps to line 11
Hi. I'm sorry but I'm not familiar with VSCode.
Personally, I'm using the
debugger
[1] [2] statement then I'm debugging directly with the Brave (Chrome) integrated debug tools (Or, possibly, that I connect to WebStorm) -
is there a great plan, what should be implemented first, or should someone just start and PR on Github?
-
Right now, the thing we do is to mostly build components needed while following the UX directions given by our UX designer, @clemencebx
Let me ask internally how we could share "good first issues" and things we could delegate to move faster together!
-
@olivierlambert ok, so I was a bit too fast here: https://github.com/vatesfr/xen-orchestra/pull/7290
-
No problem, we'll see with @clemencebx if it's OK and what we planned for this part of the design
-
@Byscripts thanks for the debugger infos
-
@borzel said in XO Lite Development:
My breakpoints don't match up
FWIW, this appears to work correctly with Chrome --
launch.json
{ "version": "0.2.0", "configurations": [ { "name": "WSL Chrome", "type": "chrome", "request": "launch", "url": "http://localhost:3000", "webRoot": "${workspaceFolder}/src", "sourceMapPathOverrides": { "webpack:///./src/*": "${webRoot}/*", "webpack:///src/*": "${webRoot}/*" } } ] }
-
@borzel With my PWA manifest merged you can do further development work around it if you wish. However don't add to much extra Java script if you do so, as it can seriously affect performance and security.
Also too many abstractions can affect the ability to understand how Xen Orchestra, as well as XCP-ng works and fix any issues, by thus limiting the number of people who can understand the code and its workings in order to fix them. As read any code from libraries and frameworks used in order to understand them and avoid any vulnerabilities in the code.
Not to mention that people who wish to use it may not have Java script enabled browsers or have Java script disabled (maybe even blocked). If the software can't work at all without Java script in the browsers currently support available at the moment now, then they will boycott using the software or website.