Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Ensure that widget PersistedElement IDs are unique between rooms #8049

Closed
wants to merge 1 commit into from

Conversation

robintown
Copy link
Member

@robintown robintown commented Mar 12, 2022

Type: defect

Closes element-hq/element-web#21399.


Here's what your changelog entry will look like:

🐛 Bug Fixes

Preview: https://pr8049--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.

Signed-off-by: Robin Townsend <robin@robin.town>
@robintown robintown requested a review from a team as a code owner March 12, 2022 16:36
@github-actions github-actions bot added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Mar 12, 2022
@codecov
Copy link

codecov bot commented Mar 12, 2022

Codecov Report

Merging #8049 (4402158) into develop (14807de) will increase coverage by 0.00%.
The diff coverage is 66.66%.

@@           Coverage Diff            @@
##           develop    #8049   +/-   ##
========================================
  Coverage    26.79%   26.79%           
========================================
  Files          865      865           
  Lines        51974    51976    +2     
  Branches     13168    13170    +2     
========================================
+ Hits         13926    13927    +1     
- Misses       38048    38049    +1     
Impacted Files Coverage Δ
src/components/views/elements/AppTile.tsx 49.42% <66.66%> (+<0.01%) ⬆️

@robintown
Copy link
Member Author

I'm going to follow this up tomorrow with a PR that fixes this faulty assumption in more places throughout the app, since there's actually a lot more code that assumes widget IDs are globally unique.

@robintown robintown closed this Mar 14, 2022
Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App freezes when switching between two rooms with Jitsi widgets
2 participants