Skip to content

Further timeline performance improvements - #1062

Merged
7w1 merged 8 commits into
devfrom
further-timeline-performance-improvements
Jul 12, 2026
Merged

Further timeline performance improvements#1062
7w1 merged 8 commits into
devfrom
further-timeline-performance-improvements

Conversation

@7w1

@7w1 7w1 commented Jul 11, 2026

Copy link
Copy Markdown
Member

Description

Smarter memoization of timeline events to prevent complete rerenders when new messages come in/reactions/etc
Avoids creating multiple dom purify instances
Allows rooms without local parts to be viewed, e.g. #:maunium.net
Removed a legacy direct media render path for bigger images that's no longer used, and was inadvertently filtering out many urls

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

@7w1
7w1 requested a review from hazre as a code owner July 11, 2026 23:54
@github-actions

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-1062-sable.raspy-dream-bb1d.workers.dev a69187d pr-1062 Sun, 12 Jul 2026 00:17:47 GMT

@7w1
7w1 merged commit 93ada7e into dev Jul 12, 2026
12 checks passed
@7w1
7w1 deleted the further-timeline-performance-improvements branch July 12, 2026 00:18
charm-cloudhub-social Bot pushed a commit to CloudHub-Social/Charm-1.0 that referenced this pull request Jul 12, 2026
> [!IMPORTANT]
> Merging this PR will create a new release.

## Fixes

* Fix some image embeds not creating embeds.
([SableClient#1062](<SableClient#1062>) by @7w1)
* Allow rooms with empty local parts to be viewed.
([SableClient#1062](<SableClient#1062>) by @7w1)
* Fix the account button showing you 0 sessions active and the verify
this device showing when you have zero devices to verify
([SableClient#1064](<SableClient#1064>) by @nushea)
* Various performance optimizations
([SableClient#1062](<SableClient#1062>) by @7w1)
* Fixed the entire timeline being rerendered every time you scroll :P
([SableClient#1055](<SableClient#1055>) by @7w1)

## Notes

* Added a new workflow that automatically previews dev on
[dev.sable.moe](https://dev.sable.moe)
([SableClient#1059](<SableClient#1059>) by @7w1)
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