Commit Graph
6704 Commits
Author SHA1 Message Date
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
Erwan Leboucher 7664a94d79 fix(sync): recover faster from network switches and flaky connections 2026-07-26 22:49:45 +02: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
7w1 5d13c6d144 fix: ensure images without specified emoticon data don't grow (#1398)
<!-- 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. -->

title

#### 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 15:12:55 -05:00
7w1 d4b4929c21 fix: ensure images without specified emoticon don't grow 2026-07-26 15:10:36 -05:00
7w1 e3e1d57a08 okay this should workkk (#1396)
<!-- 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-26 14:53:07 -05:00
7w1 a4c106b2b1 okay this should workkk 2026-07-26 14:51:16 -05:00
7w1 a815c98b3a please be fixed thanks (#1394)
<!-- 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-26 14:36:14 -05:00
7w1 f6accfa3f2 please be fixed thanks 2026-07-26 14:34:17 -05:00
7w1 db57ad613d work plz (#1393)
<!-- 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-26 14:29:43 -05:00
7w1 afeeff18a7 work plz 2026-07-26 14:27:25 -05:00
7w1 cd9191f6ba fix workflow things (#1391)
<!-- 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-26 14:22:37 -05:00
7w1 75dba2d7ed fix workflow things 2026-07-26 14:20:40 -05:00
7w1 b6410dfae9 feat: unify build metadata and update deviceDisplayName for Tauri builds (#1268)
<!-- VISUALJJ_STACK_V1 START -->
<!-- VISUALJJ_STACK_V1 END -->

### Description

- Added 2 build time environment variables `SABLE_PRODUCT_NAME` and
`SABLE_BUILD_FLAVOR` which basically replace all hard coded and
duplicated references to "sable" and nightly/dev checks.
- Sable client can be renamed now in `config.json` with `productName`.
- Updated deviceDisplayName for Devices Tab in settings to handle Tauri
desktop and mobile builds better. New format is
`Sable [FormFactor] [Variant] on [Browser] for [OS]` and `Sable
[FormFactor] [Variant] on [OS]`.
- Combined `cloudflare-web-deploy.yml` and `cloudflare-web-dev.yml` into
a single `cloudflare-web.yml` workflow using GitHub environments.

Some changes are required on the Github repo, which is to migrate
(probably should keep old ones until this is merged) these secrets below
to environments now:

https://github.com/SableClient/Sable/settings/environments

```
TF_HTTP_ADDRESS
TF_HTTP_LOCK_ADDRESS
TF_HTTP_UNLOCK_ADDRESS
VITE_SENTRY_DSN
SENTRY_AUTH_TOKEN
SENTRY_ORG
SENTRY_PROJECT
```

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

- [ ] 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).
2026-07-26 19:07:20 +00:00
Erwan Leboucher 5b4e3228c7 fix(notifications): attach routing payload to desktop background notifications 2026-07-26 21:01:52 +02:00
Erwan Leboucher a6e0b9ed15 fix(timeline): clear at-bottom on jump so the view lands on the message 2026-07-26 21:01:52 +02:00
Erwan Leboucher 798741efe0 fix(notifications): route Android notification taps through the click listener 2026-07-26 21:01:51 +02:00
7w1 26cda1b135 formatting 2026-07-26 13:53:52 -05:00
Erwan Leboucher dfdcf33016 fix(timeline): keep following the bottom when rows grow after rendering 2026-07-26 20:52:51 +02:00
Erwan Leboucher 40b76348d9 feat(desktop): source window focus from the OS instead of DOM focus events 2026-07-26 20:52:51 +02:00
Erwan Leboucher 053cbff5c7 fix(notifications): gate notification sound on window focus, not tab visibility 2026-07-26 20:52:50 +02:00
Erwan Leboucher 29dfe2fa3d fix(timeline): recompute at-bottom on resize so auto-follow keeps working 2026-07-26 20:52:50 +02:00
Erwan Leboucher a5a8aec179 fix(timeline): stop loading a room's whole history on open 2026-07-26 20:52:50 +02:00
7w1 58f8fad580 fix: platform bindings after rebase 2026-07-26 13:51:45 -05:00
hazre 8271b82a65 fix(ci): set working-directory and backend env vars for tofu plan/apply
Signed-off-by: hazre <[email protected]>
2026-07-26 13:33:40 -05:00
hazre 45c359dea6 refactor(ci): unify cloudflare infra workflows and remove is_release_tag
Signed-off-by: hazre <[email protected]>

fix: resolve rebase merge conflicts

Signed-off-by: hazre <[email protected]>
2026-07-26 13:33:40 -05:00
hazre 0e72405875 feat: unify product name and build flavor across builds
Signed-off-by: hazre <[email protected]>
2026-07-26 13:32:41 -05:00
7w1 4815ba65e2 Delete CODEOWNERS (#1387)
<!-- 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-26 18:23:30 +00:00
7w1 21b0a08133 Delete CODEOWNERS 2026-07-26 13:13:53 -05:00
7w1 867acac8ce fix(e2e): give sliding-sync recovery-key reveal its full 180s budget (#1384)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

fix flaky e2e

#### 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 in this PR
does in moderate detail).
2026-07-26 13:00:14 -05:00
7w1 c9652725f7 Add support for displaying gzipped lottie (e.g. tgs) (#1104)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Hi,
This PR adds support for displaying gzipped Lottie files, such as `.tgs`
(Telegram sticker) files.

Demo video:
<img width="640" height="694" alt="demo"
src="https://github.com/user-attachments/assets/0941b014-8031-4a78-85ff-c62c90afb877"
/>


## How it works

Gzipped files begin with a fixed byte sequence (`1f 8b`), which
distinguishes them from standard image formats (PNG, WebP, JPG). The
implementation detects this signature in the file header and
automatically decompresses gzipped content before parsing it as Lottie
JSON. If parsing succeeds, the decompressed animation is passed to the
Lottie player.

To test this feature, download and unzip
[AnimatedSticker.tgs.zip](https://github.com/user-attachments/files/30024283/AnimatedSticker.tgs.zip),
then send it as `m.image` or `m.sticker`.

## What I have tested
- [x] Works as `m.image`, `m.sticker`, and inline emoji on Chrome
- [x] Works as `m.image` and `m.sticker` on Safari
- [x] Functions correctly in sticker and emoji picker on both browsers

## Next steps
- [ ] Fix inline Lottie emoji width on Safari
- [ ] Respect `autoplayStickers` setting when rendering stickers (set
`autoplay={false}` in DotLottieReact)
- [ ] Respect `autoplayEmojis` setting when rendering emojis (set
`autoplay={false}` in DotLottieReact)

---

#### 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
- [ ] 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. -->
2026-07-26 12:59:26 -05:00
7w1 b78906a0a8 fix(mobile): stop swipe handlers swallowing taps in bottom sheets (#1383)
<!-- 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 with settings

#### 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-26 12:43:39 -05:00
7w1 2a372dfc25 lint 2026-07-26 12:27:43 -05:00
7w1 380ade185b simplify some things 2026-07-26 12:14:39 -05:00
7w1 8a1589c0cf perf: cache lottie info 2026-07-26 11:52:48 -05:00