Commit Graph
5982 Commits
Author SHA1 Message Date
7w1 4c8f39bada fix(timeline): pin to the true bottom, size images to their frame, and rebuild rows on mid-timeline inserts (#1426)
<!-- 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 #

#### 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. -->
2026-07-27 19:29:33 +00:00
Erwan Leboucher d55197ebd9 fix(timeline): pin to the true bottom, size images to their frame, and rebuild rows on mid-timeline inserts
# Conflicts:
#	src/app/features/room/RoomTimeline.tsx
2026-07-27 21:24:33 +02:00
7w1 707c94635a fix(media): serve media in full instead of honoring Range requests (#1427)
<!-- 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 android video

#### 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. -->
2026-07-27 19:19:06 +00:00
Erwan Leboucher 58206b983f fix(media): serve media in full instead of honoring Range requests 2026-07-27 21:14:58 +02:00
7w1 327a791529 fix navigation when taping a notification (#1390)
<!-- 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 #

#### 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-27 18:49:11 +00:00
7w1 96a42c17e7 fix: show setting selects as dialogs on mobile and keep long-pressed sheets open (#1382)
<!-- 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 #

#### 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. -->
2026-07-27 18:45:51 +00:00
7w1 fd1721cd13 fix: restore poll rendering (#1425)
<!-- 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 #

#### 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-27 18:15:55 +00:00
Erwan Leboucher cb79b28b42 fix: restore poll rendering 2026-07-27 20:01:21 +02:00
7w1 056bc81566 Add loading feedback in Persona settings menu (#1369)
<!-- 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. -->

Adds loading feedback for adding a persona, deleting, saving.

Fixes #1276; Part of #1279

#### 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-27 17:22:38 +00:00
Josie 52f33e0fb9 Add loading feedback in Persona settings menu 2026-07-27 12:15:22 -05:00
7w1 02cb457c1c Persona picker style tweaks (#1368)
<!-- 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. -->

- Persona picker now becomes a full-width `Overlay` on touch devices
- Tab buttons set `cursor: pointer`
- Popout is left-aligned to `RoomInput`, mirroring `EmojiBoard`

Part of #1279

#### 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-27 17:04:33 +00:00
Josie 89effb2509 Persona picker style tweaks 2026-07-27 12:01:19 -05:00
7w1 0fa94c8442 Add PMP shorthand editing in Settings (#1352)
<!-- 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. -->

- Add PMP shorthand editing in Settings
- Migrate from storing shorthands as regex in account data to `{
prefix?, suffix? }`.

<img width="1394" height="520" alt="image"
src="https://github.com/user-attachments/assets/3137f1ac-10d1-4510-b88f-dcdc52866fc7"
/>

Part of #1279

#### Type of change

> [!NOTE]
> This PR is a breaking change on an experimental feature, so I have
considered it 'minor' instead of 'major'. Migrations have also been made
so users should not expect issues.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] 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. -->
2026-07-27 16:49:45 +00:00
7w1 705ba8ea55 fix: keep shorthand row keys stable 2026-07-27 11:44:14 -05:00
Josie c03f9e92dc persona shorthands in settings 2026-07-27 11:36:38 -05:00
Josie b816d08232 Switch proxy tags being stored as regex to prefix/suffix 2026-07-27 11:35:52 -05:00
7w1 45db505c04 fix(crypto): allow restoring key backup after the crypto store is wiped (#1379)
<!-- 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 #

#### 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-27 16:06:13 +00:00
7w1 677717b437 fix: stop click handlers firing after long-press and drag-select (#1386)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Long-press on a room/space nav item opened the context menu, but the
synthetic click that followed navigated and immediately dismissed it.
Guard the click path with menu.consumeLongPressFired() (RoomNavItem,
SpaceTabs).

Drag-selecting across an abbreviation or mention link fired click on
mouseup, toggling the tooltip or navigating away and killing the
selection. Guard those handlers with a collapsed-selection check
(AbbreviationTerm, useMentionClickHandler) and make abbreviation text
selectable on desktop only (mobile keeps userSelect:none so the
long-press context menu isn't hijacked by the native callout).

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-27 15:56:50 +00:00
7w1 7e8252c570 fix(mobile): fill screen for room and space settings dialog (#1413)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

fix broken fullscreen stuff

|  before  | after  |
|---|---|
| <img width="772" height="949" alt="image(3)"
src="https://github.com/user-attachments/assets/38762e69-9a78-4bd2-9501-cc1dd7a8765c"
/> | <img width="655" height="958" alt="image"
src="https://github.com/user-attachments/assets/c6f58499-83ed-40ff-8003-2899b4bcd695"
/> |

#### 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
- [ ] 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-27 15:42:29 +00:00
7w1 787c77ff27 fix(call): move resize handle below seam to stop footer flicker (#1418)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

autohide and get back correctly
Fixes #1397

#### 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. -->
2026-07-27 15:41:39 +00:00
7w1 e7e7d38a68 fix: retry media after token refresh (#1419)
<!-- 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. -->

Fix issue when we load a fresh page and sometime there is no media or
anything with oidc

#### 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. -->
2026-07-27 15:37:35 +00:00
Erwan Leboucher 35e4cfdfa4 fix: retry media after token refresh 2026-07-27 16:18:32 +02:00
Erwan Leboucher ca75167dcc fix(call): move resize handle below seam to stop footer flicker 2026-07-27 13:48:44 +02:00
Erwan Leboucher da1f50bf39 fix(mobile): fill screen for room and space settings dialog 2026-07-27 11:57:24 +02:00
haz 35694effdd fix(ios): make AltStore/SideStore register nightly updates (#1407)
Nightly build version was minute-resolution, so same-minute commits or
identical rebuilds produced the same CFBundleVersion. AltStore and
SideStore detect updates by exact string-equality on CFBundleVersion, so
a collision meant no update was shown. Bump to second resolution.

Add the top-level identifier SideStore requires to link the source to
installed apps; AltStore ignores it.

<!-- 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 #

#### 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
- [ ] 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-27 08:29:05 +00:00
Erwan Leboucher 6c92708b87 fix(ios): make AltStore/SideStore register nightly updates
Nightly build version was minute-resolution, so same-minute commits
or identical rebuilds produced the same CFBundleVersion. AltStore and
SideStore detect updates by exact string-equality on CFBundleVersion,
so a collision meant no update was shown. Bump to second resolution.

Add the top-level identifier SideStore requires to link the source to
installed apps; AltStore ignores it.
2026-07-27 08:48:13 +02:00
Erwan Leboucher 249977a8a0 fix: stop click handlers firing after long-press and drag-select
Long-press on a room/space nav item opened the context menu, but the
synthetic click that followed navigated and immediately dismissed it.
Guard the click path with menu.consumeLongPressFired() (RoomNavItem,
SpaceTabs).

Drag-selecting across an abbreviation or mention link fired click on
mouseup, toggling the tooltip or navigating away and killing the
selection. Guard those handlers with a collapsed-selection check
(AbbreviationTerm, useMentionClickHandler) and make abbreviation text
selectable on desktop only (mobile keeps userSelect:none so the
long-press context menu isn't hijacked by the native callout).
2026-07-27 08:30:35 +02:00
Erwan Leboucher d5d7c8b290 fix(crypto): base backup recovery on a structural signal and reset restore state per account 2026-07-27 08:25:26 +02:00
Erwan Leboucher d5492982a1 fix(crypto): reset per-account crypto state when switching accounts 2026-07-27 08:25:26 +02:00
Erwan Leboucher ac09f73c02 fix(crypto): allow restoring key backup on a verified device 2026-07-27 08:25:26 +02:00
Erwan Leboucher 1ef590866d fix: show setting selects as dialogs on mobile and keep long-pressed sheets open 2026-07-27 08:21:22 +02:00
7w1 960b4d43fe More visual fixes (#1405)
<!-- 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 colors back on both mobile and pc in the Account section, makes it
so if you do have a status it doesnt look broken by having hanging
space, but for when you do not have one it centers the text so it
reduces the perceived emptiness
(old)
<img width="336" height="378" alt="image"
src="https://github.com/user-attachments/assets/e0eb3ebb-d74b-4557-92a3-033b41d54f31"
/>
<img width="348" height="443" alt="image"
src="https://github.com/user-attachments/assets/d63c9ec3-66e2-43dd-8b63-38dec7b59dac"
/>

(new)
<img width="328" height="310" alt="image"
src="https://github.com/user-attachments/assets/3391f2cd-3611-43b2-b24a-739ff3633369"
/>
<img width="343" height="417" alt="image"
src="https://github.com/user-attachments/assets/1f18c117-4617-4062-9e29-a59c2e23c157"
/>

Fixes images sent from other clients that do not have w and h
(old)
<img width="444" height="433" alt="image"
src="https://github.com/user-attachments/assets/60613021-1212-4b88-8343-6968d69fd890"
/>

(new)
<img width="420" height="234" alt="image"
src="https://github.com/user-attachments/assets/c3accc6d-d536-42f9-9027-d8487bb09cf6"
/>

And fixes the empty space in the profile themes examples
(old)
<img width="808" height="691" alt="image"
src="https://github.com/user-attachments/assets/a0baef5f-34ba-405f-9dc9-eab66a3d049b"
/>
(new)
<img width="815" height="698" alt="image"
src="https://github.com/user-attachments/assets/fcb5f296-6fe3-41dc-aae6-6dd2e6fa1a65"
/>

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
- [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

### 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 my favorite water bottle
2026-07-27 03:47:04 +00:00
Shea 7c3da11b2e more visual fixes
Signed-off-by: Shea <[email protected]>
2026-07-27 06:01:32 +03:00
7w1 efab099f7c fix(media): revoke decrypted media blob URLs that outlive their component (#1381)
…

<!-- 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. -->

test and worked well no leak

#### 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. -->
2026-07-27 02:41:58 +00:00
7w1 de744505d3 fix race conditions 2026-07-26 21:40:21 -05:00
7w1 d0cd0f9523 perf(cef): enable renderer backgrounding purge and cap Skia cache (#1401)
<!-- 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 #

#### 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-27 00:32:06 +00:00
7w1 2182c8ae96 fix: scrolling, closing, and animations in bottom sheets (#1404)
<!-- 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 scrolling not working, not playing animations on close, and the x
button not closing in mobile bottom sheets.

#### 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-26 19:28:34 -05:00
7w1 0f4df3842f formatting 2026-07-26 18:43:42 -05:00
7w1 a5ca9dfd04 fix: scrolling, closing, and animations in bottom sheets 2026-07-26 18:40:40 -05:00
7w1 863fd03cb4 fix(ci): mise opentofu task (#1403)
<!-- 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. -->

Reverts #1394 and fixes it by changing the working directory of the
opentofu mise task.

#### 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
- [x] 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).
- [x] 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-26 23:09:57 +00:00
hazre c3a4becb9e ci: remove redundant mise-action calls in favor of ./.github/actions/setup
Signed-off-by: hazre <[email protected]>
2026-07-27 01:03:49 +02:00
hazre 9c25673b93 fix(mise): run opentofu from infra/web dir
Signed-off-by: hazre <[email protected]>
2026-07-27 00:53:56 +02:00
hazre 626fc9308b revert(ci): use mise run instead of mise exec
Refs: f6accfa3
Signed-off-by: hazre <[email protected]>
2026-07-27 00:53:56 +02:00
7w1 af5af1bced fix quick switcher switching (#1402)
<!-- 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. -->

navigate away my switcher

#### 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-26 17:25:49 -05:00
7w1 7454a8682a fix quick switcher switching 2026-07-26 17:22:30 -05:00
Erwan Leboucher c075b06cb6 perf(cef): enable renderer backgrounding purge and cap Skia cache 2026-07-26 23:32:29 +02:00
7w1 f5650a3a65 Fix the timeline loading a room's entire history on open (#1373)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Opening a room paginated until it ran out of history, scrolling the view
up as it went. Worst rooms burned 8-10s of CPU per open on a Pixel 3a.

The viewport-fill effect compared `processedEvents.length` against a
value captured in the same render, so the guard was always true and the
condition reduced to `!hasRealScrollRoom || atTop`. It re-runs on every
length change, so staying near the top kept it firing. Pre-existing
since March, triggered by #1363 leaving fewer rendered events per page.

Also in here:

- `setAtBottom` was only called from the scroll handler, so a resize
(composer, keyboard) left it stale and killed auto-follow. Now
recomputed from the ResizeObserver.
- Notification sound gates on window focus instead of tab visibility. A
visible but unfocused window is now silent unless background
notification sounds is on.
- Desktop reads window focus from `onFocusChanged`, since
`focusin`/`focusout` miss app switches. Mobile and web unchanged.

Pixel 3a, release builds, CPU per room open:

| | before | after |
|---|---|---|
| Sable Announcements | 9.72s | 1.06s |
| 1 (DM) | 8.03s | 2.57s |
| 10 DMs | 31.34s | 17.19s |

Fixes #1371

#### 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. -->
2026-07-26 20:54:42 +00:00
7w1 2fa8f2b1c7 feat: add always inline editor option for multiline messages (#1218)
<!-- 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 #1181
Add an option to force the text editor to stay inline with the buttons.
See the corresponding issue.
Keep current editor style as default, as it's unique. 
This changes the alignment of the items in the text editor row to "end"
for the classic editor too. This does not change behavior.

#### 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

### 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).
<!-- 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. -->

I used Opus 4.8 for generating the settings boilerplate. I manually
reviewed and edited all generated output.
2026-07-26 15:38:02 -05:00
7w1 6be8d77330 fix unrelated test 2026-07-26 15:35:51 -05:00
lunar-seal 5d1b61e094 feat: add always inline editor option for multiline messages
# Conflicts:
#	src/app/features/settings/general/General.tsx
2026-07-26 15:28:23 -05:00