So snapping on drag instead of on release is a requirement for the PR?
Can you describe what behavior do you expect? What you screencasted is pretty much my definition of snapping.
Looks like the snappiness is not present anymore.
I just tryied it on https://3759-feature-precision-gantt--vikunja-frontend-preview.netlify.app and dragging a bar snaps it to the closest day…
Since they straight up allow to disable the check with ALLOW_UNKNOWN_PROTOCOLS, I guess there isn't a real good reason. Just that nobody asked for it before. I'll open the issue.
In the mean…
But it's totally fine to implement the API first and then do the frontend part.
Will do.
The struct will be automatically populated from the request data.
I missed the request…
Do you want to open an issue over at their repo?
I'm not sure what the issue on their side would be. Are you suggesting a DENIED_URI_REGEXP config that matches unwanted URI (like javascript:
)?
My last commit restore the snappy behavior on day precision mode. I'm fairly happy with the result. It's ready for review.
Can you extend this to task descriptions and comments?
Will do.
Gitea got bitten by this in one of their more recent releases: https://blog.gitea.com/release-of-1.20.1/#%EF%B8%8F-any-url-s…
I may have found a solution based on 24H offsets when in day mode, but le me know if we can get away without it.
With the old chart, we had a switch for that. I like your solution better.
Great!
I'm all for using date objects.
Will do.
Do you have an idea on why that might be?
I do. The…