Commit Graph
6704 Commits
Author SHA1 Message Date
7w1 4c1c5221eb Add gif functionality using klipy (#970)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Based on work in #677.

Gif search functionality using klipy. Set your api token in config.json,
also requires a mxc proxy. Favoriting gifs works by using account data.

Fixes #60

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

I did not use AI for my changes. To quote the original PR:
> The changes to renderItem() to support GIFs were AI generated. It
returns GIF Items and ensures they are scaled properly.

Those seem sane.
2026-06-29 15:41:07 +00:00
niki 1fd77de4da Add gif picker settings ID to settingsLink 2026-06-29 18:39:05 +03:00
niki d086ffa56a Add a toggle for disabling the gif picker 2026-06-29 18:34:01 +03:00
7w1 2f9be8c82f remove some unnecessary data from account data 2026-06-29 17:50:42 +03:00
7w1 5117d56f28 formatting 2026-06-29 17:50:42 +03:00
7w1 53ef9d69f5 consolidate gif handling, support spoilers, add missing metadata and sable api key 2026-06-29 17:50:42 +03:00
niki 9dd1d0df22 Address lints 2026-06-29 17:50:42 +03:00
niki ab23f571e6 Add gif functionality using klipy 2026-06-29 17:50:42 +03:00
7w1 d9097ccd40 potential fix 2026-06-28 17:15:31 -05:00
7w1 f57f6f81e5 formatting 2026-06-28 16:11:53 -05:00
7w1 b220d71a4e Create feat-stable-recent-emoji.md 2026-06-28 16:08:43 -05:00
7w1 e6091e61c8 swap to stable recent emojis + migration logic 2026-06-28 16:07:06 -05:00
Shea 39a56adfb9 fix gradient themes
Signed-off-by: Shea <[email protected]>
2026-06-28 19:10:56 +03:00
7w1 2e5fd525f1 lint 2026-06-28 00:48:57 -05:00
7w1 dbdd83e758 formatting things 2026-06-28 00:40:35 -05:00
7w1 71b984c5e5 styles 2026-06-28 00:03:23 -05:00
7w1 3d0425d74c lint 2026-06-27 23:43:50 -05:00
7w1 2134e19109 add setting for voice room notifs 2026-06-27 23:37:33 -05:00
7w1 3a8d310e75 adjust ringtone settings a little 2026-06-27 23:32:45 -05:00
7w1 2865af25c1 themeing things 2026-06-27 22:45:33 -05:00
7w1 9333416405 consolidate permissions 2026-06-27 22:22:49 -05:00
7w1 eb1e953797 dont ring on call end 2026-06-27 22:18:27 -05:00
7w1 621f7fb564 lockfile 2026-06-27 21:59:58 -05:00
7w1 4ff4285581 bump sable call 2026-06-27 21:58:27 -05:00
7w1 11ead89354 resolve lint/typecheck/knip issues 2026-06-27 21:33:20 -05:00
7w1 15a427ab47 Forward state events to Element Call via timeline listener to fix call hang 2026-06-27 20:52:34 -05:00
Shea 38b64b3ef0 Add a context menu for copying and downloading images (#994)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adds a context menu for copying and downloading images in the
`ImageViewer`. Useful for electron/tauri users.

<img width="1036" height="1086" alt="image"
src="https://github.com/user-attachments/assets/e3b07381-c76c-4bbe-8b5c-e9492bb7d10c"
/>

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

Fueled by the rage of using sable electron.
2026-06-27 14:12:46 +00:00
Shea b5882f11a9 Add copy button (#1001)
<!-- 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 button for copying unformatted version of the text
<img width="265" height="436" alt="image"
src="https://github.com/user-attachments/assets/476efe2e-ce6d-44ac-af57-539b0f236fef"
/>

Fixes #

#### 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).
- [ ] 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 half asleep
2026-06-27 14:11:22 +00:00
Shea 1499b5dd6a Fix mentions not sending in non-textual replies (#1004)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Fixes mentions not sending in non-textual replies, idk what else there
is to say about this

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

Fixes #999

#### 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 having forgotten to write this part a few
months ago
2026-06-27 07:16:28 +00:00
7w1 7c931bfa87 Fix add account when using hash router (#993)
<!-- 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 #556 and also fixes the cancel button in the login page having the
exact same behavior as the add account

#### 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-06-27 06:11:50 +00:00
7w1 26cd65c3df Fix call embed button border overlay, reaction menu fonts, and slider UI 2026-06-27 00:19:39 -05:00
7w1 cc49bebdc4 remove call controls and inject stylesheet into sable call 2026-06-26 22:29:23 -05:00
Shea 10114668d8 fix mentions in non-text replies
Signed-off-by: Shea <[email protected]>
2026-06-27 03:58:37 +03:00
7w1 0359b167cd fix tests 2026-06-26 19:45:00 -05:00
7w1 8608364bd8 Merge branch 'dev' of https://github.com/SableClient/Sable into refactor-calls
# Conflicts:
#	src/app/components/IncomingCallModal.tsx
#	src/app/features/room/RoomCallButton.tsx
#	src/app/state/settings.defaults.test.ts
2026-06-26 19:28:01 -05:00
7w1 5a726753ca use classic sync for presence 2026-06-26 13:29:11 -05:00
Shea b391327e1e add copy button
Signed-off-by: Shea <[email protected]>
2026-06-26 13:38:33 +03:00
Shea bf7ba0a2e6 merge dev and add icon matching
Signed-off-by: Shea <[email protected]>
2026-06-26 09:17:07 +03:00
7w1 be9a7c70d2 fix: harden media sanitization 2026-06-26 00:33:06 -05:00
Shea 262cd12c8a Fix weird redaction bug (#995)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Redacted polls could crash your sable sometimes under specific
conditions until now huh, freaky

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. -->
Ive super commented all of the particularly hard-to-understand code
2026-06-26 01:15:04 +00:00
Shea 0ece14054f fix-weird-bug
Signed-off-by: Shea <[email protected]>
2026-06-26 02:24:03 +03:00
7w1 8b8833cd9f fix thread patch 2026-06-25 16:11:44 -05:00
7w1 752e23eeb7 initial cleanup 2026-06-25 15:56:01 -05:00
Shea c5e59346f4 add wider support
Signed-off-by: Shea <[email protected]>
2026-06-25 22:49:36 +03:00
niki f68b200e85 Add a context menu for copying and downloading images 2026-06-25 12:18:03 +03:00
EphemeralFog b26704da96 chore: add changeset 2026-06-25 11:16:03 +03:30
EphemeralFog 36a0f9cc1a fix: cancel button in the auth page not working when hash router is enabled 2026-06-25 11:15:51 +03:30
EphemeralFog a748d190c4 fix: add account not working if hashRouter is enabled 2026-06-25 11:15:41 +03:30
7w1 28344f86ba Fix preserve add account param (#992)
<!-- 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 the register link in the login page going back to the client if
the user is trying to add a new account by adding the `addAccount=1`
query param in the register page url

#### 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-06-25 02:35:06 +00:00
Shea 71e27f6832 Fix Sign out modal (#991)
<!-- 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 abandon screen from looking outsized

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. -->
Written with the assistance of the headphones im wearing even though im
literally not listening to anything
2026-06-25 01:05:58 +00:00