Moving to the Frontend
As part of the ongoing development, we’ve now begun focusing on the frontend side of the project, improving the user experience and preparing for more database integrations.
Initial Cleanup
To ensure a clean development workflow, I started by:
- Fixing linting and type-checking issues to maintain code quality.
- Repairing frontend tests to make sure new changes are verifiable.
- This was important to establish a solid pipeline, so any new code added to the frontend can be tested and reviewed confidently.
Full Dark Mode Support
A major enhancement was implementing dark mode across the entire frontend, not just the MUI (Material UI) components, but also the plotting graph area.
This took some effort as it required:
- Migrating from Joy UI components (buttons, inputs, etc.) to Material UI components to ensure compatibility with CssVarsProvider.
- Refactoring existing styles to align with the new Material UI design system.
The result is a visually cohesive and fully functional dark mode experience!
Database Integrations on the Frontend
I’ve also added frontend support for ExoMol and NIST databases:
- ExoMol is now functional. However, it still requires optimization. Specifically, setting the broadf variable to False can help reduce unnecessary broadening downloads overhead.
- NIST and HITEMP are not yet fully working, as they require login through the HITRAN website. To address this, I’ve added a script that automatically sets the email and password in the RADIS configuration, enabling these databases to work when the application is run.