Devops/jsp file org - #558
Conversation
|
General behavior works, however the "add" dialogs aren't coming up. for Sites there's an error about displayedTypeSelect being undefined. I suspect this has something to do with page ready behavior and the changes I made for when scripts are loaded and run vs the html is fully processed. Or just where it is now (several divs were outside the body tag and even some outside html.) |
|
Okay, things are now otherwise behaving correctly. Can add properties to anything. Can't remember if that was buggy before or after I made all these changes. But since the primary functionally is present, and the goal is organization, I'm comfortable with this in the current state. |
|
Was able to successfully pull down your changes today and get to a login screen! I was also able to login. Some notes of what I see with a fresh session/browser/cache.
View log output for Dev console on `http://localhost:7000/platforms`
There's are some things I found at a quick 5-10 minute click through. I'd have to really sit down and cross reference what i'm finding with existing issues for it to be helpful to your current efforts. (rule out existing issues). I could certainly dig deeper, but an example, would be on the sources page The Properties table does not extend to the full height. You get a tiny scroll overflow but lots of white space.
Easier way to catch this is to "detach" dev tools if you happen to have those open. But i'm also on a higher resolution monitor. The culprit seems to be this line though: With a max height set to a static value the page is not very responsive. At a minimum if you use a static value you'd want to calculate what the potential height for each row would be and go with that. I would instead remove the max height, in this case, or use something relative like I imagine most of these CSS issues are a regression due to the required base library changes you had to make. It is worth saying that the changes have already made the site very snappy! |
|
Thanks. Some of those are expected, basically 2-6, I'm intentionally not fixing all of the CSS issues in this PR as it's intended to just reorganize. And some of it is broken due to yanking out limitless so drastically. But I should be able to adopt several of those suggestions immediately. for 5... yeah, that one confused me, probably a wrong class just haven't looked into it (none of those buttons actually work at the moment so not really the biggest deal.) |
point on WEB-INF, if you look at those they should all be under an |
|
Oh and for 2. The login, I intentionally removed the top-bar/header/sidebar and left it more plain. It's the login page so it doesn't need to load anything else the user will get redirected to a new page that can load what it needs. |
|
Okay, I'm "fixing" the switchery thing, since this is cleanup and that means I can ditch 2 additional dependencies. The remaining defects are secondary to this effort and will be handled in follow up PRs. |
|
Okay, barring somebody finding something egregious bad (for example I typoed the jspf imports for computations and they couldn't load and all and it was also pulling in algorithms.js instead of compuations.js) I'm calling this "complete" for it's intent. I'm not going to solve every issue in a "reorg the jsp files" PR. Just the minimum to get back to some semblence of sane behavior. |
|
NOTE: The sonarcloud rating is valid, however it's issues that were exposed in this PR due to making sure all elements existed in standard locations that the analyzer could actually pick up. |
|
@wjonassen FYI, I'm not going to add anything more to this. Once you've opened the PR with changes you've been working on we can go through and sort out which one it would make the most sense to rebase to. |
5805d2b to
3d35a88
Compare
|
Okay, rebuilt with @wjonassen just merged in changes. Between both of these I think we're on much better footing going forward. |
|
|
@wjonassen FYI, I'm going to just merge this in. Rebase sooner rather than later if you're actively working on something. |










Problem Description
Fixes #.
Reorganize JSP files to provide more clear organization.
Remove implication that project will continue the "DECODES vs TSDB" database split (we're not)
Solution
<%@includedirective which is handled at compile time.NOTE: clearly more work to do, opened as draft for comment.
how you tested the change
Manually.
Where the following done:
(Formerly called regression tests.)
If you aren't sure leave unchecked and we will help guide you to want needs changing where.