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

Departure time window is broken in STDCM #3988

Closed
axrolld opened this issue Apr 24, 2023 · 1 comment
Closed

Departure time window is broken in STDCM #3988

axrolld opened this issue Apr 24, 2023 · 1 comment
Labels
area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:stdcm Short-Term DCM severity:minor Minor severity bug

Comments

@axrolld
Copy link
Contributor

axrolld commented Apr 24, 2023

What happened?

There are 3 problems with this component :

###Problem 1
This is what happens trying to set the end of the time window to 12h :

OSRD.-.Google.Chrome.2023-04-24.07-59-31.mp4

Typing 1 in this bar actually sets the time to be equal to the first input field. This does not happen when typing other numbers though.

Problem 2

The chain symbol happens to be under the input, while it used to be right next to it.

Problem 3

The chain is making fields equal, instead of keeping the same time delta between the fileds.

What did you expect to happen?

Expected behavior 1

I shoud be able to type any hour between 00 and 23, any minute between 00 and 59, and any second between 00 and 59. Typing 1 should not lead to this weird behavior.

Expected behavior 2

The chain symbol should be place right next to the input fields, on their right

Expected behavior 3

Ticking the chain symbol should lock the time delta between the fields, not making the fileds equal.

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

  1. Go to STDCM
  2. Try the different behaviors described above

What operating system, browser and environment are you using?

  • Browser: Chrome Version 112.0.5615.138
  • OS: Windows 10 Professionnel build 19045.2728
  • Env: dev

OSRD version (top right corner Account button > Informations)

5213be6

@axrolld axrolld added kind:bug Something isn't working severity:minor Minor severity bug area:front Work on Standard OSRD Interface modules module:stdcm Short-Term DCM labels Apr 24, 2023
@axrolld
Copy link
Contributor Author

axrolld commented Jun 30, 2023

Some of these bugs have been fixed, the rest goes in #4419.

@axrolld axrolld closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2023
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:stdcm Short-Term DCM severity:minor Minor severity bug
Projects
None yet
Development

No branches or pull requests

1 participant