Skip to content

Ensure that content in re-used widgets (timelines) gets properly set#921

Merged
kevinaboos merged 1 commit into
project-robius:mainfrom
kevinaboos:stale_widget_overwrite
Jun 10, 2026
Merged

Ensure that content in re-used widgets (timelines) gets properly set#921
kevinaboos merged 1 commit into
project-robius:mainfrom
kevinaboos:stale_widget_overwrite

Conversation

@kevinaboos

Copy link
Copy Markdown
Member

The timeline portallist in a room can frequently re-use a widget, so we need to make sure that ALL content that a widget might show gets properly populated/set such that no old content is displayed.

Generally this is unlikely or impossible, but we might as well be sure. This includes:

  • Clear link previews on messages that can't have link previews, e.g., redacted, file, audio, video, location, other unsupported messages.
  • Hide the edited and TSP indicators
  • Don't show reactions on redacted messages
  • Rebuild the row of avatars for a read receipts when it visibly changes.
  • Space lobby loading spinner

The timeline portallist in a room can frequently re-use a widget,
so we need to make sure that ALL content that a widget might show
gets properly populated/set such that no old content is displayed.

Generally this is unlikely or impossible, but we might as well be sure.
This includes:
* Clear link previews on messages that can't have link previews, e.g.,
  redacted, file, audio, video, location, other unsupported messages.
* Hide the edited and TSP indicators
* Don't show reactions on redacted messages
* Rebuild the row of avatars for a read receipts when it visibly changes.
* Space lobby loading spinner
@kevinaboos kevinaboos merged commit ce78aef into project-robius:main Jun 10, 2026
11 checks passed
@kevinaboos kevinaboos deleted the stale_widget_overwrite branch June 10, 2026 00:59
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