7320 Commits
Author SHA1 Message Date
Shea Duma 8143a17d6d added changeset 2026-04-09 07:26:24 +03:00
Shea Duma c47b842c74 basic working version 2026-04-09 07:18:14 +03:00
Evie Gauthier 235431da00 fix(threads): pass showBundledPreview setting to useTimelineEventRenderer 2026-04-08 17:13:38 -04:00
hazre a81199ac26 chore: update cargo dependencies 2026-04-08 01:17:14 +02:00
hazre abb65ca55e feat: add desktop tray settings 2026-04-08 00:58:50 +02:00
Matt Van Horn 027f6ae1c0 docs: add changeset for bug report modal fix 2026-04-07 12:26:20 -07:00
Matt Van Horn ea59ca2395 docs: add changeset for audio description fix 2026-04-07 12:26:06 -07:00
Matt Van Horn fb8450ec8b docs: add changeset for iOS overscroll fix 2026-04-07 12:25:37 -07:00
7w1 54b7c58eb4 fix: Safely re-introduce timeline regrouping for PMP messages after sticky scroll fix (#645)
### Description

In [this PR](https://github.com/SableClient/Sable/pull/626), I fixed the
sticky scrolling issue by disabling the automatic timeline regroup for
PMP messages, since this event repeatedly scrolled the user to the
bottom of the page in encrypted rooms with many PMP messages.

However, this change _did_ end up regressing the functionality of that
fix: Albeit extremely irregularly, some PMP messages will fail to be
grouped together or will otherwise not have their profile picture load.

To fix this, I've reintroduced the timeline regroup logic, but I've
replaced the regroup function to a different room event that still
provides a visual refresh without doing any scrolling.

As the previous PR hasn't made it to a public release yet, I'm not
including a changeset, as it serves the same purpose as and would have
ideally been included in the original PR.

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

- [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. -->
I used AI to quickly trace exactly what each event type does and format
the new `room.emit` line. As opposed to the Timeline event from before,
the LocalEchoUpdated event should refresh the timeline without any
automatic scrolling. This should make sure that PMP messages are
properly regrouped automatically, and my testing confirms this.
2026-04-07 15:43:57 +00:00
7w1 2a0b5d3e1d linter 2026-04-07 10:42:22 -05:00
7w1 5e96ce071a Add DM custom images, DM statuses, Member Tile statuses (#644)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Adds DM custom images and topics because i loved them when i was using
fluffy, present under a new setting that is on by default, so that
within DM navigation one can have any image as the DM's icon, helping me
personally at least with secrecy when screensharing.

(example where in the background it is visible that it is a dm with
someone but it has a custom image)
<img width="1859" height="1080" alt="image"
src="https://github.com/user-attachments/assets/ca654cdb-c300-4660-b304-91a19cedb3ba"
/>

(example with some spaces that have custom images, one having an
intentionally ZWS description)
<img width="1859" height="1080" alt="image"
src="https://github.com/user-attachments/assets/5b1bbad9-a19c-44d1-bf07-550b4283c08e"
/>

(example of dms with statuses, offline being marked as not showing a
badge)
<img width="243" height="107" alt="image"
src="https://github.com/user-attachments/assets/e986dd05-5647-4de1-ac86-1fe8ef97c294"
/>

(example of the new look of the member drawer)
<img width="811" height="687" alt="image"
src="https://github.com/user-attachments/assets/bf575ba9-2a2b-4526-85fb-4bf673afd963"
/>
<img width="414" height="693" alt="image"
src="https://github.com/user-attachments/assets/8127d9d2-c407-415a-952c-daecfefc1a3c"
/>

#### 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. -->
My generalized brain fog coalesced into the implementation.
2026-04-07 15:39:41 +00:00
7w1 09fe8d9298 markdown file not dm file... 2026-04-07 10:36:24 -05:00
7w1 dbd1b36f25 formatting 2026-04-07 10:34:16 -05:00
7w1 dfe096b2bf fix dms nav 2026-04-07 10:30:24 -05:00
7w1 e1f1168e16 Minor tweak to the blank name check (#649)
<!-- 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. -->

Small change to the function because apparently (at least firefox) only
supports 4byte unicode so it fails to resolve some names due to the
5byte variation checker, and added the regular blanks just in case
because they should be (are afaik for most major homeservers) stripped
by the homeserver but not always

This is doesnt need a changeset since it is a 1 line change in a pr from
the same version

Fixes regression in #640

#### 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. -->
The Architect AGI threatened to unplug me if i didnt make the fix 👍🏻
2026-04-07 14:21:57 +00:00
hazre 5578658700 fix: linux startup 2026-04-07 12:43:35 +02:00
Matt Van Horn 41ac5c6971 fix: constrain bug report modal to viewport height
Add maxHeight: 90vh to the Modal and its inner Box container so the
bug report screen doesn't overflow beyond the viewport, which was
causing the close button and header text to be cropped off.

Fixes #629
2026-04-07 02:56:50 -07:00
Matt Van Horn 3525c32a6f fix: use file name instead of "a voice message" for non-voice audio
Only use "a voice message" as the fallback body text when the audio
actually has waveform data (i.e., it was recorded as a voice message).
Regular audio files (music, etc.) now fall back to the file name
instead.

Fixes #543
2026-04-07 02:48:32 -07:00
Matt Van Horn ccfd9afc3b fix: prevent iOS overscroll on root element
Add overscroll-behavior: none to the html element to prevent the
elastic bounce-back scroll effect on iOS that competes with the
timeline scroll.

Fixes #500
2026-04-07 02:26:50 -07:00
Shea Duma 3e234492fa add blank spaces and fix regression 2026-04-07 07:01:48 +03:00
7w1 e78e97f86b Add support for displaying bundled previews MSC4095 (#590)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
This PR wishes to display bundled previews, should they be offered, in
order to align to MSC4095.

Implements:
https://github.com/matrix-org/matrix-spec-proposals/pull/4095

Also i swear i didnt modify anything past line 75 in
/src/app/components/url-preview/UrlPreviewCart.tsx i just added a param
to UrlPreviewCard which pushed the length over the limit breaking the
params into a table format, which then put the closing angle bracket
right before the arguments which then made it no longer take one
indentation which pushed the entire code to have one less indentation
for prettier and if i am to change anything meaninglessly it just
reverts it 😭

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- 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. -->
A Jihn waswasa-ed the implementation to me.
2026-04-06 22:37:11 +00:00
Shea Duma dd842d63cb merge 2026-04-07 00:56:23 +03:00
Septicity e5aadcb203 fix: Re-introduce timeline regrouping for PMP messages after sticky scroll fix 2026-04-06 16:17:33 -05:00
Evie Gauthier 76333bdb6d chore: add changeset for feat-thread-enhancements 2026-04-06 12:53:55 -04:00
Evie Gauthier b3e434dbc2 feat(threads): thread drawer, thread browser, live reply counts, and unread badges 2026-04-06 12:51:03 -04:00
Evie Gauthier 58176a610e chore: add changeset for workbox-precaching 2026-04-06 12:35:26 -04:00
Evie Gauthier 202567bf05 fix(pwa): re-enable Workbox precaching (remove if guard and injectionPoint override) 2026-04-06 12:35:25 -04:00
Evie Gauthier 0b00dca282 chore: add changeset for caddy-cache-headers 2026-04-06 12:33:59 -04:00
Evie Gauthier b7f46e10ca fix(caddy): add cache-control headers for assets, sw.js, and index.html 2026-04-06 12:33:58 -04:00
Shea Duma 83f931148a making linter happi 😄 2026-04-06 07:15:18 +03:00
Shea Duma 3b2a795723 move presence pill next to status in member drawer to avoid z-fighting 2026-04-06 07:06:27 +03:00
Shea Duma d92f47a96f add changeset and statuses in member tile 2026-04-06 06:02:23 +03:00
Shea Duma e582e429ab update all pages to show the right room image 2026-04-06 05:26:27 +03:00
Shea Duma 31fec891f7 added presence and setting 2026-04-06 04:54:14 +03:00
Shea Duma 88fffdbc4d added statuses to dms 2026-04-06 03:00:32 +03:00
7w1 8d5521598d Re-introduce custom HTML formatting for long messages (#641)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

For long formatted messages (specifically, messages with over 8000
characters in their internal source), styles are disabled. I personally
noticed this when trying to use `/rainbow` messages.

I noticed that this regression was caused by [this
commit](https://github.com/7w1/sable/commit/d97a6c6cc345c58b4c21813560951595bb708e32);
while sanitizing the formatted body of a long message was safe for the
specific message in the channel that was linked in the issue, it ended
up disabling _all_ HTML formatting for longer messages.

Here, you can see the result of my fix:
<img width="50%" alt="image"
src="https://github.com/user-attachments/assets/a5ed26b4-bf55-492a-83d1-93c747226d74"
/><img width="50%" height="877" alt="image"
src="https://github.com/user-attachments/assets/84312b48-c426-4508-8341-6445fb9460ec"
/>

Specifically, I've determined that the cause of the original crash was
specifically only related to jumbo emojis; as I've kept the safeguard
regarding jumbo emojis, this still prevents the crash, as well as
keeping any spacing or line breaks in a message with many emojis. Here's
the difference:
<img width="50%" alt="image"
src="https://github.com/user-attachments/assets/35dbd824-f14a-4a61-9dfa-93593e01a1e1"
/><img width="50%" alt="image"
src="https://github.com/user-attachments/assets/873429bb-1166-418d-b7fd-b0c9f102e285"
/>

_(I'm considering this a breaking change because, as far as I can tell,
this does _technically_ make emojis no longer jumbo in longer messages.
I could be wrong, though.)_

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] 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-04-05 21:35:43 +00:00
Septicity 73c139f719 Re-introduce custom HTML formatting for long messages
- The issue that this was originally removed to fix was actually only related to jumbo emojis.
- Since I've kept the safety mechanisms for jumbo emojis, there should be no regression.
2026-04-05 06:05:45 -05:00
7w1 0ae47b689d Fix invisible names (#640)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Small change to attempt to default to the right name so that they do not
show as being blank

Had to be a hard list because there does not seem to be a list of
characters that are supposed to be blank within the \p type

#### 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. -->
A million monkeys spent a million years typing out the implementation
2026-04-05 02:57:30 +00:00
Shea Duma a2c6eeb1b7 fix invisible names 2026-04-05 05:42:40 +03:00
7w1 0892b94e8d remove unnecessary migration logic 2026-04-04 16:30:29 -05:00
7w1 4b17220f16 fix test 2026-04-04 02:33:57 -05:00
7w1 30ae4011bd Merge branch 'dev' into feat/theme-edits-v2 2026-04-04 02:26:41 -05:00
7w1 22ef414afe formatting 2026-04-04 02:20:25 -05:00
7w1 54d45b5af1 tweaks and button formatting consistency 2026-04-04 02:16:09 -05:00
7w1 72fcd1ae61 fix: preserve linkification in formatted body text (#632)
### Description

Fixes the regression caused by
https://github.com/SableClient/Sable/commit/18a7ca092 that makes urls
not get dedicated in `formatted_body`

- preserve auto-linking for bare URLs in `formatted_body` text nodes
when abbreviation replacement runs
- keep URL tokens intact when an abbreviation term appears inside the
URL itself
- add regression coverage for adjacent-to-URL and inside-URL
abbreviation cases

#### 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).
- [x] Fully AI generated (explain what all the generated code does in
moderate detail).
2026-04-04 01:00:16 +00:00
7w1 4ff8b3c8e7 Add setting to collapse folders by default (#624)
<!-- 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 a setting to visual tweaks that allows collapsing folders by
default instead of the current behavior of saving the state of
opened/closed folders

Fixes #616

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- 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-04-03 19:54:21 -05:00
7w1 0ed196dd46 Add a dismiss button to command messages (#625)
<!-- 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 a dismiss button to command feedback messages and clarifies that
they're client side

Fixes #594

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- 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-04-03 19:53:56 -05:00
7w1 9ffeedd8d6 Fix focus when replying to messages (#623)
<!-- 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. -->

Recaptures input box focus when replying to a message.

Fixes #621

#### 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-04-03 19:53:38 -05:00
7w1 19a63070ed formatting 2026-04-02 16:18:02 -05:00
7w1 a495250c60 skip parsing fullurl for uploaded files if it fails 2026-04-02 16:08:40 -05:00