Commit Graph
6704 Commits
Author SHA1 Message Date
7w1 dec67440ea Fix encrypted thread messages not appearing (#975)
<!-- 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. -->

Thread relation data isn't available until the message is decrypted, but
nothing was listening for decryption to update threads. Now it does.

#### 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-21 17:35:26 -05:00
7w1 603b11288f Fix encrypted thread messages not appearing 2026-06-21 17:30:33 -05:00
7w1 6060e050dd Fix timeline sorting changing when show hidden events is enabled (#974)
<!-- 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. -->

The reaction and edit events are grabbed from the parent message because
sdk something or other (or idk what im doing, probably also true), so
they have to be sorted, but I inadvertently sorted the whole timeline
instead of just those events. This fixes that.

#### 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-21 17:12:58 -05:00
7w1 2b4db1be41 typecheck 2026-06-21 17:10:16 -05:00
7w1 4ba6bbabe8 Fix timeline sorting changing when show hidden events is enabled 2026-06-21 16:54:54 -05:00
7w1 f1fa6e63b5 Update release workflow to exclude contributors who only modify changesets (#973)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

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

Updates the workflow to exclude contributors that only modify changeset
files on a PR

#### 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-21 16:20:52 -05:00
7w1 74b32a091d Update enrich-changelog.mjs 2026-06-21 16:15:38 -05:00
7w1 71a184ddcd Fix right aligned bubbles message header order (#967)
<!-- 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. -->

This PR fixes the order of username, pronoun, power icon and timestamp
in right aligned bubbles message layout, making the username appear next
to the user's avatar

(previously)
<img width="323" height="82" alt="image"
src="https://github.com/user-attachments/assets/01a6fb6e-e014-4dfe-8921-a8231bc764df"
/>
(now)
<img width="302" height="69" alt="image"
src="https://github.com/user-attachments/assets/31fcaa6a-cdca-49a2-be3d-780fc3e28d16"
/>

#### Changes

Set direction to RowReverse for user's own messages when useRightBubble
is true in Box elements in the message header row

#### 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-21 21:10:25 +00:00
7w1 254ff8e423 Fix poll sometimes crashing (#969)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This PR attemps to fix the 968 reported issue

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

Fixes #968

#### 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 with the assistance of running out of caffeinated products
2026-06-21 21:09:54 +00:00
Shea 065a7e1db5 fix ghost pfps
Signed-off-by: Shea <[email protected]>
2026-06-21 20:56:55 +03:00
7w1 a37865653d Fix sticker pin crash (#972)
<!-- 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. -->

Cherry picked from #970 

#### 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-21 12:32:31 -05:00
7w1 2e6838a8f7 fix room pins crash 2026-06-21 12:23:50 -05:00
7w1 63de084a88 changeset 2026-06-21 12:21:55 -05:00
7w1 bd9ce9cb9f Fix cat status not being displayed on its own (#971)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fixes cat status not being displayed without either pronouns or timezone
being 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:

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

No Ai was used. Instead I have used roughly 1.2 kilojoules of energy to
generate this PR with natural stupidity.
2026-06-21 16:31:50 +00:00
7w1 8844093fa6 Update default version for cat status changeset
Change default version from minor to patch for cat status fix.
2026-06-21 11:28:27 -05:00
niki 67057bcfe6 Add changeset 2026-06-21 17:34:28 +03:00
niki acaab4dc9f Fix cat status not being displayed on its own 2026-06-21 16:32:14 +03:00
Shea d655eb28cc fix mobile look of it
Signed-off-by: Shea <[email protected]>
2026-06-21 11:31:39 +03:00
Shea f2bf9619f1 fix sable crashing for specific polls maybe
Signed-off-by: Shea <[email protected]>
2026-06-21 10:50:49 +03:00
Shea b06f55fffd 'fix' resizing
Signed-off-by: Shea <[email protected]>
2026-06-21 10:25:23 +03:00
Shea 856cbb7ef7 merge upsream
Signed-off-by: Shea <[email protected]>
2026-06-21 07:44:15 +03:00
Shea 584fea9167 basic working view of even fancier look
Signed-off-by: Shea <[email protected]>
2026-06-21 07:39:55 +03:00
EphemeralFog c99d0f9f35 chore: add changeset for message header element order fix 2026-06-21 00:08:04 +03:30
EphemeralFog 3829a3e6a6 fix: reverse message header element order for right-aligned bubble messages 2026-06-21 00:06:59 +03:30
Shea a1edee40ce remove reply swipe from example
Signed-off-by: Shea <[email protected]>
2026-06-20 04:29:52 +03:00
sable-actions[bot] 2cbd5cf924 chore(nix): auto-fix nix hashes 2026-06-19 22:21:15 +00:00
7w1 2cd26203a3 update twemoji-font package (#964)
<!-- 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. -->

Update to latest sable twemoji-font package to fix some missing emoji.

#### 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-19 17:19:20 -05:00
7w1 e6f5f64311 update twemoji-font package 2026-06-19 17:15:03 -05:00
sable-actions[bot] 15e266f095 chore(nix): auto-fix nix hashes 2026-06-19 18:47:13 +00:00
7w1 d81368793e refactor: emoji detection in text (#961)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

cherry pick from https://github.com/SableClient/Sable/pull/607

which I didn't totally forgot to add to
https://github.com/SableClient/Sable/pull/950 🥴

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

tl;dr instead shipping a massive unicode regex, we can rely on grapheme
regex's provided by unicode standard which is in all browsers. If you
wanna read on it, just look up the reg vars here:
https://www.unicode.org/reports/tr51/
It's deliberately more loose to be able to handle new emojis without
problem.

The rest of it is dealing with multi character emojis and displaying it
properly, which I used `Intl.Segmenter` to do that.

So instead of seeing this:

<img width="246" height="153" alt="image"
src="https://github.com/user-attachments/assets/8512485e-f445-421f-a0e4-1e12e194a98a"
/>

You would see this instead:

<img width="177" height="161" alt="image"
src="https://github.com/user-attachments/assets/410a1abc-37d1-40f3-aa6d-e6c5115571fa"
/>
2026-06-19 18:42:57 +00:00
Shea 2508a73e2b forgot to wrap it
Signed-off-by: Shea <[email protected]>
2026-06-19 21:42:39 +03:00
Shea 3c007260f7 prevent ouside clicks to not misclick sth while closing the menu
Signed-off-by: Shea <[email protected]>
2026-06-19 21:30:46 +03:00
Shea a3a85af353 emojiboard styling fixes, unified event containers into messageInternal
Signed-off-by: Shea <[email protected]>
2026-06-19 20:42:32 +03:00
Shea ac630a5ecb Merge remote-tracking branch 'origin/dev' into feat-better-mobile-context-menu
merge upsream again
2026-06-18 17:42:35 +03:00
Shea 9108f7fa30 add wrapping the message to ensure it gets sent to the modal properly
Signed-off-by: Shea <[email protected]>
2026-06-18 17:20:16 +03:00
Shea 40ed6bc041 add more mobile styling with shadows, fix more stuff about the separation
Signed-off-by: Shea <[email protected]>
2026-06-18 07:13:19 +03:00
hazre b59c927b24 refactor: emoji detection in text 2026-06-18 03:56:53 +02:00
7w1 3d719bdbf2 chore: prepare release 1.18.3 (#958)
> [!IMPORTANT]
> Merging this PR will create a new release.

## Fixes

* Fixed broken Twemoji rendering and updated emoji picker, autocomplete,
and jumbo detection for new emojis.
([#957](<https://github.com/SableClient/Sable/pull/957>) by @7w1)
* Updated various dependencies.
([#957](<https://github.com/SableClient/Sable/pull/957>) by @7w1)
v1.18.3
2026-06-17 22:33:37 +00:00
github-actions[bot] 53ffdb2d25 chore: prepare release 1.18.3 2026-06-17 22:11:08 +00:00
sable-actions[bot] 68c6457cba chore(nix): auto-fix nix hashes 2026-06-17 22:10:39 +00:00
7w1 8ad92956be Update twemoji package, emoji lists, and dependency updates (#957)
<!-- 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, for details on emoji changes check the sable twemoji repo.
Also updated various dependencies that have new minor versions, tried to
avoid anything that could be breaking so should be pretty safe.
Also also, updates build target to ES2022. So. Uh. Hopefully no one is
still using tech that doesn't support that? Prior to this change Vite by
default aimed to support ES2020, but safari 14 has some problems that
prevented compiling so I bumped it.

#### 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-17 17:08:36 -05:00
7w1 e1f940e67a fix failing build 2026-06-17 16:53:45 -05:00
7w1 788df9a75f update some dependencies and add new arborium theme 2026-06-17 16:42:54 -05:00
7w1 e76c33c0e1 update twemoji package and emoji lists 2026-06-17 16:24:08 -05:00
Shea df16944ea9 Merge remote-tracking branch 'origin/dev' into feat-better-mobile-context-menu
Merge upsream
2026-06-17 20:25:14 +03:00
Shea 0f0fd9e21c separate quickmenu
Signed-off-by: Shea <[email protected]>
2026-06-17 20:24:33 +03:00
7w1 3ac83ac4a1 chore: prepare release 1.18.2 (#945)
> [!IMPORTANT]
> Merging this PR will create a new release.

## Fixes

* Adding servers in the explore tab now persist in account data and are
actually added to the list.
([#953](<https://github.com/SableClient/Sable/pull/953>) by @7w1)
* Added a button to leave all rooms/subspaces within a space in the
leave space confirmation dialog. Also has text to show number of
children. ([#953](<https://github.com/SableClient/Sable/pull/953>) by
@7w1)
* Added a setting to play notification sounds when tab is in background,
enabled by default.
([#953](<https://github.com/SableClient/Sable/pull/953>) by @7w1)
* Centered the notification bell icon in the room list.
([#954](<https://github.com/SableClient/Sable/pull/954>) by @7w1)
* Fixed edit diffs not properly scaling with zoom.
([#951](<https://github.com/SableClient/Sable/pull/951>) by @7w1)
* Fixed icons not scaling with zoom.
([#951](<https://github.com/SableClient/Sable/pull/951>) by @7w1)
* Fixed invalid language tag when no locale set for some systems.
([#953](<https://github.com/SableClient/Sable/pull/953>) by @7w1)
* Fixed replying to reaction/edit events not replying.
([#942](<https://github.com/SableClient/Sable/pull/942>) by @7w1)
* Fix sending thread messages sometimes sending in the general timeline
([#944](<https://github.com/SableClient/Sable/pull/944>) by @nushea)

### Updates Twemoji to from v15 to v17 🫪
([#950](<https://github.com/SableClient/Sable/pull/950>) by @7w1,
@hazre)

You can check here for emoji changes:

- https://www.unicode.org/emoji/charts-16.0/emoji-released.html
- https://www.unicode.org/emoji/charts-17.0/emoji-released.html
v1.18.2
2026-06-17 04:41:29 +00:00
github-actions[bot] 7c859488cc chore: prepare release 1.18.2 2026-06-17 04:38:48 +00:00
7w1 5203553def Fix: center notification indicator (#954)
<!-- 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. -->

Centers notif indicator

#### 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-16 23:38:25 -05:00
7w1 a78d2de8e2 center notification indicator 2026-06-16 23:35:51 -05:00