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

Replace unmaintained HammerJS dependency with VueUse #3894

Merged
merged 1 commit into from
May 16, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Mar 15, 2023

HammerJS is unmaintained, ref: hammerjs/hammer.js#1278

Replaced with VueUse which will be quite useful as we can also use it for #3893 so we can replace two unmaintained dependencies with one maintained one.

(Not relevant but this also will fix issues when building nextcloud-vue with vite (maybe in the future)).

@susnux susnux added 3. to review Waiting for reviews dependencies Pull requests that update a dependency file labels Mar 15, 2023
Copy link
Contributor

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

I'm trying to test this from the web browser in mobile mode but it doesn't work for the app navigation

@nickvergessen nickvergessen requested a review from ShGKme May 8, 2023 08:59
Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

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

I tried in Talk, and swipe for the left sidebar doesn't work for me now....
Nextcloud 27, Android, Vivaldi (Chromium-based).

Does it work for you in any app/mobile browser?

src/components/NcAppContent/NcAppContent.vue Outdated Show resolved Hide resolved
@susnux susnux force-pushed the deps/replace-hammerjs branch 2 times, most recently from 0052761 to ffdeede Compare May 15, 2023 10:35
@ShGKme
Copy link
Contributor

ShGKme commented May 15, 2023

Any changes or just rebase? :)

@susnux
Copy link
Contributor Author

susnux commented May 15, 2023

Any changes or just rebase? :)

Before that comment: Rebase. After it: Changes 😉
Does work now:

screen-20230515-135431.2.mp4

Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

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

Tested on Android - Vivaldi (Chromium) and Firefox - works fine.

@marcoambrosini Could you also test on iPhone Safari?

Copy link
Contributor

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

Tested and works on safari mobile

@susnux susnux added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 15, 2023
@susnux susnux added this to the 8.0.0 milestone May 15, 2023
@raimund-schluessler raimund-schluessler merged commit 7d759f3 into master May 16, 2023
@raimund-schluessler raimund-schluessler deleted the deps/replace-hammerjs branch May 16, 2023 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants