Skip to content

Conversation

@iobuhov
Copy link
Collaborator

@iobuhov iobuhov commented Apr 7, 2023

Pull request type

Bug fix (non-breaking change which fixes an issue)

Breaking change (fix or feature that would cause existing functionality to change)


Description

This PR change how filters react on changes to the defaultValue attribute. Now we use value from this attribute only as initial value and any subsequent change is ignored.

What should be covered while testing?

Filter widgets - rendering and behavior.

You need a datagrid wrapped with dataview, which is used for storing and managing default values for the filters.

Current behavior:
changing filter value or showing/hiding filter through column selector cause multiple rerenders, poor performance and rendering erros in filter widgets.

Expected:
Changing filter value or hiding/showing filter should not cause any observable flickering or performance drops.

@iobuhov iobuhov requested a review from a team as a code owner April 7, 2023 18:04
@iobuhov iobuhov changed the title [WIP] [WC-XXXX] Issue dg inf loop [WIP] [WC-1716] Issue dg inf loop Apr 13, 2023
@iobuhov iobuhov force-pushed the issue-dg-inf-loop branch from b906e06 to c3a7a29 Compare April 13, 2023 10:06
samuelreichert
samuelreichert previously approved these changes Apr 13, 2023
Copy link
Contributor

@samuelreichert samuelreichert left a comment

Choose a reason for hiding this comment

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

LGTM

@iobuhov iobuhov changed the title [WIP] [WC-1716] Issue dg inf loop [WC-1716] Issue dg inf loop Apr 19, 2023
rahmanunver
rahmanunver previously approved these changes Apr 19, 2023
leonardomendix
leonardomendix previously approved these changes May 1, 2023
@iobuhov iobuhov dismissed stale reviews from leonardomendix and rahmanunver via 8231331 May 1, 2023 11:47
@iobuhov iobuhov force-pushed the issue-dg-inf-loop branch from 8231331 to d9b8c52 Compare May 1, 2023 11:48
leonardomendix
leonardomendix previously approved these changes May 1, 2023
samuelreichert
samuelreichert previously approved these changes May 1, 2023
Copy link
Contributor

@samuelreichert samuelreichert left a comment

Choose a reason for hiding this comment

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

LGTM

@iobuhov iobuhov dismissed stale reviews from samuelreichert and leonardomendix via 32dd867 May 1, 2023 12:50
@iobuhov iobuhov merged commit e1478a3 into main May 1, 2023
@iobuhov iobuhov deleted the issue-dg-inf-loop branch May 1, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants