An application that provides an interface for providing user updates through a modal form.
Please follow these steps:
- install dependencies
yarn
- run the development server
yarn dev
- React
- TypeScript
- Emotion (CSS-in-JS)
- Vite
- axe DevTools (a11y testing)
assets
- at the moment containing only necessary fontscomponents
- UI components, including the mainUserUpdateModal
componenttheme
- configuration and TypeScript definitions for the Emotion themeutils
- TypeScript types, constants, and helper functions
I really enjoyed working on this project. If I had more time to refine it, I’d love to focus on adding unit tests, improving the UI to match the designs better, reorganizing the components folder to include more generic components (e.g. Typography) and streamline consistency in styling. To improve the modal’s performance, I’d experiment with using uncontrolled inputs and the FormData API, which could help reduce the state management overhead. Additionally, there are some pesky build issues, mostly related to the Emotion setup, that need to be resolved. I’d take the time to clean those up to ensure everything runs smoothly.