-
Notifications
You must be signed in to change notification settings - Fork 62
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
Modernise Angular frontend, remove frontpage, remove Nebular #876
Conversation
7338a17
to
ed8c6cc
Compare
Sorry, I wanted to get those last big Nx refactors in their own PR, but some weird issue with building one of the backend libraries was failing CI on this PR, and doing that big Nx refactor fixed it, so I just bunged it into this one. Soz!! |
bc17c39
to
d444885
Compare
.../src/app/components/map-testing-request-selection/map-testing-request-selection.component.ts
Outdated
Show resolved
Hide resolved
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.
Looks great, some small stuff should be resolved, but we talked about them on stream
I hate myself
WRT the XP systems stuff, I misunderstood the old cosmetic XP code, so the issue and previous PR from @ianwillis98 were actually incorrect - completely my fault, sorry about that. Going to drop the XP related stuff from this PR, and fix everything in a separate branch. |
are you okay?? is review that bad??? |
byeeeeeeee
FUCKING FINALLY!!
This actually breaks Nebular overlays but I'm so sick of Nebular I'm gonna try replace them with PrimeNG stuff right now
These changes are messy but helpful to split these commits up. This is just the result of running `@angular/core:standalone` scripts, then format/linting.
There's literally nothing in this, and with standalone components removing all the excess fluff, I just don't see the reason to keep this stubbed - there's barely anything to keep!
Don't really have a use for this, and I want to bring the Frontend Nx libraries into the main app soon anyway.
Having stuff in separate libraries by packed into modules simplifies imports a little, not much benefit to keeping standalone
Just another thing I don't wanna use lodash for
There's nothing managed by Nx in here, so pointless having it be in a separate library.
IMO this isn't justified in having a dedicated page, moving to homepage in next community.
Tailwind + CSS Grid :D
When this was a separate library having a module made some sense, but standalone is probably a bit better now. (Change to remove PipesModule was in last commit, annoying to dig it out, sorry!)
This converts everything over to Angular 17's new control flow. I don't love the extra indentation, but in most cases it's a big improvement and worth moving to this entirely for sake of consistency IMO
This is just the result of running https://github.com/import-js/eslint-plugin-import with the `order` rule enabled. I think it's too annoying to enforce as an overall rule. But running it the once to get existing stuff cleaned up seems okay, whilst I'm moving a bunch of other files around anyway.
Doesn't *actually* work, since LocalUserService errors make the test fail. No point fixing those til we support accessing the dashboard without a login though.
This is barely doing anything right now since we don't have any frontend e2e tests. Since I removed the main page, we can no longer just test that, and without a JWT the dashboard will try to redirect you to Steam, or spit out errors. We could generate logins and stuff relatively easily, but I just don't want to work on it for now. So I'm disabling this task until we do the auth-less stuff, or major new Cypress stuff.
cedd59e
to
1661a38
Compare
Excellent work Tom, the site is looking amazing. |
Completes removes Nebular (closes #865), replacing some components with PrimeNG, others with custom ones I made.
Also,
This is a big PR, but it took a huge amount of work to clean up the 2018 crap. There's still some there, but most stuff is far far nicer to work on.