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

drag_and_drop.js: remove jquery and convert to typescript #4209

Merged
merged 7 commits into from
Dec 12, 2022

Conversation

freyavs
Copy link
Contributor

@freyavs freyavs commented Dec 2, 2022

This pull request converts drag_and_drop.js to drag_and_drop.ts, removing jquery and converting everything to typescript.

It also adds a new util function findParent to replace the jquery .parents(...) method.

This is progress on #3590

@freyavs freyavs mentioned this pull request Dec 3, 2022
9 tasks
@freyavs freyavs added the chore Repository/build/dependency maintenance label Dec 5, 2022
@freyavs freyavs self-assigned this Dec 5, 2022
@freyavs freyavs marked this pull request as ready for review December 5, 2022 13:00
@freyavs freyavs requested a review from a team as a code owner December 5, 2022 13:00
@freyavs freyavs requested review from bmesuere and jorg-vr and removed request for a team December 5, 2022 13:00
Copy link
Contributor

@jorg-vr jorg-vr left a comment

Choose a reason for hiding this comment

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

Code looks good :)

app/assets/javascripts/util.js Show resolved Hide resolved
app/assets/javascripts/drag_and_drop.ts Outdated Show resolved Hide resolved
app/assets/javascripts/drag_and_drop.ts Show resolved Hide resolved
app/assets/javascripts/drag_and_drop.ts Outdated Show resolved Hide resolved
app/assets/javascripts/drag_and_drop.ts Outdated Show resolved Hide resolved
app/assets/javascripts/util.js Outdated Show resolved Hide resolved
app/assets/javascripts/util.js Outdated Show resolved Hide resolved
app/assets/javascripts/util.js Outdated Show resolved Hide resolved
Copy link
Member

@bmesuere bmesuere left a comment

Choose a reason for hiding this comment

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

👍

@jorg-vr jorg-vr merged commit f211d4e into develop Dec 12, 2022
@jorg-vr jorg-vr deleted the chore/drag-and-drop-jquery-removal branch December 12, 2022 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Repository/build/dependency maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants