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

Make HammerJs optional. #13906

Conversation

MayaKirova
Copy link
Contributor

Closes #

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

@IMinchev64 IMinchev64 self-assigned this Feb 15, 2024
@IMinchev64 IMinchev64 added the ✅ status: verified Applies to PRs that have passed manual verification label Feb 15, 2024
@MayaKirova MayaKirova added ❌ status: awaiting-test PRs awaiting manual verification and removed ✅ status: verified Applies to PRs that have passed manual verification labels Feb 20, 2024
@IMinchev64 IMinchev64 added ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification labels Feb 20, 2024
CHANGELOG.md Outdated
@@ -2,6 +2,10 @@

All notable changes for each version of this project will be documented in this file.

## 17.1.0
### General
Copy link
Member

Choose a reason for hiding this comment

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

Heheh, might've been too diligent transferring changes. Don't think we want the changelog at all since this might not end up in 17.1 directly, plus that's already there. Might also want to drop the schematics stuff, I think we're mostly interested in the commits that modify the actual source only. Will see if that can be done by skipping other commits only

@damyanpetev damyanpetev force-pushed the mkirova/optional-hammer-time-angular-elements branch from 0f8893a to e0a3da0 Compare February 20, 2024 17:33
Copy link
Member

@damyanpetev damyanpetev left a comment

Choose a reason for hiding this comment

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

Other than the docs comment, LGTM

@@ -51,7 +51,6 @@ import 'zone.js'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/
import 'hammerjs';
Copy link
Member

Choose a reason for hiding this comment

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

Hm, we'll need to likely update docs for WC/Blazor/React due to this. Don't know if it currently mentions Hammer, but now it'd be up to the app to include it.

Copy link
Member

Choose a reason for hiding this comment

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

Okay, did a bit of digging and the list of Grid-related functionality that can rely on Hammer:

  • The cell doubletap workaround for iOS (that also includes a check to prevent doubletap zoom it seems). This one we'll need to check out how much is still valid
  • The list pan gestures, which the grid lists do not use, so we can safely ignore
  • Time picker pan to scroll through the list of hours/minutes
  • Calendar (Date picker) year list in the same style, which won't matter once the calendar redesign lands

So it's almost entirely restricted to Grid Editing and components used by the feature and 2 out of 3 of those might be resolvable with refactoring/updates. So we could almost wait depending on the release targets or only update the editing topic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dkamburov @damyanpetev

I don't think we have any mentions in the wc/react/blazor topics around the grid related to touch interactions right now.

Not sure what the time frame for fully phasing out hammerjs is. Maybe @dkamburov will have more information?
If it's in the near future I'm more in favor of waiting and then just adding an actual Touch support section for wc/react/blazor. Might not be a bad idea to add something like that to Angular as well, since it's a bit difficult to track what interactions we actually support for touch right now in each component.

@damyanpetev damyanpetev added the squash-merge Merge PR with "Squash and Merge" option label Feb 20, 2024
@dkamburov dkamburov merged commit 0f94609 into blazor-angular-elements Feb 21, 2024
1 check failed
@dkamburov dkamburov deleted the mkirova/optional-hammer-time-angular-elements branch February 21, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💠 grid: elements squash-merge Merge PR with "Squash and Merge" option ✅ status: verified Applies to PRs that have passed manual verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants