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: warn users when having unsymmetric times #359

Merged

Conversation

aiAdrian
Copy link
Collaborator

@aiAdrian aiAdrian commented Nov 18, 2024

Description

Add warning for unsymmetric times. Those times can be imported when importing Netzgrafik from 3rd parties

Previously, the system did not warn users about the presence of unsymmetric times. This commit adds functionality to detect and alert users when unsymmetric times exists.

2nd part of the fix is that the user will have a tooltip (svg:titel) show warning message when hovering over the element.

Issues

Checklist

  • This PR contains a description of the changes I'm making
  • I've read the Contribution Guidelines
  • I've added tests for changes or features I've introduced
  • I documented any high-level concepts I'm introducing in documentation/
  • CI is currently green and this is ready for review

@aiAdrian aiAdrian linked an issue Nov 18, 2024 that may be closed by this pull request
3 tasks
Copy link
Collaborator

@louisgreiner louisgreiner left a comment

Choose a reason for hiding this comment

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

Working good for the warning :
image

i dream of a day when this asymmetry is allowed 😄 we need to think about how

@aiAdrian aiAdrian merged commit 9923567 into main Nov 22, 2024
7 checks passed
@aiAdrian aiAdrian deleted the 358-bug-if-symmetry-gets-broken-the-editor-has-to-warn-the-user branch November 22, 2024 10:51
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.

[Bug]: If symmetry gets broken - the Editor has to warn the user
3 participants