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

Fix time graph filtering and collapsing #302

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PatrickTasse
Copy link
Contributor

Only clear excluded rows if the EXCLUDED filtering expressions have changed. This prevents unnecessarily redoing filtering of rows when only the search string has changed.

Determine the list of rows that have only changed y-position, for example due to collapsing of preceding rows. If these rows do not need to be fetched because their current model is valid, then rebuild the rows using their current model to update each child element's position.

If no rows at all need to be fetched but there were some moved rows, perform a fetch to update the arrows which may have changed their start and/or end position.

Remove unused code for updating and removing of gap states, as the states and gaps are always added from scratch when updating a row. Remove the reference to gap state components in the row model states.

Only clear excluded rows if the EXCLUDED filtering expressions have
changed. This prevents unnecessarily redoing filtering of rows when only
the search string has changed.

Determine the list of rows that have only changed y-position, for
example due to collapsing of preceding rows. If these rows do not need
to be fetched because their current model is valid, then rebuild the
rows using their current model to update each child element's position.

If no rows at all need to be fetched but there were some moved rows,
perform a fetch to update the arrows which may have changed their start
and/or end position.

Remove unused code for updating and removing of gap states, as the
states and gaps are always added from scratch when updating a row.
Remove the reference to gap state components in the row model states.

Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant