Commit Graph
2995 Commits
Author SHA1 Message Date
7w1 b2adebdc70 feat: forward modal swap & forward to same room 2026-05-13 19:17:45 -05:00
7w1 ac2c7f1305 Fix nav and profile styling (#803)
<!-- 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 small line caused by a shadow on default profiles where it
looks out of place.
(Internal) Restores the style of the room navigation menu to prior to
the resizeable side bars PR and attempts to fix some of the slight weird
spacing caused by the draggable panel bars.

#### 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-05-13 17:52:13 -05:00
7w1 d5838ad245 fix: member drawer gap 2026-05-13 17:36:05 -05:00
7w1 59386824fa fix: draggable bar creating gaps between panels 2026-05-13 17:08:01 -05:00
7w1 76147651f5 fix home tab 2026-05-13 16:03:15 -05:00
7w1 3dfede9b0e Add Space Banner Support per MSC4221 (#801)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Implements Space Banners that are resizable using the hover bar in both
height and width.

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

(example)
<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/c6bf0f7a-e92c-4fa3-9e0b-a5ce03645caf"
/>

(resizing version)
<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/950e06c6-a618-4be0-a819-ded01bbbd094"
/>

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)

### 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
- [ ] 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 nondescript bird flipped itself into providing the implementation to
me
2026-05-13 18:58:24 +00:00
7w1 83ea09536e formatting 2026-05-13 12:41:40 -05:00
7w1 7147e0851f fix profile shadow line 2026-05-13 12:39:49 -05:00
7w1 d9fbf724ef fix: restore room nav styling 2026-05-13 12:32:08 -05:00
Henry Hiles 1ba7247d90 fix: show col-resize cursor on SidebarResizer 2026-05-13 12:48:22 -04:00
Shea Duma 84c49ffc52 cleaned space setting 2026-05-13 16:29:51 +03:00
Shea Duma 720acdf525 added settings 2026-05-13 15:07:08 +03:00
Shea Duma 711f31ada9 made it resizable 2026-05-13 13:22:39 +03:00
Shea Duma fb7c0b0c8e styling to the systems 2026-05-13 12:35:25 +03:00
Shea Duma 8582765657 basic support for the banner state 2026-05-13 10:23:13 +03:00
7w1 c2bb68345a Add Resize the room sidepanel using a hoverable tool (#768)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Add the ability to resize the room sidebar, you can either do it in
settings as a number of the width of it, or using a hoverable thing.

Additionally you can now set whether and when do you want to show the
room's icon instead of the default symbol, mainly meant for when the
sidebar is not wide enough to display meaningful names to serve as an
aid to know which room you are in.

A good %age of the changes are just indentation from adding/removing one
object

(example of holding the bar to drag it)
<img width="1033" height="1080" alt="image"
src="https://github.com/user-attachments/assets/d7c6f47a-40a6-4199-9258-00f89119afd3"
/>

(example of smart looks)
<img width="1033" height="1080" alt="image"
src="https://github.com/user-attachments/assets/287ae643-1178-44b8-96e1-436185c93076"
/>
<img width="1060" height="1080" alt="image"
src="https://github.com/user-attachments/assets/3d915210-fa77-4844-8ce3-64afc244ae8c"
/>

(settings added here)
<img width="810" height="697" alt="image"
src="https://github.com/user-attachments/assets/fe925a68-63d7-4ad7-9c90-31243dd386d0"
/>
<img width="811" height="823" alt="image"
src="https://github.com/user-attachments/assets/c2266459-af86-4168-b8e5-aabacb057476"
/>

(example of the threads being resizeable)
<img width="918" height="1080" alt="image"
src="https://github.com/user-attachments/assets/d41d6749-489d-46ed-aa78-73aa54af8915"
/>
<img width="930" height="1080" alt="image"
src="https://github.com/user-attachments/assets/07677474-0ef3-4708-8eba-a64a68eac61c"
/>

<img width="816" height="1080" alt="image"
src="https://github.com/user-attachments/assets/23efa84d-c2e4-474b-a85f-d12fadc62b56"
/>

Fixes: #68 #102 #681 #694

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

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [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 Pisan cats have helped me implement this
2026-05-13 06:09:16 +00:00
7w1 61cc04dece fix chromium scroll bars 2026-05-13 01:01:56 -05:00
7w1 f92e68a658 formatting 2026-05-12 21:10:11 -05:00
7w1 7785d91f97 fix: matrix.to links with custom text being sent as escaped html 2026-05-12 21:05:46 -05:00
Shea Duma bd246d6d3c made call members looking properly in the small mode 2026-05-12 04:17:15 +03:00
Shea cb98100dfd Merge branch 'dev' into resize-side-panels 2026-05-11 16:36:22 +03:00
Shea Duma a0336e255b add settings links to their respective entries 2026-05-11 16:34:36 +03:00
Shea Duma 7015980602 made profiles clickable again when in the snapped version 2026-05-11 13:20:09 +03:00
Shea Duma dd7e77f9ac fix snap region cutting off Search Message in the left pane 2026-05-11 12:42:42 +03:00
Shea Duma 9d4425bf3c added support for the unstable prefixes 2026-05-11 08:01:06 +03:00
Shea Duma 4ebf66688c merge upstream 2026-05-11 07:08:30 +03:00
Shea Duma a2609a8f8a add option for clicking to join call for completion 2026-05-11 06:14:30 +03:00
Shea Duma ade9c7e5d9 seems resolved 2026-05-11 05:24:00 +03:00
Shea Duma 8d32e1b929 added sizes for the remaining objects 2026-05-11 04:05:25 +03:00
Shea Duma 4268444cc7 added styling for member list aswell 2026-05-11 03:43:43 +03:00
Shea Duma 0472f520ba added badges 2026-05-11 03:14:10 +03:00
Shea Duma b4a9227567 styled all of the other items again 2026-05-10 23:10:53 +03:00
7w1 3e399d3410 shield matrix to links 2026-05-09 22:16:36 -05:00
7w1 7512cac7f0 add deploy setting defaults 2026-05-09 17:49:48 -05:00
7w1 229ec3af1f Fix room names being overridden when only 1 other person is present (#784)
<!-- 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 room name being overridden to the other person when only 1
other person is present, the initial reason was to get around
continuwuity sometimes forgetting room data, thus added a path to just
override the dm name whenever it wasn't explicitly set, which also
affected normal rooms for whatever reason. Now it actually checks that a
room is marked a dm (which actually might reduce the effectiveness of
this patch, but I digress)

Fixes #775 

#### 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-09 17:12:00 -05:00
7w1 4c2caa6624 Add ability to cap preview image sizes (#783)
<!-- 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. -->

There wasn't a cap set for the bundled previews or incoming previews,
thus you could have very large images, and the size also applied to when
images failed to load, which made chats look broken. This adds a setting
to cap it, defaulted to 640.

Also included a small internal fix to the new styled profiles to use
code block backgrounds for the misc data instead of styled ones.

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

Test updates were all fully ai generated
2026-05-09 17:09:07 -05:00
7w1 ce0a34ad5a fix room names being overriden 2026-05-09 16:54:25 -05:00
7w1 c37297409f change default max 2026-05-09 16:46:11 -05:00
7w1 f9ade5b986 add ability to cap preview size and minor adjustment to restore codeblock background of misc data 2026-05-09 16:42:07 -05:00
7w1 91434ad368 escape subtext properly 2026-05-09 16:07:26 -05:00
7w1 9d264ee5d3 Adjust new profile styling (#777)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adjusts the styling of the new profile cards to match the styling seen
elsewhere & the old ones a little better. Old is left, new is right.
<img width="1404" height="1177" alt="image"
src="https://github.com/user-attachments/assets/f8184a63-8299-479e-acbb-0e21dcf887f2"
/>

<img width="1410" height="979" alt="image"
src="https://github.com/user-attachments/assets/6603e65c-16ea-4027-8fc6-2fc2b54d9b82"
/>


#### 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-09 15:26:07 -05:00
7w1 3d7c2bfde9 match spacing in all submenus 2026-05-09 15:20:28 -05:00
7w1 555fd3a46a style submenus 2026-05-09 15:14:24 -05:00
7w1 58942fc7e3 Fix greedy math parsing (#779)
<!-- 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 talking about dollar amounts being spammed by requiring no
whitespace after the first $ and no whitespace before the second $ and
no number after.
Fixes $$$$$$$$$$$$$$$ being parsed as a bunch of weird latex blocks
instead of nonsense.

Fixes #769 

#### 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-09 15:05:42 -05:00
7w1 5024f55cf7 Fix thread hang edge case (#778)
<!-- 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 bug that occurs when a reply to a message that also has
replies (so a message in the middle of a reply chain) has a thread
started on that message causing a hang.

My shortcut introduced to improve loading speeds by bypassing the SDKs
on-load thread single event spam created empty fake thread events
whenever it was called. It assigned each of those as a thread root
message, bypassing the SDKs various checks. As a result, when a thread
was started involving those bypassed shells, uh, they didn't always get
properly reloaded and had extraneous data causing infinite loops and
whatnot.

Now, long story short, there's an extra method that actually checks for
the thread root along with associated fixes to reduce rerenders and
calculations and... well I tried a lot of random stuff, some works, some
didn't, and to be totally honest I'm not 100% sure how all these changes
work.

But hey it works! I think thread performance is still a little worse
than the main timeline, not specifically related to this, but that's all
noted and out of scope for this 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:

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

AI was involved in the debugging stages to locate the issue and handled
the test case updates.
2026-05-09 14:54:02 -05:00
7w1 afa9f64cee Fix of wrong alignment with mixed RTL and LTR text (#743)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This PR resolves formatting and alignment issues with mixed RTL
(Right-to-Left) and LTR (Left-to-Right) text within messages.
Previously, mixed text direction caused display inconsistencies in the
main message body and the reply content area.

**Changes made:**
* Added `dir="auto"` to the base message `Text` component, allowing the
browser to automatically determine the base text direction according to
the first strongly-typed character of the message.
* Applied `unicode-bidi: plaintext` to the message content CSS and the
`Text` component inside the reply content. This ensures the browser
dynamically evaluates and handles the text direction based on the actual
characters used rather than inheriting the container's direction.
* Set `align-self: start` on the message content. This ensures that even
for RTL messages, the content block anchors appropriately to the left
side (start) of the view, while still preserving the correct internal
text direction.

#### 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).
<!-- No AI was used in the creation of this code. -->
2026-05-09 19:40:12 +00:00
7w1 5886921936 patch dollar sign spam 2026-05-08 17:27:34 -05:00
7w1 ba1578c54f prevent money talk from triggering math 2026-05-08 17:06:15 -05:00
Shea Duma ea7fe5d776 actually done with the spaces i think 2026-05-09 01:05:35 +03:00
Shea Duma fa1f386df1 kinda done with the spaces i reckon 2026-05-09 00:33:33 +03:00