Commit Graph
5054 Commits
Author SHA1 Message Date
Erwan Leboucher 8d8692daec fix: render redacted state events as deleted instead of hiding them 2026-07-15 23:34:55 +02:00
7w1 ae69b8bbaf fix: render redacted messages as deleted instead of unsupported (#1089)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

When sliding sync delivers a message that has been redacted, the
redaction event may not be in the client's timeline. In this case,
mEvent.isRedacted() returns false even though the event content has
already been stripped to {}.

Sable's timeline renderer only checked isRedacted(), so these messages
fell through to the fallback renderer and displayed as "Unsupported
message (no body)".
This adds an isContentEmpty check (Object.keys(safeContent).length ===
0) so that m.room.message events with empty content render as "Message
deleted" instead.

<img width="321" height="73" alt="Screenshot 2026-07-15 at 22 57 30"
src="https://github.com/user-attachments/assets/82cae806-1a14-473d-b45c-045de6032b81"
/>

```json
{
"content": {},
"origin_server_ts": 1784136316933
},
...
{
   "content": {
                "redacts": "$3xt7_zZiHMYPEdrDXaEFvu5cPtv-flc-oijPuv9elbU"
            },
            "origin_server_ts": 1784136364105,
```

#### Type of change

- [x] 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:

- [x] My code follows the style guidelines of this project
- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-15 21:16:47 +00:00
Erwan Leboucher 2b1f7c5971 fix: render redacted messages as deleted instead of unsupported 2026-07-15 23:10:02 +02:00
7w1 ea95d17f99 Fix file downloads not always being the right files (#1086)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1084 

Centralizes the download file name generation and adds some related
safety and hardening

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-15 16:08:45 -05:00
7w1 6f73b46c0e fix: allow joining spaces with sliding sync enabled (#1085)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

With sliding sync enabled, joining a space was impossible. The root
cause was a navigation dead-end: when a room's m.room.create event
wasn't yet in the client store (common with sliding sync's delivery
model), isSpaceRoom() returned false, causing spaces to be misrouted.

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [x] 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:

- [x] My code follows the style guidelines of this project
- [x] 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
- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-15 19:42:06 +00:00
Erwan Leboucher fae12afe10 fix: allow joining spaces with sliding sync enabled 2026-07-15 21:40:22 +02:00
7w1 98ecbaebce show room members in dev tools (#1088)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

removing a cinnyism

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-15 14:35:42 -05:00
7w1 d098e77130 show room members in dev tools 2026-07-15 14:33:08 -05:00
7w1 4b9b937bc4 Fix presence fallback ignoring key updates (#1078)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

I think the fallback presence sync for sliding sync was consuming crypto
related data and discarding it, which could result in it being lost if
it was sent through that path, now it should be properly forwarded and
the fallback is properly disabled entirely for classic sync.

Fixes #1075 

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-15 13:01:16 -05:00
7w1 3a000c7bfc make download names smarter 2026-07-15 11:49:28 -05:00
7w1 392e455c05 Lower amount of unauthentificated media requests (#1080)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

very bodgy fix for a very specific firefox issue but it works well
enough.

does not have a changeset just because it is a very niche thing that
still needs a lot more love and should realistically require rewriting
how media is fetched entirely to move away from a sw

Fixes #

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-15 16:07:00 +00:00
7w1 9bdba8f956 Add Native OIDC (OAuth 2.0) login (#1071)
### Description

Adds Native OIDC (Matrix OAuth 2.0 API) login and registration so Sable
works with homeservers that use delegated auth including those that run
OAuth-exclusive and disable the legacy /login endpoints.

Fixes #1066

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] 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:

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

<!-- fmt:check, lint, typecheck, knip and test:run all pass locally. -->

### AI disclosure:

- [x] 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).

Code completion and 2nd code review
2026-07-15 16:05:47 +00:00
Shea 1642277993 bodge to try to lower the ammount of unauthentificated media requests
Signed-off-by: Shea <[email protected]>
2026-07-15 10:39:53 +03:00
7w1 3b3a0121ac fix presence fallback ignoring key updates 2026-07-14 18:26:07 -05:00
Erwan Leboucher a4cdd156c9 Add Native OIDC (OAuth 2.0) login 2026-07-14 22:14:45 +02:00
7w1 e4f194bed4 Hide register link when registration is disabled (#1073)
### Description

When a homeserver has registration disabled, the Login page still showed
a "Do not have an account? Register" prompt that led to a dead-end
Register page (which only renders "Registration has been disabled on
this homeserver."). This hides that prompt when registration is
genuinely unavailable, the server reports registration disabled (403
`M_FORBIDDEN`) and offers no SSO flow to register through. Password and
SSO login are unaffected, and the Register page keeps its message as a
fallback for direct navigation.

#### Type of change

- [x] 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:

- [x] My code follows the style guidelines of this project
- [x] 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
- [x] My changes generate no new warnings

<!-- fmt:check, lint, typecheck, knip and test:run all pass locally. -->

### AI disclosure:

- [x] 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).

code completion and 2nd review
2026-07-13 19:07:10 +00:00
Erwan Leboucher 3e4acb7985 Add changeset 2026-07-13 20:08:47 +02:00
7w1 2e6a6ace8e Fix more Visual things (#1068)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix clicking handles, the coloring of heros, and ghost reaction things,
though through a massive hack :>

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1067

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->

Written w the assistance of rewatching old tom scott videos
2026-07-13 18:06:05 +00:00
7w1 836a688c19 Fix animal identity resetting (#1070)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fixes the animal identity, and adds more whimsy to the client, dont read
the pr if you dont wanna get spoiled on a probably not significant
change

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1040

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
Written in order to sablize the client
2026-07-13 18:05:02 +00:00
Erwan Leboucher 9e80f56eae Hide register link when registration is disabled 2026-07-13 19:55:20 +02:00
Shea f1cd82342d fix ghost reactions through an objective hack but the sdk is the sdk
Signed-off-by: Shea <[email protected]>
2026-07-13 07:37:07 +03:00
Shea 76d50188c9 fix animal identity resetting
Signed-off-by: Shea <[email protected]>
2026-07-13 05:21:06 +03:00
Shea b2d196447f fix unclickable handles and hard to see handles
Signed-off-by: Shea <[email protected]>
2026-07-12 22:39:08 +03:00
7w1 d8938a625d chore: prepare release 1.19.4 (#1058)
> [!IMPORTANT]
> Merging this PR will create a new release.

## Fixes

* Fix some image embeds not creating embeds.
([#1062](<https://github.com/SableClient/Sable/pull/1062>) by @7w1)
* Allow rooms with empty local parts to be viewed.
([#1062](<https://github.com/SableClient/Sable/pull/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
([#1064](<https://github.com/SableClient/Sable/pull/1064>) by @nushea)
* Various performance optimizations
([#1062](<https://github.com/SableClient/Sable/pull/1062>) by @7w1)
* Fixed the entire timeline being rerendered every time you scroll :P
([#1055](<https://github.com/SableClient/Sable/pull/1055>) by @7w1)

## Notes

* Added a new workflow that automatically previews dev on
[dev.sable.moe](https://dev.sable.moe)
([#1059](<https://github.com/SableClient/Sable/pull/1059>) by @7w1)
v1.19.4
2026-07-12 16:28:50 +00:00
github-actions[bot] aaa6f95aa9 chore: prepare release 1.19.4 2026-07-12 15:14:03 +00:00
7w1 4cf2800e0f Fix unverified counter (#1064)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix Unverified counter for the account sessions.

It also Fixes one visual error

And lastly it disables the sliding sync by default maybe, it can be
reverted on that but, even though the feature seems to be working very
well, it is not something that someone would have a reason to care to
use unless they are really pressed for resources and is otherwise not
useful seeing the occasional extra bug

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1052

#### Type of change

- [x] 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:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
Written w the assistance of some brined mozzarella
2026-07-12 15:11:24 +00:00
Shea 3fcc84ac4c Merge branch 'dev' into fix/minor-fixes
Merge
2026-07-12 16:37:10 +03:00
Shea 68ad480d7f maybe more stringent rules maybe
Signed-off-by: Shea <[email protected]>
2026-07-12 16:35:52 +03:00
7w1 53cc8593af Fix settings updates not updating timeline (#1063)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Setting changes didn't immediately update the timeline (e.g. toggling
dev mode not showing view source on messages) due to the optimizations

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-11 23:27:59 -05:00
7w1 6d1fd022b3 ensure more things trigger rerenders 2026-07-11 23:25:06 -05:00
7w1 efb7a68dbd Fix settings updates not updating timeline 2026-07-11 20:27:08 -05:00
7w1 93ada7e839 Further timeline performance improvements (#1062)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

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

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-11 19:18:32 -05:00
7w1 a69187d0b0 formatting the third 2026-07-11 19:15:28 -05:00
7w1 66e2f8b079 remove legacy rendering logic that filtered out some urls 2026-07-11 19:13:58 -05:00
7w1 eb04e94388 formatting part 2 2026-07-11 19:01:20 -05:00
7w1 573ed9ba48 formatting 2026-07-11 18:55:52 -05:00
7w1 ebd0e2af7a Optimize DOMPurify instantiation in sanitize 2026-07-11 18:53:58 -05:00
7w1 c3dff6bb70 Fix poll updates 2026-07-11 18:42:50 -05:00
7w1 db08d7d4e9 fix rooms with empty localparts 2026-07-11 18:21:10 -05:00
7w1 799f939cfa smarter memoization for timeline
i hope this doesn't break anything
i fear it might
2026-07-11 17:53:59 -05:00
7w1 76d5d4b9cf Update device identifiers (#1060)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Updates the other two identifiers, since after checking the spec three
of them changed, not just the device delete

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-11 17:02:59 -05:00
7w1 b0cea2eb36 update device identifiers 2026-07-11 16:54:32 -05:00
7w1 417dd89450 Workflow for dev instance (#1059)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Should set up a dev instance on dev.sable.moe

please work please work please work please work

#### 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-11 16:47:02 -05:00
7w1 914f5a632d formatting 2026-07-11 16:43:16 -05:00
7w1 4a06202262 dev workflow 2026-07-11 16:40:44 -05:00
7w1 445e90d153 Fix timeline items being rerendered constantly (#1055)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

So as Niki pointed out while working on galleries (i think?) timeline
items rerender a lot. I never noticed, but uh, turns out this might
matter for weaker devices, and comparing them side by side I do actually
notice now.

We we're memoizing the components *within* timeline items, but the
timeline items themselves we're being called every single scroll tick,
which reduced the efficiency of that inner memoization quite a bit.

#### Type of change

- [x] 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-11 15:59:02 -05:00
sable-actions[bot] d57d7881c4 chore(nix): auto-fix nix hashes 2026-07-11 20:39:40 +00:00
7w1 dc150da77f Bump matrix js sdk version (#1054)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Seems to work fine, used a few comments to disable anys that should
probably not be anys but im lazy atm

#### 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).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-11 15:37:41 -05:00
7w1 47186d8b64 fix timeline items being rerendered constantly 2026-07-11 00:34:02 -05:00
7w1 fa0cc492df bump matrix js sdk version 2026-07-10 15:26:11 -05:00