Skip to content

Drop instanceState row hack from instance NIC and disk tables - #3365

Merged
david-crespo merged 4 commits into
mainfrom
remove-instance-state-hack
Sep 3, 2026
Merged

Drop instanceState row hack from instance NIC and disk tables#3365
david-crespo merged 4 commits into
mainfrom
remove-instance-state-hack

Conversation

@david-crespo

@david-crespo david-crespo commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

We had a hack in a couple of spots to prevent certain row actions componenents from unmounting and remounting, which would cause an open row actions menu to close. #3364 makes the hack unnecessary, so we remove it. 4dccaed adds e2e tests for those exact scenarios and shows they pass in CI. But those tests are too specific, so they're not worth keeping around. The next commit reverts them. The last one adds a vitest browser test that is a little more general, showing how an open menu behaves when its underlying state changes (in this case a button going from disabled to enabled).

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Sep 3, 2026 9:01pm UTC

Request Review

@david-crespo

Copy link
Copy Markdown
Collaborator Author

Temporarily pushing a test that proves the changes doesn't break anything, but the tests aren't worth keeping so I'm going to revert them and put in a smaller vitest browser test.

@david-crespo
david-crespo enabled auto-merge (squash) September 3, 2026 21:05
@david-crespo
david-crespo merged commit da9d8b5 into main Sep 3, 2026
7 checks passed
@david-crespo
david-crespo deleted the remove-instance-state-hack branch September 3, 2026 21:12
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