Commit Graph
2920 Commits
Author SHA1 Message Date
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
Shea Duma 55cae95f6e added more styling in regard to the room sidebar, more to come 2026-05-08 23:33:17 +03:00
Shea Duma 1e2351d069 small forgotten change from testing 2026-05-08 08:00:32 +03:00
Shea Duma e563d52740 better compliance to landscape view limitations 2026-05-08 07:50:24 +03:00
Shea Duma 1fd0981231 added a unique selector for all the panels in the settings 2026-05-08 07:30:44 +03:00
Shea Duma cac58ac478 added more items 2026-05-08 07:01:56 +03:00
Shea Duma 5f3fbad0ec fix weird test issue 2026-05-07 18:27:55 +03:00
Shea Duma cf87bab0e1 added settings for setting the icon showing 2026-05-07 18:13:43 +03:00
Shea Duma 2ed838a4e1 merged upstream 2026-05-07 16:35:18 +03:00
Shea Duma 115f1f7c38 pre-merge 2026-05-07 16:18:46 +03:00
7w1 f8a9a8fccf changeset and tests 2026-05-07 00:33:30 -05:00
7w1 a071e26b8a fix & harden pmp logic 2026-05-07 00:20:21 -05:00
7w1 967b28b1e7 reescape arrows and update workflow to suppress preveiws 2026-05-06 21:22:27 -05:00
7w1 cedddcd6b4 Update markdownToHtml.ts 2026-05-06 20:50:32 -05:00
7w1 462fab41e7 Merge branch 'dev' into fix-markdown-escape-code-blocks 2026-05-06 20:44:05 -05:00
7w1 0996def084 merge dev 2026-05-06 20:28:17 -05:00
7w1 000e9ba170 Add console scam warning (#760)
<!-- 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 bunch of messages warning about pasting into console. Currently
set to repeat 15 times with 300 ms delay, maybe excessive? Noticed that
when the client starts a *lot* of messages get spammed into console that
quickly bury the warning message, so... extra is probably better than
accidentally missing it when someone has console open before the page
loads fully.

<img height="600" alt="image"
src="https://github.com/user-attachments/assets/2bdb0075-525a-4d96-929d-a94594ff9560"
/>

Internal since I don't think this matters too much to anyone.

Checks for console open by comparing the window size to the inner size,
triggered on any window resize and running every couple seconds in the
background.

#### 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-06 20:21:31 -05:00
7w1 8a36e22bc4 Fix jumping to arbitrary events (#759)
<!-- 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. -->

Allows jumping to state events/reactions/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:

- [ ] 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-06 20:20:08 -05:00
7w1 224623fe7e Fix some markdown behaviors (#758)
<!-- 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 blockquote behaviors (requires a space after > and only a single
backslash to escape)
Fixes latex getting parsed inside of codeblocks.

#### 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-06 20:13:48 -05:00
7w1 2c26d92656 Fix tweak favoriting behavior (#757)
<!-- 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. -->

Disabling a tweak that was automatically favorited no longer
unfavorites.
Disabling a tweak inside of the catalog menu that was favorited manually
or was from a previous tweak browsing session no longer automatically
unfavorites.

#### 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-06 20:11:27 -05:00
7w1 6f0470890f add toolbar to other places 2026-05-06 20:05:30 -05:00
7w1 336140008d add back toolbar 2026-05-06 19:48:23 -05:00
7w1 22f49b7f2a fix extraneous escape sequences when editing within codeblocks 2026-05-06 19:06:35 -05:00
7w1 099ca05f4c other typo spot 2026-05-06 17:39:54 -05:00
7w1 8cd927ae37 changeset and fix unrelated typo in pins text 2026-05-06 17:38:59 -05:00
7w1 6ac4049bab add underline with __ 2026-05-06 17:32:47 -05:00
7w1 f033320bdd formatting 2026-05-06 17:14:12 -05:00
7w1 acb0ae3a93 increase amount to get past initial console log spam 2026-05-06 17:10:22 -05:00
7w1 ce9a59a5ab scam warning 2026-05-06 16:56:43 -05:00
7w1 a84e073640 fix jumping 2026-05-06 12:19:50 -05:00
7w1 861cce92ad fix latex in codeblock behavior 2026-05-06 11:51:47 -05:00
7w1 b5373133ff fix blockquote markdown behavior 2026-05-06 11:20:54 -05:00
7w1 b87af7ae09 fix tweak favoriting behavior 2026-05-06 11:04:06 -05:00
7w1 8c159f5fe9 fix tweaks not applying to themes 2026-05-06 10:42:10 -05:00
7w1 3603c87f7f Fix empty messages (#754)
<!-- 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. -->

Ignore the branch name lol

Removes a single line that... i don't think is supposed to be there? Not
sure why it's there... hopefully it wasn't important.

#### 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-05 17:33:55 -05:00
7w1 aa93278d6d fix empty messages 2026-05-05 17:27:50 -05:00
7w1 48c2390435 Fix cats key from refractor (#753)
<!-- 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 has_cats key that was set to has_cat in #746 

#### 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-05 16:34:21 -05:00
7w1 dda9d6e024 fix cats key from refractor 2026-05-05 16:28:23 -05:00
7w1 7ef0f61d94 fix matrixto link rendering 2026-05-05 16:18:20 -05:00
7w1 34fbfdacbe Refactor codebase and standardize unstable prefix usage (#746)
### Description

This pull request standardizes the usage of Matrix event content keys by
replacing hardcoded property names and older constants with centralized,
unstable prefix constants imported from the `$unstable/prefixes` module.
This change improves maintainability and consistency across the
codebase, especially in handling experimental or non-standard Matrix
properties.

The most important changes are as follows:

##### Prefix Standardization and Centralization 
Replaced all hardcoded Matrix property names and older constants (e.g.,
`'com.beeper.per_message_profile'`, `'com.beeper.linkpreviews'`, etc.)
with corresponding constants from the `$unstable/prefixes` module
throughout the codebase, including message rendering, room creation,
user profiles, and input handling.

##### Message Content Handling
Updated all logic for reading, writing, and deleting Matrix event
content properties (e.g., per-message profiles, link previews, image
source packs, spoilers, blur hashes, forward metadata) to use the new
prefix constants, ensuring consistent access and mutation of event
content.

##### User Profile and Room Metadata
Updated user profile extended keys (such as bio, banner, pronouns,
timezone, animal identity) in `UserRoomProfile.tsx` to use the new
prefix constants, replacing all previous hardcoded or legacy key
strings.

##### Room Creation and Calls
Changed the room call state event type to use the new unstable prefix
constant in room creation utilities.

##### Code Clean-up
Removed now-unused imports of old constants from files where they have
been replaced with the new prefix-based constants.

These changes collectively improve the code's future compatibility with
evolving Matrix specifications and make it easier to update property
names as they stabilize.

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

Shouldn't cause user facing changes

### Checklist:

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

No AI usage
2026-05-05 15:25:53 -05:00
7w1 a17f6190c1 fix muted rooms showing notification dots 2026-05-05 15:16:04 -05:00
7w1 bdf1e9d707 Fix emoticon not properly converting when editing messages (#749)
<!-- 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 emoticon not properly converting when editing messages

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

- [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-05 14:28:15 -05:00
7w1 e935fe0717 fix test 2026-05-05 14:20:15 -05:00
7w1 60c9db8c52 fix emoticon not properly converting when editing messages 2026-05-05 13:54:14 -05:00
7w1 f1cf1f42d6 Fix sliding sync stack crash (#748)
<!-- 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 crash on load. This may break something else in slidingsync,
but imo that's not too important for now.

Fixes #741 

#### 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-05 13:45:39 -05:00
7w1 6116c6411e fix sliding sync recursion by avoiding notif fixup reentry 2026-05-05 13:34:45 -05:00
Rye e6858778c2 refactor: standardize usage of unstable prefixes across components 2026-05-05 18:21:36 +02:00
Rye 8ecd3e80fb refactor(unstable prefixes): inital refactor to clean up the codebase 2026-05-05 16:47:02 +02:00
Shea Duma 38f0b9f750 fix potentially wrongly made links 2026-05-05 17:08:29 +03:00