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

Windowing abstractions #9711

Closed
wants to merge 3 commits into from
Closed

Windowing abstractions #9711

wants to merge 3 commits into from

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Sep 8, 2023

Replay DevTools has several tree data structures (e.g. Elements, React DevTools) that can be more efficiently rendered as flat lists (using a library like react-window). Doing this adds some complexity, so this PR is exploring how we might move some of that complexity into some shared components.

It also migrates the recently updated Elements > Rules panel to use the new generic list component. Next would be the Elements panel, and possibly React DevTools after that.

  • New GenericList React component and abstract GenericListData class
  • Migrate Elements > Rules panel to use new component
  • Verify no e2e test regressions
  • Performance profile to make sure memoizing works how it's expected to

@vercel
Copy link

vercel bot commented Sep 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
devtools ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2023 5:30pm

@replay-io
Copy link

replay-io bot commented Sep 8, 2023

E2E Tests

81 replays were recorded for 9e3d3bd.

image 1 Failed
image 80 Passed

View test run on Replay ↗︎

Snapshot Tests

100 replays were recorded for 9e3d3bd.

image 0 Failed
image 100 Passed

View test run on Replay ↗︎

@replay-delta
Copy link

replay-delta bot commented Sep 14, 2023

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