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

front: editor: impossible to give a proper speed value in speed section creation #3904

Closed
Tguisnet opened this issue Apr 14, 2023 · 0 comments
Labels
kind:bug Something isn't working severity:major Major severity bug

Comments

@Tguisnet
Copy link
Contributor

What happened?

When we try to create a speed section, it's impossible to give a proper value in the form

image

What did you expect to happen?

We could give the value we want to give i nthe creation o f a speed section

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

  1. Go in the Editor
  2. Try to create a speed section
  3. Try give a speed limit

What operating system, browser and environment are you using?

  • Browser: Chrome v110
  • OS: Windows 10
  • Env: Dgex dev

OSRD version (top right corner Account button > Informations)

1d67312

@Tguisnet Tguisnet added kind:bug Something isn't working severity:major Major severity bug labels Apr 14, 2023
jacomyal added a commit that referenced this issue Apr 14, 2023
Details:
- Writes a new component dedicated to handle speed editions in km/h,
while the value is stored as m/s
- Handles weird behaviours by only updating the local component state
when the related number m/s value changes
- Uses this new component for both speed_limit and speed_limit_by_tag
edition
@sim51 sim51 closed this as completed in 7263f78 Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Something isn't working severity:major Major severity bug
Projects
None yet
Development

No branches or pull requests

1 participant