Commit Graph
4720 Commits
Author SHA1 Message Date
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
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
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
7w1 6d9f990432 A few small fixes and features (#953)
<!-- 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 #854 (untested)
Fixes #683 by adding a trash icon next to added servers to remove them
and persisting added servers in account data under
`moe.sable.added_servers` so they'll always remain.
Adds a button to leave a space's children rooms and spaces in addition
to the main space. Should respect some rate limit something or other in
the matrix js sdk.
Added a setting for notifs when tab is in background.

#### Type of change

- [x] 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:

- [ ] 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
2026-06-16 23:28:18 -05:00
7w1 440c323609 Fix edit diff and icon scaling (#951)
<!-- 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 edit diffs and icons not scaling with in-client zoom by
converting to rem.

#### 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 19:58:10 -05:00
7w1 6ba8e126c2 fix setting layout 2026-06-16 19:52:02 -05:00
7w1 cba206019a add background notif sound setting 2026-06-16 19:38:13 -05:00
7w1 85d69185eb add leave rooms and subspaces button to leave space confirmation 2026-06-16 19:30:08 -05:00
7w1 de08fc744f adjust changeset level 2026-06-16 19:08:38 -05:00
7w1 7dc688dd47 fix #683 persist added servers to account data 2026-06-16 19:02:02 -05:00
7w1 e46518f86a untested fix for #854 fallback for unset system locale 2026-06-16 18:40:11 -05:00
sable-actions[bot] 6c63cf9dcf chore(nix): auto-fix nix hashes 2026-06-16 23:16:39 +00:00
7w1 754f39c99d feat: switch to published twemoji font v17.0.2 and some package updates (#950)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

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

#### 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-06-16 23:12:41 +00:00
7w1 16fa2d34f7 fix lockfile 2026-06-16 18:09:14 -05:00
7w1 bed7024ab1 address lint rules & update package.json
via an exclusion and lots of copy paste
as part of that swapped space banner and abbr to use buttons and disabled button styles for them
2026-06-16 18:05:31 -05:00
7w1 5d4e78483f Fix replying to timeline events (#942)
<!-- 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 replying to timeline events/reactions/redactions/edits/etc

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

- [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
2026-06-16 17:35:21 -05:00
7w1 2d522361bf fix edit diff and icon scaling 2026-06-16 17:32:32 -05:00
hazre 6680ad0968 docs: add changeset 2026-06-16 22:00:44 +02:00
hazre 4092479a01 feat: switch to published twemoji font 2026-06-16 21:50:24 +02:00
7w1 44250f9205 typecheck 2026-06-15 14:52:52 -05:00
Shea baa3403eaa Fix sending thread messages sometimes sending in the general timeline (#944)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This pr streamlines the resetting of the ReplyDraft to conform with the
respective situation
<!-- 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
- [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 an itty bitty migraine :Δ
2026-06-15 16:58:08 +00:00
Shea a9b2a318c8 fix resetting replyDraft in timeline
Signed-off-by: Shea <[email protected]>
2026-06-15 18:24:50 +03:00
7w1 fa8cb07c46 changeset 2026-06-14 17:38:44 -05:00
7w1 45ca5a0f6b fix replying to timeline events 2026-06-14 17:37:43 -05:00
7w1 aa88750db7 chore: prepare release 1.18.1 (#938)
> [!IMPORTANT]
> Merging this PR will create a new release.

## Fixes

* Added some icon size settings.
([#941](<https://github.com/SableClient/Sable/pull/941>) by @7w1)
* Add 'Show Results' to show their poll's result before casting an
answer ([#939](<https://github.com/SableClient/Sable/pull/939>) by
@nushea)
* Fix edit events collapsing with normal messages.
([#941](<https://github.com/SableClient/Sable/pull/941>) by @7w1)
* Make more Icon changes
([#940](<https://github.com/SableClient/Sable/pull/940>) by @nushea)
* Fix missing the mark icon on Map, and the mark moving around when
clicked ([#937](<https://github.com/SableClient/Sable/pull/937>) by
@nushea)
* Hide membership events in read only rooms now also hides reactions and
reaction redactions.
([#941](<https://github.com/SableClient/Sable/pull/941>) by @7w1)
v1.18.1
2026-06-14 17:01:48 +00:00
github-actions[bot] 752a555eb7 chore: prepare release 1.18.1 2026-06-14 16:59:10 +00:00
7w1 0f57cc8336 Small fixes (#941)
<!-- 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 the ability to modify the 4 base sizes that all the icons are
derived from.
Fixes edit messages collapsing with normal messages
Adds the missing room icon overlay settings link (no changeset made for
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:

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

Test was AI generated
2026-06-14 11:58:49 -05:00
7w1 4c29710674 lint 2026-06-14 11:45:44 -05:00
7w1 08930cdff2 fix tests 2026-06-14 11:32:01 -05:00
7w1 33458114dc fix hide reactions 2026-06-14 11:28:51 -05:00
7w1 6c72ab56f0 adjust changesets and add missing setings link 2026-06-14 11:23:52 -05:00
7w1 b2bdd0e518 Merge branch 'dev' into icon-updates 2026-06-14 11:18:40 -05:00
7w1 099dd756fc fix edit message collapsing 2026-06-14 11:16:00 -05:00
7w1 6fd54edf23 add options for icon sizes
and remove some intermediate stuff i used initially
2026-06-14 11:06:39 -05:00
7w1 4bed67909a Feat: Add snooping to polls (#939)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Thanks to popular suggestion I am adding a button to show results as the
vote is ongoing similar to akkoma.

This is however a more fragile view since it resets every time the poll
is reloaded, which is to say every time you scroll away.

<!-- 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)
- [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 w the hunger of not eating any food before fixing this
2026-06-14 15:41:53 +00:00
7w1 b83730e483 Fix change icons (#940)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This PR accomplishes that

<img width="1407" height="671" alt="image(27)"
src="https://github.com/user-attachments/assets/7eda53dc-744c-47dc-852e-d3dee197028d"
/>

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 with a bag of chips next to me
2026-06-14 15:39:04 +00:00