4707 Commits
Author SHA1 Message Date
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
Shea 9c26e6d0d4 change call icons and dismissed invites
Signed-off-by: Shea <[email protected]>
2026-06-14 16:39:48 +03:00
Shea 5ad1b1c868 change reply icons
Signed-off-by: Shea <[email protected]>
2026-06-14 15:48:11 +03:00
Shea 13b9fbc593 add snooping polls
Signed-off-by: Shea <[email protected]>
2026-06-14 14:21:20 +03:00
Shea 5f2558fcc7 Fix missing the mark (#937)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

app.sable.moe seems to not pull the mark on the location map right so i
have added it explicitly and added a bodge to fix it doing the marker
moving thing

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

Testing this on an external website made me realize that we have enough
deps that now i need to increase my heap for building it locally huh
2026-06-14 05:18:47 +00:00
Shea 678aa5998d add changeset
Signed-off-by: Shea <[email protected]>
2026-06-14 08:15:14 +03:00
Shea 1e94bc0e69 fix moving pins
Signed-off-by: Shea <[email protected]>
2026-06-14 07:53:09 +03:00
7w1 3d02633180 chore: prepare release 1.18.0 (#903)
> [!IMPORTANT]
> Merging this PR will create a new release.

## Features

* Added configurable max pronoun pill count and max pill length
rendering settings.
([#904](<https://github.com/SableClient/Sable/pull/904>) by @7w1)
* Adds the ability to hover/tap over `...` to see the rest of someone's
pronouns. ([#904](<https://github.com/SableClient/Sable/pull/904>) by
@7w1)
* Support rendering `matrix:` URIs in incoming messages.
([#935](<https://github.com/SableClient/Sable/pull/935>) by @7w1)
* Added an inline add-reaction button at the end of message reaction
lists. ([#934](<https://github.com/SableClient/Sable/pull/934>) by @7w1)
* Add button to silently dismiss Invite
([#936](<https://github.com/SableClient/Sable/pull/936>) by @nushea)
* Highlight message that you are about to reply to!
([#897](<https://github.com/SableClient/Sable/pull/897>) by @nushea)
* Add Location styling with a modal!
([#927](<https://github.com/SableClient/Sable/pull/927>) by @nushea)

### Added more hidden timeline events with settings and rendering.
([#934](<https://github.com/SableClient/Sable/pull/934>) by @7w1)

#### Settings

- Added a master Show Hidden Events toggle with per-type sub-toggles for
message edits, redactions, reactions, and other unrecognized events
- Sub-toggles stay visible beneath the master toggle and are disabled
while hidden events are off

#### Timeline rendering

- Show message edits as timeline events with reply navigation and an
inline word/line diff between versions
- Show reactions, message redactions, and reaction redactions as
timeline events
- Keep redacted reactions in the timeline as tombstones with redaction
events linking back to them when possible
- Improve reply-chip previews for edits, redactions, reactions, and
redacted targets

#### Safeguards

- Hide forward, delete, and other message actions on timeline meta
events that cannot be forwarded or meaningfully deleted
- Disallow forwarding deleted messages and other non-message event types

### Add polls! ([#916](<https://github.com/SableClient/Sable/pull/916>)
by @nushea)

#### Add Polls with a new Menu for adding items

- The polls have a simple style for showing and interfacing with poll
events
- There is now a simple interface for creating polls which integrates
the spec
- Now the Plus button on the bottom left can open a menu for selecting
what to send, which will be useful for future options as well
- For the people that prefer to only add files with that button they can
disable the menu and still create polls with the /poll command
- You can see who voted for what in a clear menu

## Fixes

* Change image rendering to allow enabling anti-aliasing in the image
viewer ([#919](<https://github.com/SableClient/Sable/pull/919>) by
@nushea)
* Fix crash during scrubbing before duration duration appears.
([#902](<https://github.com/SableClient/Sable/pull/902>) by @7w1)
* Fixed lists rendering `p` html tags on new lines.
([#906](<https://github.com/SableClient/Sable/pull/906>) by @7w1)
* Fix math parsing inside of color blocks not being parsed properly.
([#910](<https://github.com/SableClient/Sable/pull/910>) by @7w1)
* Fixed nested lists having wrong indentation levels when editing.
([#906](<https://github.com/SableClient/Sable/pull/906>) by @7w1)
* Fix missing filename breaking edits, and missing a fallback, and
codeblock titles overflowing
([#917](<https://github.com/SableClient/Sable/pull/917>) by @nushea)
* Fix unset User Profile cards having incorectly colored text.
([#896](<https://github.com/SableClient/Sable/pull/896>) by @nushea)
* Migrated all icons to Phosphor Icons and added a setting to display
globe/lock icon instead of the hash tag for the room sidebar.
([#934](<https://github.com/SableClient/Sable/pull/934>) by @7w1)
v1.18.0
2026-06-14 03:12:41 +00:00
github-actions[bot] 23a5d5e889 chore: prepare release 1.18.0 2026-06-14 03:05:05 +00:00
7w1 334d8d37dd Feat dismiss Invites (#936)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This feature is useful for many people, i feel like everyone has had an
account that had a broken invite, and if the homeserver cannot help it a
bandaid solution will!

It is also useful for if you dont wanna deny or accept an invite because
you dont wanna be in a group but you also dont wanna not be in it so you
just dismiss it so it doesnt bother you and they dont get an
accepted/rejected event

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 because ive just had a friend that has gotten it very recently
and they were pissed at matrix about it <3
2026-06-14 03:02:24 +00:00
Shea 257e551e12 fix checking
Signed-off-by: Shea <[email protected]>
2026-06-14 05:46:49 +03:00
Shea ad26512cb9 merge upstream
Signed-off-by: Shea <[email protected]>
2026-06-14 05:45:30 +03:00
Shea f0b2eaf3eb feat dismiss invites
Signed-off-by: Shea <[email protected]>
2026-06-14 05:33:58 +03:00
7w1 285a76bc8b More hidden events & Phosphor Icons replacement & Add reactions button (#934)
<!-- 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. -->

Copied from changesets :p

Add more hidden timeline events with settings and rendering.

#### Settings

- Add a master Show Hidden Events toggle with per-type sub-toggles for
message edits, redactions, reactions, and other unrecognized events
- Sub-toggles stay visible beneath the master toggle and are disabled
while hidden events are off
- Fold the redacted-message tombstone setting into the redactions group
and migrate existing tombstone preferences

#### Timeline filtering and rendering

- Show message edits as timeline events with reply navigation and an
inline word/line diff between versions
- Show reactions, message redactions, and reaction redactions as
timeline events instead of message bubbles
- Keep redacted reactions in the timeline as tombstones with redaction
events linking back to them when possible
- Improve reply-chip previews for edits, redactions, reactions, and
redacted targets
- Merge related edit and reaction events into the timeline when they are
missing from pagination

#### Safeguards

- Hide forward, delete, and other message actions on timeline meta
events that cannot be forwarded or meaningfully deleted
- Disallow forwarding deleted messages and other non-message event types

Migrated all icons to Phosphor Icons and added a setting to display
globe/lock icon instead of the hash tag for the room sidebar.

Added a reaction shortcut when a message already has a reaction.

+ fixed the polls changeset formatting a little, i think...

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

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

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

AI did the bit of test generation and assisted with some of the bulk
icon replacement, although the icons were manually picked out.
2026-06-13 21:31:22 -05:00