Skip to content

Conversation

mddragnev
Copy link
Member

@mddragnev mddragnev commented Apr 24, 2024

Closes #14015
Updated the update guide in the docfx: IgniteUI/igniteui-docfx#5807

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
@mddragnev mddragnev changed the title Mdragnev/refactor density refactor(grid): Remove deprecated usage of display density Apr 24, 2024
@mddragnev mddragnev marked this pull request as ready for review May 8, 2024 14:05
@mddragnev mddragnev requested review from damyanpetev and simeonoff May 8, 2024 14:05
public hide() {
this._originalDisplay = document.defaultView.getComputedStyle(this.element.nativeElement).display;
this._originalDisplay = this.computedStyles.display;
this.element.nativeElement.style.display = 'none';
Copy link
Member

Choose a reason for hiding this comment

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

👀
/* ignore this one, just baffled by why on earth is that doing */

@@ -1,5 +1,5 @@
<div class="wrapper">
<igx-grid #grid1 [data]="data" [width]="'100%'" [height]="'800px'" displayDensity="compact" [rowSelection]="'multiple'" >
<igx-grid #grid1 [data]="data" [width]="'100%'" [height]="'800px'" [style.--ig-size]="1" [rowSelection]="'multiple'" >
Copy link
Member

Choose a reason for hiding this comment

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

PS: Those static values can just be moved to styles instead.

damyanpetev
damyanpetev previously approved these changes May 21, 2024
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.

Not sure if the styling still needs more discussing and the dev demos can be cleaned up some more even separately, the rest LGTM.

@dkamburov dkamburov merged commit 78eef0c into master May 28, 2024
@dkamburov dkamburov deleted the mdragnev/refactor-density branch May 28, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment