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 crash with theme other than the "normal" one #5806

Closed
sim51 opened this issue Nov 22, 2023 · 1 comment · Fixed by #5823
Closed

front: Editor crash with theme other than the "normal" one #5806

sim51 opened this issue Nov 22, 2023 · 1 comment · Fixed by #5823
Assignees
Labels
area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:infra-editor Infra Edition severity:critical Critical severity bug

Comments

@sim51
Copy link
Contributor

sim51 commented Nov 22, 2023

What happened?

Editor crash directly

image

What did you expect to happen?

Should work

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

  • Go to the ref map
  • Open the map settings
  • Select the "blueprint" theme
  • go to the editor

The issue comes from themes where some colors (the one uses for the error layer) are missing

What operating system, browser and environment are you using?

  • Browser: Firefox v109
  • OS: Nixos v22.11
  • Env: Local

OSRD version (top right corner Account button > Informations)

90dff68

@sim51 sim51 added kind:bug Something isn't working area:front Work on Standard OSRD Interface modules severity:critical Critical severity bug module:infra-editor Infra Edition labels Nov 22, 2023
@sim51 sim51 self-assigned this Nov 23, 2023
sim51 added a commit that referenced this issue Nov 23, 2023
Close #5806 & #5821

- Adding the MapSettingsMapStyle component in the editor settings, and for
that I changed a little bit the CSS.
- sync labels of data and map layer in the editor with the one on the map.
- adding missing color to some theme (see #5821)
sim51 added a commit that referenced this issue Nov 23, 2023
Close #5806 & #5821

- Adding the MapSettingsMapStyle component in the editor settings, and for
that I changed a little bit the CSS.
- sync labels of data and map layer in the editor with the one on the map.
- adding missing color to some theme (see #5821)
@sim51
Copy link
Contributor Author

sim51 commented Nov 23, 2023

Fixed in #5823 5823

@sim51 sim51 closed this as completed Nov 23, 2023
github-merge-queue bot pushed a commit that referenced this issue Nov 23, 2023
Close #5806 & #5821

- Adding the MapSettingsMapStyle component in the editor settings, and for
that I changed a little bit the CSS.
- sync labels of data and map layer in the editor with the one on the map.
- adding missing color to some theme (see #5821)
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:infra-editor Infra Edition severity:critical Critical severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant