Closed Pepe-Marquez closed 1 week ago
This PR introduces a new search app for exploring the ions database in halide perovskites. The implementation includes a new app entry point, configuration for search quantities, columns, menu items, and a dashboard with a periodic table widget. Additionally, it moves the existing solar cell app from 'Use Cases' to 'Halide Perovskites' category.
classDiagram
class App {
-label: str
-path: str
-category: str
-description: str
-search_quantities: SearchQuantities
-columns: List[Column]
-menu: Menu
-dashboard: Dashboard
-filters_locked: Dict[str, List[str]]
}
class SearchQuantities {
-include: List[str]
}
class Column {
-quantity: str
-selected: bool
-title: str
}
class Menu {
-title: str
-items: List[MenuItem]
}
class MenuItemTerms {
-quantity: str
-show_input: bool
-title: str
}
class MenuItemHistogram {
-x: Axis
}
class Axis {
-search_quantity: str
-title: str
}
class Dashboard {
+parse_obj(yaml_data: str)
}
App --> SearchQuantities
App --> Column
App --> Menu
App --> Dashboard
Menu --> MenuItemTerms
Menu --> MenuItemHistogram
MenuItemHistogram --> Axis
note for App "This class represents the new Perovskite Ions App configuration"
Change | Details | Files |
---|---|---|
Created a new app entry point for the Halide Perovskite Ions search functionality |
|
src/perovskite_solar_cell_database/apps/__init__.py |
Implemented the main perovskite ions search app with comprehensive configuration |
|
src/perovskite_solar_cell_database/apps/perovskite_ions_app.py |
Updated the solar cell app category for consistency |
|
src/perovskite_solar_cell_database/apps/solar_cell_app.py |
Updated project dependencies and configuration |
|
pyproject.toml |
Added test coverage for the new app |
|
tests/apps/test_perovskite_ions_app.py |
This PR introduces a search app to explore the ions database. It also changes the category of the search app from the
Use Cases
toHalide Perovskites
.Summary by Sourcery
Introduce a new search app for exploring ions in the halide perovskites database and update the category of the solar cell app to 'Halide Perovskites'. Add a test to verify the import of the new app.
New Features:
Enhancements:
Tests: