Nc fix: UI improvements (#8223)

* fix(nc-gui): add background color for row on hover in grid view

* fix(nc-gui): reduce width of index column

* fix(nc-gui): on hover grid row bg opacity issue

* fix(nc-gui): reduce font size and grid cell height

* fix(nc-gui): reduce font size

* fix(nc-gui): set column default width to 180px

* fix(nc-gui): revert sidebar changes

* fix(nc-gui): disable grid row hover effect if fillMode is true

* fix(nc-gui): display checkbox & row expand icon if it is active row

* fix(nc-gui): increase the weight of display value cell

* fix(nc-gui): grid cell should have constant padding

* fix(nc-gui): att cell row height auto increase issue

* fix(nc-gui): att cell center align issue

* fix(nc-gui): percent cell spacing issue

* fix(nc-gui): text overflow ellipsis

* fix(nc-gui): single select auto increase height issue if rowHeight is short

* fix(nc-gui): grayed out header text color

* fix(nc-gui): reduce header icon size

* fix(nc-gui): set 12px grid header horizontal padding

* fix(nc-gui): center align expand icon for short row height

* fix(nc-gui): rich text and select type field auto row height increase issue

* fix(nc-gui): lookup cell auto increase height issue

* fix(nc-gui): small changes

* fix(nc-gui): truncate text after no. of lines base on rowHeight

* fix(nc-gui): barcode & qrcode cell row height issue

* chore(nc-gui): lint

* fix(test): update row height pw test

* fix(test): grid toolbar rowHeight test update

* fix(nc-gui): ai review changes

* fix(test): multiselect pw test update

* fix(test): verify multiselct options test update

* fix(nc-gui): merge conflicts

* fix(nc-gui): small changes

* fix(nc-gui): small changes

* fix(nc-gui): display value should be in blue color
This commit is contained in:
Ramesh Mane
2024-04-18 18:21:54 +05:30
committed by GitHub
parent 6db2b67c5b
commit e9aa37e284
32 changed files with 464 additions and 147 deletions

View File

@@ -37,7 +37,21 @@ export class SelectOptionCellPageObject extends BasePage {
if (!ignoreDblClick) await selectCell.click();
}
await selectCell.click();
if ((await selectCell.getAttribute('class')).includes('active')) {
await selectCell.locator('.ant-select').first().waitFor({ state: 'visible' });
await selectCell
.locator('.ant-select')
.first()
.click({
position: {
x: 2,
y: 1,
},
});
} else {
await selectCell.click();
}
if (multiSelect) {
await this.rootPage.locator('.nc-dropdown-multi-select-cell').waitFor({ state: 'visible' });
@@ -136,7 +150,21 @@ export class SelectOptionCellPageObject extends BasePage {
await selectCell.click();
}
await this.get({ index, columnHeader }).click();
if ((await selectCell.getAttribute('class')).includes('active-cell')) {
await selectCell.locator('.ant-select').first().waitFor({ state: 'visible' });
await selectCell
.locator('.ant-select')
.first()
.click({
position: {
x: 2,
y: 1,
},
});
} else {
await this.get({ index, columnHeader }).click();
}
await this.rootPage.waitForTimeout(500);
let counter = 0;