Fix-Rename compact mode property in Table Widget to Row Height (#5496)
* Change compact mode title to Row height in property pane configurations
This commit is contained in:
parent
fb9925cdc3
commit
b6e205e5b2
|
|
@ -264,16 +264,16 @@ describe("Table Widget Functionality", function() {
|
|||
const tabValue = tabData;
|
||||
expect(tabValue).to.be.equal("Lindsay Ferguson");
|
||||
cy.log("the value is" + tabValue);
|
||||
cy.get(publish.compactMode).click();
|
||||
cy.get(publish.compactOpt)
|
||||
cy.get(publish.rowHeight).click();
|
||||
cy.get(publish.rowHeightOpt)
|
||||
.contains("Tall")
|
||||
.click();
|
||||
cy.scrollTabledataPublish("3", "3").then((tabData) => {
|
||||
const tabValue = tabData;
|
||||
expect(tabValue).to.be.equal("Byron Fields");
|
||||
});
|
||||
cy.get(publish.compactMode).click();
|
||||
cy.get(publish.compactOpt)
|
||||
cy.get(publish.rowHeight).click();
|
||||
cy.get(publish.rowHeightOpt)
|
||||
.contains("Short")
|
||||
.click();
|
||||
cy.readTabledataPublish("4", "3").then((tabData) => {
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
"inputValue": ".t--table-filter-value-input",
|
||||
"canvas": ".canvas",
|
||||
"removeFilter": ".t--table-filter-remove-btn",
|
||||
"compactMode": ".t--table-compact-mode-toggle-btn",
|
||||
"compactOpt": ".t--table-compact-mode-option",
|
||||
"rowHeight": ".t--table-compact-mode-toggle-btn",
|
||||
"rowHeightOpt": ".t--table-compact-mode-option",
|
||||
"visibilityMode": ".t--table-column-visibility-toggle-btn",
|
||||
"visibilityOpt": ".option-title",
|
||||
"containerWidget": ".t--widget-containerwidget",
|
||||
|
|
|
|||
|
|
@ -769,9 +769,9 @@ export default [
|
|||
isTriggerProperty: false,
|
||||
},
|
||||
{
|
||||
helpText: "Toggle visibility of the compact mode",
|
||||
helpText: "Toggle visibility of the row height",
|
||||
propertyName: "isVisibleCompactMode",
|
||||
label: "Compact Mode",
|
||||
label: "Row Height",
|
||||
controlType: "SWITCH",
|
||||
isBindProperty: false,
|
||||
isTriggerProperty: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user