mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-24 02:51:17 -08:00
Cleanup changesets and fix 1417 (#1525)
<!-- 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. --> Deleted a bunch of changesets and fixes #1417 #### 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. -->
This commit is contained in:
55 files changed
+44
-198
No files matched your search
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Added a modal for viewing room details on mobile.
|
||||
Added a modal for viewing room details on smaller screens.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Adopt the existing getMouseEventCords helper at the two remaining hand-rolled coordinate literals.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Improve Android media uploads with streaming progress tracking and automatic temp file cleanup.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Collapse the duplicated preamble, reactions bar, and thread-chip blocks in the timeline event renderer into shared helpers.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Settings device name now clearly shows your device type — e.g. "Sable Desktop on Windows", "Sable Mobile on Android", or "Sable Web on Firefox for macOS"
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Add desktop keyboard shortcuts to open settings, toggle window visibility, and quit.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Desktop app now periodically checks for updates, shows an update pill in the titlebar when one is available, and lets you manually check for updates in Settings > About.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Improve desktop window layout with seamless macOS titlebars and custom Linux controls.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: minor
|
||||
---
|
||||
|
||||
# Update device display name post-login to reflect the current platform and flavor (e.g. "Sable Desktop (Nightly) on Windows").
|
||||
# Update the device display name after login to reflect the current client and build flavor.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Export diagnostics from mobile settings, bundling redacted logs and system info into a shareable archive.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Extract buildReplacementContent so message edits assemble the replacement the same way in the composer and the editor.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Dismiss overlays on Android system back instead of navigating away.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix media loading stalling on Android when browsing history.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Activate room context menu items on pointerup on Android to work around WebView click synthesis being suppressed after the long-press gesture that opens the mobile menu.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Keep message input focused after selecting autocomplete suggestions on mobile.
|
||||
Keep the message input focused after selecting autocomplete suggestions.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fixed needs to double tap a room on android
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix encrypted images and GIFs failing to render by sniffing the decrypted content type in the native media handler and skipping thumbnail requests for animated image formats.
|
||||
Fix encrypted images and GIFs failing to render, and improve media cache handling.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix pasting text into the message composer on iOS, where the webview hands the paste event an empty clipboard and nothing got inserted.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Remove the duplicate title on macos title bar. Also fixes the duplicate title bar when the custom one is enabled on macos.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Stop opening rooms (and other mobile nav surfaces) twice on a single tap, which made backing out take two back presses.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fixed the mobile nav drawer sliding permanently out of frame after the keyboard or a focus change scrolled the panel track.
|
||||
Fix the navigation drawer sliding permanently out of frame after the keyboard or a focus change scrolls the panel track.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix keyboard flickering when editing messages on mobile.
|
||||
Fix keyboard flickering when editing messages.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Restore crash reporting actions in the mobile app.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Show setting selects as a dialog on mobile instead of a bottom sheet, keep a long-pressed room's menu open, and stop wide setting tiles squeezing their title.
|
||||
Show setting selects as dialogs where appropriate, keep a long-pressed room's menu open, and stop wide setting tiles squeezing their title.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Improve mobile touch feedback and prevent accidental presses.
|
||||
Improve touch feedback and prevent accidental presses.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix encrypted message content appearing in notifications when previews are disabled, and keep push working when switching notification transports fails.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Smoother mobile navigation and faster room opening.
|
||||
Make navigation smoother and room opening faster.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Colour mobile profile sheets with the profile's hero colour again, including the drag handle and the navigation bar inset. Restore full scrolling in the pinned-messages sheet.
|
||||
Colour profile sheets with the profile's hero colour again, including the drag handle and navigation bar inset. Restore full scrolling in the pinned-messages sheet.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Switching to native push notifications now correctly uses the platform's native delivery instead of keeping the old push app.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
tauri: make sure external links open in separate browser, instead of replacing the app
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix thread messages so mentions use nicknames, inline images keep their sizing, and sender profiles come from the cache instead of rendering blank. Room avatars now load in the Tauri desktop and Android apps.
|
||||
Fix thread messages so mentions use nicknames, inline images keep their sizing, and sender profiles come from the cache instead of rendering blank. Room avatars now load reliably.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix voice recording continuing indefinitely when the record button is rapidly tapped on Android.
|
||||
Fix voice recording continuing indefinitely when the record button is rapidly tapped.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix media 401 errors, improve slow-internet media loading, and add native streaming decryption for encrypted media in Tauri.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix encrypted images failing to load on Android, and improve media loading on slow connections.
|
||||
Improve encrypted-media loading and error handling on slow connections.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: minor
|
||||
---
|
||||
|
||||
Rework the mobile emoji picker as a proper bottom sheet that keeps its size when the keyboard opens and can be swiped down to dismiss.
|
||||
Rework the emoji picker as a bottom sheet that keeps its size when the keyboard opens and can be swiped down to dismiss.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
sable: patch
|
||||
---
|
||||
|
||||
Open search, room creation, and bug reporting full-screen on mobile.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Improve mobile UX with native back button support, haptics, and iOS keyboard handling.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Add native push notifications with reply actions, content preview, and configurable gateway
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Share content via native system share menu or copy links on desktop.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Allow using native window chrome instead of the custom title bar.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Polish the account panel and settings layout on mobile.
|
||||
Polish the account panel and settings layout.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Polish the mobile chat input with adaptive send and recording controls, easier photo attachment, and more reliable Android uploads.
|
||||
Polish the chat input with adaptive send and recording controls, easier photo attachment, and more reliable uploads.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Improve message rendering consistency across views.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Remove the remaining unused exports flagged by fallow across the codebase.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Remove unused exports flagged by fallow across notification transport, command barrel, and plugin barrels.
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
# remove access to chromium features on linux (open new tab, download manager, etc)
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Keep the mobile room options sheet open instead of dismissing it as soon as the pointer leaves the room.
|
||||
Keep the room options sheet open instead of dismissing it as soon as the pointer leaves the room.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: minor
|
||||
---
|
||||
|
||||
Share text, media, and files into Sable directly from other mobile apps.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Share one settings shell between the global settings route and the room settings modal.
|
||||
@@ -2,4 +2,4 @@
|
||||
default: patch
|
||||
---
|
||||
|
||||
Add swipe-to-edit gesture on mobile messages.
|
||||
Add swipe-to-edit gestures to messages.
|
||||
@@ -3,3 +3,8 @@ default: minor
|
||||
---
|
||||
|
||||
Add beta builds for desktop and mobile.
|
||||
|
||||
- Greatly improved the mobile experience.
|
||||
- Added UnifiedPush support and improved notification reliability.
|
||||
- Improved the desktop experience with better shortcuts, updates, and window controls.
|
||||
- Improved native media handling, sharing, and diagnostics.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Made update popups use in-app modals instead of calling os native dialogs.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Updated OIDC implementation with new matrix-js-sdk version.
|
||||
@@ -33,6 +33,11 @@ describe('expandBlockBoundariesAfterSingleNewlines', () => {
|
||||
it('still expands before the first top-level list item after prose', () => {
|
||||
expect(expandBlockBoundariesAfterSingleNewlines('intro\n- item')).toBe('intro\n\n- item');
|
||||
});
|
||||
|
||||
it('does not expand block-like lines inside a fenced code block with an info string', () => {
|
||||
const md = '```text\n# heading\n- item\n+ item\n-# subheading\n1. item\n```';
|
||||
expect(expandBlockBoundariesAfterSingleNewlines(md)).toBe(md);
|
||||
});
|
||||
});
|
||||
|
||||
describe('consecutive blockquotes', () => {
|
||||
|
||||
@@ -50,7 +50,7 @@ function trySkipFenceEnd(md: string, i: number): number | null {
|
||||
if (!atLineStart) return null;
|
||||
|
||||
const rest = md.slice(i);
|
||||
const open = /^(\s{0,3})(`{3,}|~{3,})/.exec(rest);
|
||||
const open = /^( {0,3})(`{3,}|~{3,})/.exec(rest);
|
||||
if (!open?.[2]) return null;
|
||||
|
||||
const fenceStr = open[2];
|
||||
@@ -58,20 +58,26 @@ function trySkipFenceEnd(md: string, i: number): number | null {
|
||||
const openLen = fenceStr.length;
|
||||
const afterOpen = i + open[0].length;
|
||||
|
||||
if (afterOpen < md.length && md[afterOpen] === '\n') {
|
||||
const contentStart = afterOpen + 1;
|
||||
const lineEnd = md.indexOf('\n', afterOpen);
|
||||
const closeIdx = findSameLineFenceClose(md, afterOpen, tick, openLen);
|
||||
if (closeIdx >= 0) {
|
||||
let closeRun = 0;
|
||||
while (closeIdx + closeRun < md.length && md[closeIdx + closeRun] === tick) closeRun++;
|
||||
|
||||
return closeIdx + closeRun;
|
||||
}
|
||||
|
||||
if (lineEnd >= 0) {
|
||||
const info = md.slice(afterOpen, lineEnd);
|
||||
if (tick === '`' && info.includes('`')) return null;
|
||||
|
||||
const contentStart = lineEnd + 1;
|
||||
const close = findMultilineFenceEnd(md, contentStart, tick, openLen);
|
||||
if (!close) return md.length;
|
||||
return close.blockEnd;
|
||||
}
|
||||
|
||||
const closeIdx = findSameLineFenceClose(md, afterOpen, tick, openLen);
|
||||
if (closeIdx < 0) return null;
|
||||
|
||||
let closeRun = 0;
|
||||
while (closeIdx + closeRun < md.length && md[closeIdx + closeRun] === tick) closeRun++;
|
||||
|
||||
return closeIdx + closeRun;
|
||||
return null;
|
||||
}
|
||||
|
||||
function afterLeadingIndent(line: string): string {
|
||||
|
||||
Reference in new issue
Block a user