Commit Graph
4678 Commits
Author SHA1 Message Date
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
7w1 489c49bb3d adjust changeset 2026-06-13 21:29:17 -05:00
7w1 db6c3187dd toggle inline add reaction fill state with menu 2026-06-13 21:26:11 -05:00
7w1 13af13a512 Basic matrix uri support (#935)
<!-- 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. -->

Support for rendering incoming matrix uri mentions/links/whatever,
doesn't change sending at all, just adds support for rendering incoming
ones.

Fixes #718 

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

- [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-13 21:25:32 -05:00
7w1 082082baff change default settings 2026-06-13 21:20:43 -05:00
7w1 be86a837ff dont fill overlay icons in sidebar 2026-06-13 21:06:33 -05:00
7w1 ae13621d4f swap at icon with @ text 2026-06-13 21:02:54 -05:00
7w1 8d9be0ba20 a couple icon size adjustments and add reaction shortcut 2026-06-13 20:51:51 -05:00
7w1 e29de131c8 formatting and tests and changeset 2026-06-13 20:39:27 -05:00
7w1 c9c3bf318c add to sanitizer 2026-06-13 20:03:49 -05:00
7w1 2912b2c56c hook parser into parser 2026-06-13 19:56:01 -05:00
7w1 3695ef60b4 matrix uri parser 2026-06-13 19:43:33 -05:00
7w1 21510fceaf fix deprecated icon imports and some formatting 2026-06-13 19:23:51 -05:00
7w1 6b9c7ac582 formatting 2026-06-13 18:04:20 -05:00
7w1 9c751bd6c7 bulk rename iconAt to sizedIcon
was a silly choice
2026-06-13 18:04:05 -05:00
7w1 d5ab7e946e formatting
dumb vscode
2026-06-13 17:59:42 -05:00
7w1 cdf20c4586 minor size adjustments for some icons 2026-06-13 17:55:51 -05:00
7w1 221c2e7c25 phosphor icons 2026-06-13 17:50:02 -05:00
7w1 5af26467bb changeset and polls changeset adjustment 2026-06-13 14:22:29 -05:00
7w1 2b3bc5b5f3 tons of hidden event toggles and rendering
among other patches
git history was getting far too messy so single big commit it is
2026-06-13 14:15:14 -05:00
7w1 a866a5a233 Fix more highlighting problems and 1767 events reply setting issues (#933)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This PR fixes even more highlighting issues and fixes replying to
msc1767 only compliant events (events that would miss a .body but would
have a M_TEXT as a body or a M_TEXT.body as the body)

This is marked internal as this is only the case for events specially
crafted from weird clients, and because of polls

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

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

written with the assistance of my blahaj
2026-06-13 17:19:49 +00:00
Shea 6693347c2e fix more highlighting problems and 1767 events reply setting issues
Signed-off-by: Shea <[email protected]>
2026-06-13 17:29:27 +03:00
Shea 915800cfbd fix sdk issue within the poll <3 (#932)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

While troubleshooting the new features for any bugs i noticed that some
time events dont propagate their sender properly, used the function even
tho its more overhead just because it is more reliable <3

<!-- 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 anxiety of sending a common weird sdk "feature"
2026-06-12 23:10:31 +00:00
Shea 1ee6a36ef2 fix stupid sdk issue <3
Signed-off-by: Shea <[email protected]>
2026-06-13 02:00:10 +03:00
sable-actions[bot] ee46df2e9e chore(nix): auto-fix nix hashes 2026-06-12 21:43:41 +00:00
7w1 53fd99347f Feat location (#927)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

There is a doc written for this under
https://github.com/SableClient/docs/pull/16

Add location modal, this adds a dependency to leaflet, it is a slightly
outdated version to fit in with our react version

(look of a location shared)
<img width="1474" height="940" alt="image"
src="https://github.com/user-attachments/assets/7838119b-37af-4ad4-b79b-34656f23b5f1"
/>

(look of the add menu)
<img width="155" height="169" alt="image"
src="https://github.com/user-attachments/assets/74eb1bf2-15c7-4a79-8c06-6ddca0b2ff8c"
/>

(look of the location sharing modal)
<img width="503" height="646" alt="image"
src="https://github.com/user-attachments/assets/05afa98c-28cb-49e4-bd49-e61818f95148"
/>
From here you can paste coords, or links to osm, geo:, or apple long
links, i have decided against short links at this time as they seem to
not be working reliably

(look of the 2 new settings as it is a feature that makes external
calls)
<img width="808" height="689" alt="image"
src="https://github.com/user-attachments/assets/428668f3-51dd-46b5-8ef9-1a7a5b72ee46"
/>

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 with the love of fancy accidental self-doxxing
2026-06-12 21:39:43 +00:00
Shea 5f5be0f230 fix typo and add catch
Signed-off-by: Shea <[email protected]>
2026-06-12 23:43:38 +03:00
7w1 6bfd2b9fcb fix root element in thread looking wrongly selected (#929)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix the topmost item in a thread looking highlighted when it shouldnt,
but it still highlights if you specifically want to actually reply to it
it
<!-- 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 inspiration of eating by and by
2026-06-12 17:46:56 +00:00
Shea 30a4abbad1 add full new key to avoid weird edgecase
Signed-off-by: Shea <[email protected]>
2026-06-12 17:07:56 +03:00
Shea 7fd1ac006e fix root element in thread looking wrongly selected
Signed-off-by: Shea <[email protected]>
2026-06-12 16:25:34 +03:00