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

[ui] Clean up Ops page #23647

Merged
merged 1 commit into from
Aug 14, 2024
Merged

[ui] Clean up Ops page #23647

merged 1 commit into from
Aug 14, 2024

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Aug 14, 2024

Summary & Motivation

Tidy up the old Ops page.

  • Replace react-virtualizer with tanstack virtualizer.
    • This is the last remaining react-virtualizer use case in the codebase, so I've removed it altogether.
  • Just show the name of the op in the scrollable list. The signature is redundant.
  • Clean up the selected state a bit.
Screenshot 2024-08-14 at 10 22 10

How I Tested These Changes

View Ops page for a code location with a bunch of ops. Verify that the list scrolls properly (and is virtualized properly) and that highlight state is correct.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hellendag and the rest of your teammates on Graphite Graphite

@hellendag hellendag requested review from bengotow and salazarm August 14, 2024 15:28
@hellendag hellendag marked this pull request as ready for review August 14, 2024 15:28
Copy link

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-1gm1g7hvs-elementl.vercel.app
https://dish-ops-page.core-storybook.dagster-docs.io

Built with commit 051bd99.
This pull request is being automatically deployed with vercel-action

Copy link
Contributor

@salazarm salazarm left a comment

Choose a reason for hiding this comment

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

image

@hellendag hellendag merged commit c936b0a into master Aug 14, 2024
2 checks passed
@hellendag hellendag deleted the dish/ops-page branch August 14, 2024 18:49
PedramNavid pushed a commit that referenced this pull request Aug 14, 2024
## Summary & Motivation

Tidy up the old Ops page.

- Replace react-virtualizer with tanstack virtualizer.
- This is the last remaining `react-virtualizer` use case in the
codebase, so I've removed it altogether.
- Just show the name of the op in the scrollable list. The signature is
redundant.
- Clean up the selected state a bit.

<img width="1262" alt="Screenshot 2024-08-14 at 10 22 10"
src="https://github.com/user-attachments/assets/4364ea4f-2908-4322-b83f-1a4cee569fee">


## How I Tested These Changes

View Ops page for a code location with a bunch of ops. Verify that the
list scrolls properly (and is virtualized properly) and that highlight
state is correct.
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