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

Introduce filtering via Ctrl+F/Cmd+F into the sandwich view #293

Merged
merged 10 commits into from
Jul 14, 2020

Conversation

jlfwong
Copy link
Owner

@jlfwong jlfwong commented Jul 13, 2020

This is the first step towards fixing #38.

I started with the easiest part from a UI-paradigm perspective, and also the place that's the most confusing that search doesn't work. Before this PR, browers' Cmd+F/Ctrl+F would look like it worked in the Sandwich view, but they wouldn't work fully because the view in the sandwich view is a virtualized table, meaning that it doesn't put all of the rows in the DOM. Instead, it only renders enough to fill the viewport to make rendering much faster.

Here's what the changes from this PR look like in action:

Kapture 2020-07-12 at 23 17 33

Before closing #38, I'll be adding search functionality to the flamechart views too.

@jlfwong jlfwong force-pushed the jlfwong/filter-sandwich-view branch from cee6254 to 26896c0 Compare July 14, 2020 04:51
@coveralls
Copy link

coveralls commented Jul 14, 2020

Coverage Status

Coverage decreased (-0.7%) to 46.27% when pulling 26896c0 on jlfwong/filter-sandwich-view into 9ed1eb1 on master.

@jlfwong jlfwong merged commit 668bb03 into master Jul 14, 2020
@jlfwong jlfwong deleted the jlfwong/filter-sandwich-view branch July 14, 2020 05:04
@jlfwong jlfwong mentioned this pull request Jul 14, 2020
jackerghan pushed a commit to jackerghan/speedscope that referenced this pull request Jul 28, 2023
)

This is the first step towards fixing jlfwong#38. 

I started with the easiest part from a UI-paradigm perspective, and also the place that's the most confusing that search doesn't work. Before this PR, browers' Cmd+F/Ctrl+F would *look* like it worked in the Sandwich view, but they wouldn't work fully because the view in the sandwich view is a virtualized table, meaning that it doesn't put all of the rows in the DOM. Instead, it only renders enough to fill the viewport to make rendering much faster.

Here's what the changes from this PR look like in action:

![Kapture 2020-07-12 at 23 17 33](https://user-images.githubusercontent.com/150329/87276802-ef2b8780-c495-11ea-9856-9c834ea7f028.gif)

Before closing jlfwong#38, I'll be adding search functionality to the flamechart views too.
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.

2 participants