Skip to content

CardView - Column Chooser: Fix buttons in popup for Fluent Theme#29916

Merged
Tucchhaa merged 11 commits intoDevExpress:25_1from
Tucchhaa:fix_chooser_popup_btns_25_1
May 22, 2025
Merged

CardView - Column Chooser: Fix buttons in popup for Fluent Theme#29916
Tucchhaa merged 11 commits intoDevExpress:25_1from
Tucchhaa:fix_chooser_popup_btns_25_1

Conversation

@Tucchhaa
Copy link
Contributor

No description provided.

@Tucchhaa Tucchhaa self-assigned this May 20, 2025
@Tucchhaa Tucchhaa added the 25_1 label May 20, 2025
@Tucchhaa Tucchhaa requested a review from a team as a code owner May 20, 2025 07:53
enabled: true,
},
}));
['generic.light', 'material.blue.light', 'fluent.blue.light'].forEach((theme) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: Let's use Themes from
import { Themes } from '../../../helpers/themes';

await t
.click(dataGrid.getColumnChooserButton())
// act
.expect(await takeScreenshot('column-chooser.png', dataGrid.element))
Copy link
Contributor

Choose a reason for hiding this comment

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

We can delete old screenshot now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I already deleted it. Strange that GitHub doesn't show it.

There's no 'column-chooser.png' file in 'etalons' directory: https://github.com/Tucchhaa/DevExtreme/tree/fix_chooser_popup_btns_25_1/e2e/testcafe-devextreme/tests/dataGrid/common/etalons

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I found it :)
image

await dataGrid.apiShowColumnChooser();

await t
.expect(await takeScreenshot(`column-chooser-${mode}-mode (${theme}).png`, dataGrid.element))
Copy link
Contributor

Choose a reason for hiding this comment

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

Using spaces in file names can lead to issues in different OS. We always use '_' or '-' as a separator instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All cardView etalons have the same etalon naming format, so I guess there should be no issues

@Tucchhaa Tucchhaa merged commit a76fa9d into DevExpress:25_1 May 22, 2025
304 checks passed
GoodDayForSurf pushed a commit to GoodDayForSurf/DevExtreme that referenced this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants