-
Notifications
You must be signed in to change notification settings - Fork 2
Update contingency list by filter form UI #769
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
base: main
Are you sure you want to change the base?
Conversation
…ency list form - Introduced `EquipmentTypesByFilters` for enhanced substation and VL filter handling. - Refactored `ContingencyListFilterBasedForm` to use `PanelGroup` for resizable panels. - Updated default sizes based on filter inclusion. - Enhanced layout and responsiveness. - Extended dependency list with `react-resizable-panels`. Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
The custom AG Grid cell renderers have been moved from the application-specific folder to the shared @gridsuite/commons-ui library. Updated all references across the codebase to use the shared cell renderers, simplifying code reuse and improving modularity. Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
…ponents - Replaced `Grid item` titles with heading elements (`h3`, `h4`) for better semantic structure. - Adjusted typography properties to enhance visual clarity and consistency. - Refactored padding and margins in visualization panel for improved responsiveness. Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
| setIsDataOutdated: (value: boolean) => void; | ||
| } | ||
|
|
||
| export function EquipmentTypesByFilters({ |
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.
| export function EquipmentTypesByFilters({ | |
| function EquipmentTypesByFilters({ |
use export default at the bottom
| import { ContingencyFieldConstants, FilterElement, FilterSubEquipments } from '../../../../utils/contingency-list.type'; | ||
| import { FilterBasedContingencyListVisualizationPanel } from './filter-based-contingency-list-visualization-panel'; | ||
| import { isSubstationOrVoltageLevelFilter } from '../contingency-list-utils'; | ||
| import { EquipmentTypesByFilters } from './equipment-types-by-filters'; |
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.
| import { EquipmentTypesByFilters } from './equipment-types-by-filters'; | |
| import EquipmentTypesByFilters from './equipment-types-by-filters'; |
use import default
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.
no I cant there is an eslint error
Ok works with the code above
| }, | ||
| [setValue, getValues] | ||
| ); | ||
| // TODO : uncomment when useEffectEvent will be available |
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.
| // TODO : uncomment when useEffectEvent will be available | |
| // TODO : uncomment when useEffectEvent will be available and remove above useEffect |
PR Summary
EquipmentTypesByFiltersContingencyListFilterBasedFormto usePanelGroupfor resizable panels.TODO :