Profile + UI Fixes

 This week I worked on improving the profile system and cleaning up some UI issues.

I finished wiring up the profile to the backend so users can update their display name, bio, and profile image. I also combined everything into a single save button to make it easier to use.

I ran into an issue with image uploads failing, which ended up being a FormData binding problem and file size limits. I fixed that and added validation so users get feedback before uploading.

I also implemented dark mode persistence using localStorage. At first it wasn’t sticking after logout, but I tracked it down to multiple localStorage.clear() calls across the app. After fixing those, the theme now saves correctly.

Finally, I fixed a layout issue where tables would slide under the sidebar when zooming. I standardized the layout across Orders, Inventory, and Reports so everything behaves consistently.

Overall, this cleaned up a lot of small issues and made the app feel more stable and polished.





Comments

Popular posts from this blog

PharmaStock: Backend Infrastructure & Database Connectivity

PharmaStock Backend Progress Complete all backend endpoints

PharmaStock: Sprint Planning Complete