Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve view model list equality checks #4491

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bastianjoel
Copy link
Member

resolves #4303

Please check if #4303 is still fixed with this. This now also fixes potential errors with change recommendations not being updated.

@bastianjoel bastianjoel force-pushed the 4303-view-model-list-equality-check branch from cfadf17 to 26401da Compare December 16, 2024 15:17
Copy link
Member

@Elblinator Elblinator left a comment

Choose a reason for hiding this comment

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

starting a poll is creating too many autoupdate updates (several in a second)

The state change from the change recommendations and the amendments work fine with this

describe(`viewModelListEqual`, () => {
const els: any[] = [
{ viewModelUpdateTimestamp: 1234, id: 1 },
{ viewModelUpdateTimestamp: 1235, id: 1 },
Copy link
Member

Choose a reason for hiding this comment

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

els[1] not used in test, please remove it

@Elblinator Elblinator assigned bastianjoel and unassigned Elblinator Dec 17, 2024
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.

Motion detail view with amendments: Changing amendment status needs reload
2 participants