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

Stale view content when switching perspective #626

Open
danielwiehl opened this issue Dec 18, 2024 · 1 comment
Open

Stale view content when switching perspective #626

danielwiehl opened this issue Dec 18, 2024 · 1 comment

Comments

@danielwiehl
Copy link
Collaborator

Describe the bug

Sometimes, views display stale content when switching perspective, only for a short time, most noticeable in microfrontend views located in a different place.

Analysis

Views with identical identifiers (view.1, view.2, etc.) in different perspectives are not re-created when switching perspectives, thus displaying stale content for a short time.

To Reproduce

Steps to reproduce the behavior:

  1. Create perspective A with a view on the left-hand side.
  2. Create perspective B with another view on the right-hand side.
  3. Switch to perspective A.
  4. Switch to perspective B.
  5. See that the view displays the content of the previous view for a short time.

Expected behavior

Views should have unique identifiers to prevent displaying stale content.

Environment

SCION Workbench version: 19.0.0-beta.1

Additional context

Add any other context about the problem here.

@danielwiehl
Copy link
Collaborator Author

Verify whether WorkbenchPerspectiveViewConflictResolver is still needed after replacing the view id with a UID.

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

No branches or pull requests

1 participant