fix(ng22): removing mentions of hammermodule#359
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Ignite UI for Angular documentation to align with Angular 22 by removing guidance and examples that reference HammerModule (which is no longer available from @angular/platform-browser).
Changes:
- Removed
HammerModulementions and import snippets from multiple component “Getting Started” sections. - Updated related “dependency” callouts (e.g., keeping
BrowserAnimationsModulewhere applicable). - Revised the update guide’s Angular 9-era Hammer note to reference Angular 22 removal.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/angular/src/content/en/components/treegrid/tree-grid.mdx | Removes the HammerModule info aside from the Tree Grid usage section. |
| docs/angular/src/content/en/components/time-picker.mdx | Removes HammerModule from the dependency note and module import example. |
| docs/angular/src/content/en/components/stepper.mdx | Removes HammerModule from standalone import examples. |
| docs/angular/src/content/en/components/slider/slider.mdx | Removes HammerModule warning aside and related module/app.config snippets. |
| docs/angular/src/content/en/components/paginator.mdx | Removes HammerModule from standalone import examples. |
| docs/angular/src/content/en/components/navdrawer.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/month-picker.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/list.mdx | Removes HammerModule aside and module/standalone import references. |
| docs/angular/src/content/en/components/hierarchicalgrid/hierarchical-grid.mdx | Removes the HammerModule info aside from Getting Started. |
| docs/angular/src/content/en/components/grid/grid.mdx | Removes the HammerModule info aside from Getting Started. |
| docs/angular/src/content/en/components/general/update-guide.mdx | Replaces Angular 9 Hammer guidance with an Angular 22 removal note (needs refinement). |
| docs/angular/src/content/en/components/date-range-picker.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/date-picker.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/carousel.mdx | Removes HammerModule aside and module/standalone import references. |
| docs/angular/src/content/en/components/calendar.mdx | Removes HammerModule from dependency note and module/standalone examples. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ctionable message
…ment Fix disconnected HammerModule notes in Angular 8→9 update guide
mddragnev
left a comment
There was a problem hiding this comment.
- We should probably add some info that we should add
hammerjsto the scripts inangular.jsonin order to have touch interactions of those components. - Please update the jp docs as well
We have a jp sync pipeline now, although we have some issues keeping it running :/ Y-day we decided to remove hammermodule quietly and instead of suggesting a super temp solution, implement an in-house solution for 22.1 and update the docs then. The task is already logged and we should start working on it soon. |
|
@mddragnev , actually scratch the previous. You are right that there is no harm in letting users know how to use the hammer script in the meantime. Added this under the 21.1 to 22 section. |
Closes #
Checklist:
preview/beta../relative/path.mdIgxSelectComponent,<igx-combo>code blocksfor the names of classes / tags / propertiescode blockscheck-api/mdxnpm commands