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

Hide excluded rows #296

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

PatrickTasse
Copy link
Contributor

When rows models are fetched from the data provider, if any requested row is not returned, consider that this row has been excluded by EXCLUDE filtering, and remove its row component. Reposition all remaining rows when rows are excluded.

Keep track of excluded rows and of the world range that was used to exclude them.

During fullSearch with EXCLUDE filter, add previously excluded rows to the request to determine if they should reappear.

When complete update is requested, remove row components that are not visible because they would otherwise not be updated and their states could linger at the wrong position.

After a fullSearch update is completed, restart another request in case new rows have become visible due to space left by newly excluded rows.

Skip coarse update when EXCLUDED filter is applied. This helps prevent matching states that are only found in finer updates from temporarily disappearing during the coarse update.

Adjust the limits when moving vertically considering excluded rows.

@marcdumais-work
Copy link
Contributor

marcdumais-work commented Sep 19, 2024

One dependency is not passing the license check: [email protected]

An IP Ticket has already been register against it, earlier today:
https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16197

Update:

  • the license check failing for that dependency also happens on the master nightly build
  • the failed license check seems to be a false-positive for the prohibited "JSON" license, based on the fact that strings "json" and "LICENSE" happen close together in the dependency's "package.json" file. See this comment on IP ticket.

Since this PR did not trigger the failed license check, and the license check failure seems very likely to be a false-positive, I think it can be ignored in the PR here. I think the IP Ticket will be approved soon and the failure will disappear - it if takes a while we can add an exception for this specific dependency to be ignored.

Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. I tested it using eclipse-cdt-cloud/theia-trace-extension#1120 with small and large traces. Thanks!

When rows models are fetched from the data provider, if any requested
row is not returned, consider that this row has been excluded by EXCLUDE
filtering, and remove its row component. Reposition all remaining rows
when rows are excluded.

Keep track of excluded rows and of the world range that was used to
exclude them.

During fullSearch with EXCLUDE filter, add previously excluded rows to
the request to determine if they should reappear.

When complete update is requested, remove row components that are not
visible because they would otherwise not be updated and their states
could linger at the wrong position.

After a fullSearch update is completed, restart another request in case
new rows have become visible due to space left by newly excluded rows.

Skip coarse update when EXCLUDED filter is applied. This helps prevent
matching states that are only found in finer updates from temporarily
disappearing during the coarse update.

Adjust the limits when moving vertically considering excluded rows.

Signed-off-by: Patrick Tasse <[email protected]>
@PatrickTasse PatrickTasse merged commit 55a4014 into eclipse-cdt-cloud:master Sep 26, 2024
4 of 5 checks passed
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.

3 participants