Commit Graph
6704 Commits
Author SHA1 Message Date
7w1 e19e0df8f9 formatting 2026-05-14 23:48:10 -05:00
7w1 d04f84ea2a fix pin concat crash 2026-05-14 23:47:55 -05:00
7w1 24a7a9d05c fix link editing behaviors 2026-05-14 23:43:07 -05:00
7w1 42e9d61244 Fix reply chips not showing some replies (#846)
<!-- 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. -->

Fix reply chips not showing some replies (e.g. deleted or empty body
only rendering m.room.message state event)

#### 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-05-14 23:31:02 -05:00
7w1 5b1fb580d2 satisfy linter 2026-05-14 23:01:23 -05:00
7w1 a64ecd5773 fix reply chips not showing some replies 2026-05-14 22:47:34 -05:00
7w1 f07d331d30 Merge branch 'dev' into refactor-calls
# Conflicts:
#	src/app/components/message/content/ImageContent.tsx
2026-05-14 22:36:18 -05:00
7w1 3c1f92587d make ringtone work again
had to ai this one ngl
2026-05-14 22:29:18 -05:00
7w1 dd6d5f4c51 Fix mentions and markdown things (#837)
<!-- 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 room mentions not being linkified.
Fixes markdown headers not working without 2 new lines.
Fixes random lint stuff.

#### 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-05-14 21:36:22 -05:00
7w1 e27ccae261 formatting 2026-05-14 21:31:49 -05:00
7w1 e58fa0fe92 receive call declines and cleanup 2026-05-14 21:29:43 -05:00
7w1 d49dcb0230 remove some redundancies 2026-05-14 20:44:14 -05:00
7w1 329520a80e lint 2026-05-14 19:30:49 -05:00
TastelessVoid d780c45225 Fix Tauri desktop builds and media caching 2026-05-15 01:16:40 +02:00
7w1 f35cfad3f0 remove old ringback suppression 2026-05-14 18:15:25 -05:00
7w1 08272faa1b override element call ringback sound 2026-05-14 18:06:04 -05:00
7w1 59cfcd0d27 fix ringtone not stopping 2026-05-14 17:50:11 -05:00
7w1 a553d4eac6 copy ringtone options for ringback 2026-05-14 17:47:34 -05:00
7w1 823420847c fix some ringtone things 2026-05-14 17:38:45 -05:00
7w1 9afae54348 separate room call buttons and fix element call not clickable 2026-05-14 17:10:17 -05:00
7w1 415ff779f0 changesets, lint, formatting 2026-05-14 17:01:10 -05:00
TastelessVoid 7d49e48a10 git 2026-05-14 23:22:34 +02:00
7w1 0b0af754a6 more tests 2026-05-14 16:19:51 -05:00
7w1 b74a8406fc call notif improvements 2026-05-14 15:27:03 -05:00
7w1 daba875a93 formatting and lint things 2026-05-14 15:16:10 -05:00
7w1 542474b80f markdown header fix 2026-05-14 15:05:03 -05:00
7w1 822b0b898a changeset 2026-05-14 14:57:55 -05:00
7w1 801851a172 fix mentions 2026-05-14 14:55:16 -05:00
7w1 0ba0b7f67c more call settings 2026-05-14 14:39:23 -05:00
7w1 9e1ddb10e9 hardening things 2026-05-14 13:48:09 -05:00
7w1 8d3a909762 improve call capability detection 2026-05-14 12:56:37 -05:00
7w1 ec9711ff28 incoming call modal ui improvements 2026-05-14 12:32:52 -05:00
7w1 9fe52e3515 match spec notification handling better 2026-05-14 11:59:00 -05:00
7w1 0e2028fb7f restore call intents 2026-05-14 11:31:34 -05:00
7w1 177485d053 tests for some goal behaviors 2026-05-14 11:17:05 -05:00
7w1 4fe27992d2 fix room pings not looking like @ room 2026-05-14 10:36:18 -05:00
Shea Duma b3c4edcead added small qol changes 2026-05-14 16:02:25 +03:00
Shea Duma 21ecfe4472 Merge Upstream 2026-05-14 08:09:50 +03:00
7w1 604661ef46 chore: prepare release 1.16.0 (#788)
> [!IMPORTANT]
> Merging this PR will create a new release.

## Features

* Add Space banner support per MSC4221. You can now set it from the
space settings. ([#801](<https://github.com/SableClient/Sable/pull/801>)
by @nushea)
* Add setting to show icons of the rooms in the Rooms sidebar
([#768](<https://github.com/SableClient/Sable/pull/768>) by @nushea)
* Add Resize the sidepanels and the thread height of the original object
using hoverable tools.
([#768](<https://github.com/SableClient/Sable/pull/768>) by @nushea)
* Add toggle to allow one to not join a call in a room by just clicking
it in the sidebar.
([#768](<https://github.com/SableClient/Sable/pull/768>) by @nushea)
* Added the ability to right click on a folder to rename it.
([#814](<https://github.com/SableClient/Sable/pull/814>) by @7w1)
* Upgraded the forward modal to use the same modal present for search
and added the ability to forward to same room the message is from.
([#808](<https://github.com/SableClient/Sable/pull/808>) by @7w1)

### Introduce the new Sable logo!
([#809](<https://github.com/SableClient/Sable/pull/809>) by @Septicity)

- You may need to reinstall PWAs to recieve the new app icons, if you
use them.
- Our logo is [licensed under
CC0](https://github.com/SableClient/Sable/blob/dev/TRADEMARKS.md), aka
do whatever you want with it!
- Also, there's a script for other us or other forks to replace the icon
in the future, if needed.

## Fixes

* Add graceful fail if MSC4140 event delay exceeded
([#276](<https://github.com/SableClient/Sable/pull/276>) by
@jasonlaguidice)
* Drops paragraph tags when messages are only a single paragraph, use
markdown (two new lines) to define a new paragraph rather than a line
break. ([#799](<https://github.com/SableClient/Sable/pull/799>) by @7w1)
* Fixed the text wrapping behavior of fallback messages.
([#806](<https://github.com/SableClient/Sable/pull/806>) by @7w1)
* Fixed the thin line appearing at the top of unstyled profiles.
([#803](<https://github.com/SableClient/Sable/pull/803>) by @7w1)
* Matrix.to links sent without explicit markdown formatting are sent as
raw links instead of html links.
([#786](<https://github.com/SableClient/Sable/pull/786>) by @7w1)
* Fix `/myroomnick` and room cosmetics display name not updating name.
([#805](<https://github.com/SableClient/Sable/pull/805>) by @7w1)
* Fix spoilers not hiding nested content like mentions, emoji images,
and custom-colored spans.
([#807](<https://github.com/SableClient/Sable/pull/807>) by @7w1)
* Added svgs to the allowed embeds for rendering/sending.
([#804](<https://github.com/SableClient/Sable/pull/804>) by @7w1)
* Suppress timeline dividers when there's no rendered events between
them. ([#720](<https://github.com/SableClient/Sable/pull/720>) by
@mvanhorn)
* Improve thread drawer separation between the pinned root message and
replies with a border.
([#830](<https://github.com/SableClient/Sable/pull/830>) by @7w1)
v1.16.0
2026-05-14 03:27:23 +00:00
github-actions[bot] 187fa015d6 chore: prepare release 1.16.0 2026-05-14 03:21:02 +00:00
7w1 ef0df13b72 fix(timeline): suppress dividers when the underlying event renders null (#720)
## Summary

Closes #701. Stops the timeline from rendering bare day-dividers /
new-message dividers when the underlying event was filtered out at
render time. The orphan-divider pattern in the issue's screenshot was
caused by `useProcessedTimeline` attaching `willRenderDayDivider` to
events that `useTimelineEventRenderer` later returned `null` for (e.g.
membership / profile-change events when `hideMembershipEvents` or
`hideNickAvatarEvents` are on). The render layer would still emit the
divider but skip the event under it.

## Why this matters

7w1's diagnosis on the issue: "this is specifically an issue ... when
there's rooms with lots of hidden events (e.g. joins/leaves, profile
changes) and no other messages, such as announcement channels." The
render now matches that — when an event renders to `null`, its divider
is skipped too.

## Diff

`src/app/features/room/RoomTimeline.tsx`:

```tsx
+const showDividers = renderedEvent !== null;
-const dividers = (
+const dividers = showDividers ? (
   <>
     {eventData.willRenderDayDivider && ( ... )}
     {eventData.willRenderNewDivider && ( ... )}
   </>
-);
+) : null;
```

8 lines added, 2 changed.

## Edge case + follow-up

If a day's first hook-eligible event is rendered-null but a later event
renders correctly, the day-divider is lost for that day. That's strictly
better than an orphan divider in the announcement-channel symptom case,
and the proper fix (`useProcessedTimeline` propagates the divider
forward to the first event whose renderer prediction is non-null) is a
larger refactor that can land separately. Happy to follow up with that
if you'd prefer not to take the small fix first.

## Verification

- `pnpm tsc --noEmit` — `No errors found`.
- Manual smoke test path (per issue 7w1 comment): an announcement-style
room dominated by profile-change events stops showing bare day-dividers
between them. A normal chat with mixed messages and joins still renders
dividers correctly because the day's first message-event is the one
carrying the divider, and that event renders fine.

This contribution was developed with AI assistance (Claude Code).
2026-05-14 03:18:34 +00:00
7w1 f6346ae95d Merge branch 'dev' into pr/720
# Conflicts:
#	src/app/features/room/RoomTimeline.tsx
2026-05-13 22:16:07 -05:00
7w1 d9d2271dbb changeset 2026-05-13 22:11:29 -05:00
7w1 a99244546d formatting 2026-05-13 22:10:38 -05:00
7w1 2609ce63dd update logo changeset (#833)
<!-- 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 #

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-05-13 22:05:37 -05:00
7w1 292dbcf2e9 formatting 2026-05-13 22:03:47 -05:00
7w1 f7956e6cc3 update logo changeset 2026-05-13 22:01:39 -05:00
7w1 12834118a0 small fix to fix the fix (#832)
<!-- 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 #

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-05-14 02:57:14 +00:00
Shea Duma b399d1a950 fix zIndex 2026-05-14 05:53:34 +03:00
Shea bfbe9b3f18 made the banner respect themekind for shadows (#831)
<!-- 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. -->
(when dark theme)
<img width="232" height="195" alt="image"
src="https://github.com/user-attachments/assets/755ddc4e-046e-4227-a361-eef0ad4717f0"
/>
<img width="247" height="195" alt="image"
src="https://github.com/user-attachments/assets/faf6abdc-fd86-4f0a-9fd2-537fa083bfcd"
/>

(when light theme)
<img width="250" height="191" alt="image"
src="https://github.com/user-attachments/assets/615d13f8-42eb-43f9-be6e-da5acbfe4e16"
/>
<img width="225" height="195" alt="image"
src="https://github.com/user-attachments/assets/48efd21f-03d1-414c-bd6f-cbd477aaac00"
/>

Fixes #

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-05-14 02:41:24 +00:00