I'm putting this here so you can see it and maybe merge it if you want but I'm far from finished. got stuck on those RadialBar components not updating when I feed them new values. Tried all sorts of conditional rendering and state management but the damn things just say 0%. If I add something like even a comment to the RadialBar component and save it it'll refresh and show the right value but idk how to get the dang thing to refresh dynamically when it's value changes after my api call. Will work on it.
Some of the stuff I added to adminHome is stuff that'll be needed when combining it with userHome.
Changes:
Cleaned up landingPage styles to remove unnecessary old stuff
Constructed a whole backend flow to get company-wide averages and totals up to the frontend from db - entries.router, .controller, and .service. Data intended for RadialBar things
Added an api call for the above metrics
Added a bunch of functionality logic to adminHome and some conditional rendering, plus just some commented out junk
I'm putting this here so you can see it and maybe merge it if you want but I'm far from finished. got stuck on those RadialBar components not updating when I feed them new values. Tried all sorts of conditional rendering and state management but the damn things just say 0%. If I add something like even a comment to the RadialBar component and save it it'll refresh and show the right value but idk how to get the dang thing to refresh dynamically when it's value changes after my api call. Will work on it.
Some of the stuff I added to adminHome is stuff that'll be needed when combining it with userHome.
Changes: