Commit Graph
4918 Commits
Author SHA1 Message Date
7w1 96226ffdb6 feat(sticker): add a direct link to room/space settings when sticker list is empty (#1016)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

hey! i was helping onboard some friends and sable is really cool. i
wanted to add a bit of an easier way to get into the sticker page, so i
added quick links to them in the room & space bits of text:
<img width="428" height="525" alt="Screenshot_2026-06-30_18-41-32"
src="https://github.com/user-attachments/assets/57bb6273-9681-4d0c-960a-1beb07e62e6d"
/>

there doesn't seem to be an existing style to piggy-back off for the
links, so i put something quick together. happy to change to whatever
works best, the contrast is probably a bit low in the default dark
theme?

#### 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. -->
2026-07-02 17:01:57 +00:00
7w1 056dbed66b change link color 2026-07-02 11:59:15 -05:00
7w1 72509ce0ed initial bookmarks implementation (#1000)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adds support for bookmarks taken from https://github.com/smokku/cinny/
adding event rendering (copied from pin menu, will need to abstract it
somewhere, seems to be duplicated in a lot of code like notifications,
etc).

**May be a good idea to use a virtualiser and fetch events only when
they are visible, as with a lot of bookmarks it will fetch all of them**

THIS IS A CLONE PR OF #985 after i mistyped sth while committing 😭

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

Written with the assistance of brain-4.5-nonthinking
2026-07-02 03:25:36 +00:00
sable-actions[bot] dbd0968230 chore(nix): auto-fix nix hashes 2026-07-02 03:13:56 +00:00
7w1 8f8d9f8c07 Update call implementation and custom ringtones (#841)
<!-- 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. -->

Attempts to match spec notification/call end/join behaviors a little
better.
Adds an option for custom ringtones and ringbacks.
Adds permissions for calls.
Makes it so when you leave calls they don't instantly end
Makes it so calls are properly declined
Makes it so when a call is declined you don't automatically hang up
Includes updated sablecall
Removes the call controls from the call view and instead injects styles
to modify the widget appearance. For whatever reason font isn't working
quite yet, although it works locally :/
Adds some tests for things.
Fixes #857 
Fixes #855
Fixes #691
Might address #898, #908 (needs testing)

Still todo:
- ~~update changesets again~~
- ~~figure out how to style the call room backgrounds properly~~
- ~~inject twemoji font (or put in sable call?)~~
- ~~add phosphor icons to sable call?~~
- ~~add deafen button to sable call~~
- ~~fix odd ringtone looping behavior~~ hopefully fixed?
- ~~more testing~~ merge now, fix later?
- ~~Some file cleanup of some no longer necessary stuff due to removing
the call ui overlay thing~~
- ~~Fix some scaling related things~~

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

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

Tests were AI generated and AI was used to compare some other call
implementations and ensure spec and standard compliance and to figure
out how to inject the sable theme into all the widget elements.
2026-07-01 22:11:54 -05:00
7w1 ad66511429 remove unnecessary sentry logging 2026-07-01 22:08:30 -05:00
7w1 efeca7ff7a make close ignore rather than decline 2026-07-01 21:59:18 -05:00
7w1 f596104580 Fix gradient theme base issues (#1007)
<!-- 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. -->

Quite some of the fixes are bodges to the fold library since we do not
host a modified folds library

<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/1afd248a-b655-4c0d-94a1-8a9cb7a10ea1"
/>

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 w the weariness of dying of a heatstroke at 38C wo an AC :<
2026-07-02 02:37:36 +00:00
7w1 ef722ab259 Potential fix for outdated firefox and some safari browsers not being able to send messages (#1010)
<!-- 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. -->

Swaps a foreach to a for loop and some general hardening in the input
box related things.
No clue if this will work
fixes #1008 and fixes #557 

#### 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-01 21:36:42 -05:00
7w1 57a9a93a00 changeset 2026-07-01 21:34:30 -05:00
7w1 cee4b50257 lint 2026-06-30 21:54:49 -05:00
7w1 2d8727c7c9 fix no pip when calling 2026-06-30 20:35:19 -05:00
7w1 3db57f1ba1 changesets and formatting 2026-06-30 19:58:48 -05:00
7w1 a1c6dd550b bump sable call and fix ring bug 2026-06-30 19:49:28 -05:00
7w1 2cf0acc659 fix scaling behaviors 2026-06-30 19:37:43 -05:00
7w1 03c0d08fc9 mute controls 2026-06-30 19:11:16 -05:00
7w1 d79273f9d3 Fix voice room background 2026-06-30 16:41:51 -05:00
7w1 9ddb3bbc37 fix button styles and settings menu 2026-06-30 16:29:11 -05:00
7w1 35461f5107 potentially fix font injection into widget 2026-06-30 16:03:00 -05:00
7w1 f012f4326b refactor ringtones and cleanup call controls 2026-06-30 15:48:13 -05:00
ellieplayswow a242f55949 format for real this time 2026-06-30 18:59:25 +01:00
7w1 4ba206bafd Gif reverse favorites (#1014)
<!-- 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-06-30 17:55:58 +00:00
ellieplayswow 6e485d8d2b format 2026-06-30 18:44:41 +01:00
ellieplayswow 9c93c151cc feat(sticker): add a direct link to room/space settings when sticker list is empty 2026-06-30 18:39:34 +01:00
Shea 2fdaec66d6 reversed
Signed-off-by: Shea <[email protected]>
2026-06-30 10:56:56 +03:00
7w1 4d6137b0d2 Swap to stable recent emojis key (#1009)
<!-- 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. -->

Swaps to the stable recent emojis identifier since it was added to spec
in 1.18, and has a bit of migration logic to convert the legacy one to
the stable one if its not present.

#### 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-06-29 14:22:05 -05:00
7w1 07d487d36d Redesign the user menu tab (#990)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Redesigns the user tab to allow switching presence status. Shows full
user profile.

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

Written with the assistance of a magic 8 ball
2026-06-29 19:09:38 +00:00
Shea a8f41d7476 merge
Signed-off-by: Shea <[email protected]>
2026-06-29 19:19:51 +03:00
Shea a0acdfaf71 merge upstream
Signed-off-by: Shea <[email protected]>
2026-06-29 19:18:20 +03:00
niki 8fc750447a Remove account switcher tab 2026-06-29 18:44:26 +03:00
niki fc5252fa16 Fix dividers & change color to placeholder 2026-06-29 18:44:26 +03:00
Shea 599b9b9ebd remove automatic status mode
Signed-off-by: Shea <[email protected]>
2026-06-29 18:44:26 +03:00
niki 1f979cdd1f Add changeset
Signed-off-by: niki <[email protected]>
2026-06-29 18:44:26 +03:00
niki 5b46bd17f3 Redesign the user menu tab 2026-06-29 18:44:26 +03:00
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