-
Notifications
You must be signed in to change notification settings - Fork 4
Change limit reductions labels #847
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
Conversation
carojeandat
commented
Sep 9, 2025
- Invert labels and tooltips in the limit reductions table
- Add tooltips on voltage ranges
- Remove excess English capitalization in the limit reductions table of the safety analysis settings
src/components/parameters/common/limitreductions/limit-reduction-table-cell.tsx
Outdated
Show resolved
Hide resolved
src/components/parameters/common/limitreductions/limit-reductions-table-form.tsx
Outdated
Show resolved
Hide resolved
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.
In addition to Sylvain's comments, one remark on translations
(limit: ITemporaryLimitReduction) => { | ||
const lowBound = Math.trunc(limit.limitDuration.lowBound / 60); | ||
const highBound = Math.trunc(limit.limitDuration.highBound / 60); | ||
const highBound = Math.trunc(limit.limitDuration.lowBound / 60); |
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.
revert
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.
it's on purpose. The higher the voltage, the shorter the time limit, so the high and low interval values are inverted
src/components/parameters/common/limitreductions/limit-reductions-table-form.tsx
Outdated
Show resolved
Hide resolved
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.
Code Review OK (two readOnly sonar issues to fix easily)
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.
Code OK
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.
There is a scroll bar now, can we avoid that? Only in english actually because it's on two lines.
this was already the case before (in the tab security analysis) |
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.
Uniformisation of parameters will be handled separately
|