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

Switch to ViewTransition API #7720

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft

Conversation

raksooo
Copy link
Member

@raksooo raksooo commented Feb 25, 2025

This PR replaces our custom built TransitionContainer.tsx with the JavaScript/CSS view transition API.

Fixes DES-1405.


This change is Reviewable

Copy link

linear bot commented Feb 25, 2025

@tobias-jarvelov tobias-jarvelov force-pushed the switch-to-view-transition-api branch 7 times, most recently from 46b52f4 to f259647 Compare March 3, 2025 10:20
@tobias-jarvelov tobias-jarvelov force-pushed the switch-to-view-transition-api branch 5 times, most recently from e69db40 to e2a3d98 Compare March 5, 2025 16:26
raksooo and others added 13 commits March 6, 2025 16:53
These will no longer be needed when we switch to the ViewTransition API
for view transitions. It feels unnecessary to merge a suboptimal
solution in the meanwhile.
As we have migrated to the native View
Transitions API we can stop waiting for
transitions to end manually.

Playwright automatically waits for animations and
elements to appear or disappear. As such, we don't
have to manually wait for transitions to end in
our tests.
- Replace use of regex in locators in favor of
  actual strings.
- Use narrower locator for targeting connection
  action button.
This test is never run by the test-manager and can
therefore be removed.
@tobias-jarvelov tobias-jarvelov force-pushed the switch-to-view-transition-api branch from e2a3d98 to e9c05a2 Compare March 6, 2025 15:53
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