-
Notifications
You must be signed in to change notification settings - Fork 0
Add UX updates #19
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
Add UX updates #19
Conversation
…er than bypass errors
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.
Pull Request Overview
This PR adds comprehensive validation and UX improvements to the Boulder configuration system. It introduces schema validation using Pydantic models with unit conversion capabilities, enhances CLI functionality with port management and verbose logging, and updates the UI to display temperatures in Celsius instead of Kelvin.
- Adds Pydantic-based validation with dynamic unit conversion using Pint
- Implements verbose logging system with CLI support for better debugging
- Updates temperature display from Kelvin to Celsius throughout the UI
- Integrates validation into all configuration loading workflows
Reviewed Changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| boulder/validation.py | New validation module with Pydantic models and unit conversion |
| boulder/verbose_utils.py | New verbose logging utilities |
| tests/test_config_validation.py | Comprehensive validation test suite |
| boulder/config.py | Integrates validation into config loading functions |
| boulder/cli.py | Enhanced CLI with port management and verbose mode |
| boulder/layout.py | Updates temperature labels to Celsius |
| boulder/utils.py | Updates temperature unit display |
| environment.yml, pyproject.toml, ci/environment-ci.yml | Adds pint and pydantic dependencies |
| configs/*.yaml | YAML format updates for STONE standard |
| tests/test_data/invalid/*.yaml | Invalid test fixtures |
| boulder/app.py | Enhanced server startup with verbose logging |
| boulder/callbacks/*.py | Callbacks updated with verbose logging and temperature units |
| boulder/cantera_converter.py | Updated with verbose logging |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Add various small but important improvements to Boulder :
boulder some_file.yaml --verbose