Skip to content
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

ui-speedspacechart: fix display issues when the GEV is integrated in OSRD #254

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

Yohh
Copy link
Contributor

@Yohh Yohh commented Jul 23, 2024

  • add setHeight props in SpeedSpaceChart, set it with dynamicHeight
  • adapt the story in .tsx to use a useState() hook
  • remove mt-2 useless tailwind rule for front-interractivity-layer
  • calculate the settings panel height by using the SpeedSpaceChart height
  • disable speedLimits and temporarySpeedLimits checkboxes
  • add missing type: 'non_electrified' in ElectrifictationValues

close #253

@Yohh Yohh requested a review from a team as a code owner July 23, 2024 16:03
@Yohh Yohh requested review from Math-R and Uriel-Sautron July 23, 2024 17:00
@Yohh Yohh force-pushed the yoh/ui-speedspacechart-fix-display-issues-for-integration branch from 693b92c to 2f21632 Compare July 23, 2024 23:51
@Yohh Yohh force-pushed the yoh/ui-speedspacechart-fix-display-issues-for-integration branch from 1d85754 to da0574d Compare July 24, 2024 10:34
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these changes, left some comments

Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm and tested

…OSRD

- add setHeight props in SpeedSpaceChart, set it with dynamicHeight
- adapt the story in .tsx to use a useState() hook
- remove mt-2 useless tailwind rule for front-interractivity-layer
- calculate the settings panel height by using the SpeedSpaceChart height
- disable speedLimits and temporarySpeedLimits checkboxes
- add missing type: 'non_electrified' in ElectrifictationValues
@Yohh Yohh force-pushed the yoh/ui-speedspacechart-fix-display-issues-for-integration branch from 56c6779 to 2aad9d1 Compare July 24, 2024 15:19
@Yohh Yohh added this pull request to the merge queue Jul 24, 2024
Merged via the queue into dev with commit e8b3db8 Jul 24, 2024
3 checks passed
@Yohh Yohh deleted the yoh/ui-speedspacechart-fix-display-issues-for-integration branch July 24, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui-speedspacechart: some elements arn't well displayed while integrating the GEV in OSRD
4 participants