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

Fix/usability issues #456

Merged
merged 7 commits into from
Aug 23, 2024
Merged

Fix/usability issues #456

merged 7 commits into from
Aug 23, 2024

Conversation

TheGreatRefrigerator
Copy link
Collaborator

No description provided.

- hide sidebar on click only for low resolution as it doesn't make sense on larger screens
- adjust showMapViewClickPopups to split between 'med & high' vs 'low' instead of 'high' vs 'low & med'

if a right-click was done within 2 seconds after adding the first point, show click popups would still be false,
due to this dubious async logic that is now removed.

The logic somehow prevented to show the "What's this" modal, which without it came up when clicking an alternative
route.
This is prevented by stopping the propagation to the map base layer in alternativeRouteIndexSelected.
after the refactoring of the extra info, it was only calculated once during creation of
the route-extras component.
It is now also calculated on route changes.
Moving the map also triggers a route change but value doesn't change,
which is treated within the watch handler.
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
44.2% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@TheGreatRefrigerator
Copy link
Collaborator Author

Sonar Cloud duplication can be ignored, as these are css color entries & labels needed.

@TheGreatRefrigerator TheGreatRefrigerator merged commit 8d75bc2 into main Aug 23, 2024
3 of 4 checks passed
@TheGreatRefrigerator TheGreatRefrigerator deleted the fix/usability-issues branch August 23, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scale Bar flaky right click on map Extra info is not shown for all route segments
1 participant