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: drop pathfinding error message bubble #10105

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

emersion
Copy link
Member

@emersion emersion commented Dec 17, 2024

The "pathfindingError" translation needs an "errorMessage" property, so it's not displayed properly.

Since the error is already displayed to the user in a different way, we can just drop the bubble.

To reproduce:

  • Select a train in small_infra
  • Switch to another infra (e.g. France)
  • Open the "Create new train" modal

@emersion emersion requested a review from a team as a code owner December 17, 2024 09:16
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 17, 2024
@emersion emersion force-pushed the emr/pathfinding-error-i18n branch from bf6895d to 80e605b Compare December 17, 2024 09:25
Copy link
Contributor

@clarani clarani left a comment

Choose a reason for hiding this comment

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

LGTM, I think you can even remove this warning

The "pathfindingError" translation needs an "errorMessage" property,
so it's not displayed properly.

Since the error is already displayed to the user in a different way,
we can just drop the bubble.

To reproduce:

- Select a train in small_infra
- Switch to another infra (e.g. France)
- Open the "Create new train" modal

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion force-pushed the emr/pathfinding-error-i18n branch from 80e605b to 4f7dd40 Compare December 17, 2024 09:41
@emersion emersion changed the title front: fix pathfinding error message bubble front: drop pathfinding error message bubble Dec 17, 2024
@emersion
Copy link
Member Author

Updated to drop the error bubble.

@emersion emersion added this pull request to the merge queue Feb 4, 2025
Merged via the queue into dev with commit 5db8398 Feb 4, 2025
27 checks passed
@emersion emersion deleted the emr/pathfinding-error-i18n branch February 4, 2025 15:43
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants