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

Double warning message for power restrictions #6543

Closed
bgiuliana opened this issue Feb 1, 2024 · 0 comments · Fixed by #6878
Closed

Double warning message for power restrictions #6543

bgiuliana opened this issue Feb 1, 2024 · 0 comments · Fixed by #6878
Assignees
Labels
area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:operational-studies Multi-train simulation with structured studies management severity:minor Minor severity bug

Comments

@bgiuliana
Copy link
Contributor

bgiuliana commented Feb 1, 2024

What happened?

The following message is displayed twice :

Image

What did you expect to happen?

The messages shouldn't be displayed as a toast anymore as the user might miss them or might don't have the time the read it before it vanishes. They should rather be static and close to the editor.

Ideally, the invalidty warnings should be displayed first, before the missing code warning.

How can we reproduce it (as minimally and precisely as possible)?

  1. Go to the train creation
  2. Try to select power restriction
  3. If no restriction is already selected the 2 messages appear

What operating system, browser and environment are you using?

  • Browser: Chrome
  • OS: Windows
  • Env: Recette

OSRD version (top right corner Account button > Informations)

staging e220992

@bgiuliana bgiuliana added the kind:bug Something isn't working label Feb 1, 2024
@Tguisnet Tguisnet added the severity:minor Minor severity bug label Feb 5, 2024
@Akctarus Akctarus added area:front Work on Standard OSRD Interface modules module:operational-studies Multi-train simulation with structured studies management labels Mar 13, 2024
@SharglutDev SharglutDev self-assigned this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:operational-studies Multi-train simulation with structured studies management severity:minor Minor severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants