Commit Graph
1625 Commits
Author SHA1 Message Date
Evie Gauthier 4ebcdee685 Merge branch '7w1:dev' into feat/in-app-notification-banner-and-account-unread 2026-03-05 13:16:55 -05:00
7w1 e71ab94d15 Update MessageDelete.tsx 2026-03-05 11:18:14 -06:00
Evie Gauthier f6cf0d13b7 fix: resolve lint and formatting issues for quality checks 2026-03-05 00:57:08 -05:00
Evie Gauthier 5372e36153 feat(notifications): in-app notification banner, account unread counts, and Discord-style floating pill 2026-03-05 00:51:02 -05:00
7w1 8ed41cb555 Merge pull request #121 from 7w1/changelog-updates
1.3.3 Changelog updates and version bump
2026-03-04 22:35:49 -06:00
7w1 bea1aa1f61 Merge pull request #134 from CloudHub-Social/fix/sliding-sync
fix(sliding-sync): cache emoji packs, fix edit message rendering
2026-03-04 22:16:09 -06:00
7w1 f5fc86bf41 Merge pull request #127 from CloudHub-Social/fix/notification-delivery
fix: notification delivery, account switching, and unread count toggle
2026-03-04 22:11:43 -06:00
Evie Gauthier 6dcaea6bd8 fix(sliding-sync): prevent edit leakage, add required_state, re-render on Replace events, guard empty getContent() 2026-03-04 22:29:30 -05:00
Evie Gauthier 5c60536afe feat(emoji): cache image packs in localStorage to reduce sliding-sync dependency 2026-03-04 22:29:30 -05:00
Evie Gauthier 3a4961e774 feat(settings): add Show Unread Counts toggle to Visual Tweaks
Hides numeric counts on room and sidebar badges while keeping the dot
indicator active. Defaults to on. Exposed in both Appearance and
Cosmetics settings panels.
2026-03-04 22:24:19 -05:00
Evie Gauthier c2a43ec43a fix(badges): improve unread count calculation and background session highlight badges
- getUnreadInfo: guard stale-count clamp with roomHaveUnread; exclude own messages
  from clamp trigger; walk live timeline to compute real fallback counts using
  PushProcessor instead of hard-coding dot badge
- roomToUnreadAtom: remove mDirectAtom dependency for DM parent filtering;
  add ClientEvent.Room handler to seed badge state when rooms join
- sessionsHighlightAtom added to track highlight counts per inactive session
- AccountSwitcherTab: show UnreadBadge on inactive session rows and sidebar icon
2026-03-04 22:24:19 -05:00
Evie Gauthier c996e5e31b fix(notifications): iOS reliability, SW click handling, and account switching
- HandleNotificationClick moved outside ClientRoot loading gate so SW postMessages
  are never dropped during account-switch reloads
- iOS Safari event.source=null guard removed; type-check used instead
- ToRoomEvent simplified: writes pendingNotificationAtom + sets active session,
  delegates navigation to NotificationJumper
- NotificationJumper: jumpingRef prevents repeated navigation; stable performJumpRef
  avoids re-registering listeners on every atom change during account switch
- BackgroundNotifications: uses SW showNotification for reliable tap routing on iOS;
  dedupeId is now userId+eventId scoped; visibility guard prevents backgrounded
  in-app popups; ref pattern avoids stale closure on settings
- SW: persist/restore notification settings across iOS SW restarts via Cache API;
  group notifications by room (tag + renotify); prefer navigate() over postMessage
  when available; prefer visible tab on notificationclick
- pushNotification: resolveSilent respects tweaks.sound; recipientId in title;
  fallbackNotification removed (redundant)
- RoomTimeline: use ref for handleOpenEvent to stop re-pulling on every new message
2026-03-04 22:24:19 -05:00
7w1 302bfc797e Merge pull request #132 from mini-bomba/feat/quick-react
feat: quick react via message editor
2026-03-04 20:27:46 -06:00
7w1 696368ae35 Merge pull request #131 from dozro/autocapitalize-login-fix
fix automatic capitalization in login screen
2026-03-04 20:09:04 -06:00
Rye 1862e418f3 formatting using fmt 2026-03-05 02:52:33 +01:00
Rye 049a12dbc4 fix(auth): disable auto-capitalization for server and username inputs 2026-03-05 02:38:50 +01:00
mini-bomba b28160301a feat: quick react via message editor
typing `+:` in the message editor will bring up the emoticon
autocomplete prompt, where choosing an emoticon will clear the editor
and react with that emoticon under the latest message

this commit also splits the autocomplete prefixes in two: ones that can
be used anywhere in the message, and those that only work at the
beginning

also i set a default type param on one of the autocomplete query
functions because who wants to keep typing out that type everywhere all
the time
2026-03-05 02:37:58 +01:00
mini-bomba bf9b6f5111 fix(editor): make autocomplete detection split on any whitespace 2026-03-05 02:36:53 +01:00
mini-bomba 294029175e refactor(room): move reaction code to utils 2026-03-05 02:35:53 +01:00
Evie Gauthier 57822ab2b3 style: fix prettier formatting on delete button 2026-03-04 19:45:53 -05:00
Evie Gauthier d88682a297 fix: correct pending/failed message opacity levels
P500 resolves to 1.0 (fully opaque) so pending messages were not visually dimmed at all. Switch to Placeholder (0.5) for pending to match Discord's treatment, and P300 (0.75) for failed to keep it visually distinct from pending.
2026-03-04 19:45:53 -05:00
Evie Gauthier 2cf5b8382c fix: improve message send UX
- Remove 'Sending...' text from pending messages; text is now dimmed via opacity while in-flight to reduce timeline jump
- Add 'Delete' button alongside 'Retry' on failed sends, using mx.cancelPendingEvent for client-side removal
- Clear the input box immediately on send rather than waiting for the network round-trip to complete
2026-03-04 19:45:53 -05:00
7w1 c374a659bf fix #80 restore cinny light theme as an option 2026-03-04 17:07:35 -06:00
7w1 00aac67b26 fix view source scroll bar 2026-03-04 16:37:25 -06:00
7w1 d3a502843b Merge pull request #122 from dozro/cosmetic-consistent-naming-in-dm-rooms
fix consistency of room naming of dms when a nickname for the user is set
2026-03-04 14:55:59 -06:00
7w1 3cdc92f3d0 fix #119 add /discardsession command 2026-03-04 14:49:32 -06:00
Rye 494eeb71d7 fix(useRoomName): improve DM name handling with nickname support
Also use the nickname for the user in the room header for more consistency
2026-03-04 20:13:30 +01:00
7w1 ae1122035b Merge pull request #113 from jasonlaguidice/sable-msc4140
support for [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) scheduled messages
2026-03-04 12:48:34 -06:00
7w1 e7ed00e5ed bump version 2026-03-04 12:27:28 -06:00
7w1 b689aae804 lint fix 2026-03-04 12:21:36 -06:00
7w1 e6113f1661 fix #96 again - /raw, /rawmsg, /rawacc, /delacc, /setext, /delext commands for arbitrary keys in various places 2026-03-04 12:17:10 -06:00
Evie Gauthier 0d87c707e0 fix(notifications): preserve thread reply counts when clamping stale main-timeline total
getUnreadNotificationCount() aggregates both the room-level counter and all
thread notification counters. The stale-clamping logic checked whether the
latest main-timeline event was already read and, if so, set total = 0 — this
inadvertently wiped out any thread reply counts that were included in the
combined total.

Fix by reading getRoomUnreadNotificationCount() (main-timeline only) to
determine the stale portion, then subtracting only that from total rather than
zeroing the whole value. Thread highlight and total counts are preserved.
2026-03-04 10:54:25 -05:00
Evie Gauthier cabb65fcaa fix(badges): exclude DM rooms from space unread badge aggregation
When a DM room is also a child of a space, its unread counts were propagating
upward into the space's aggregated badge, causing the space to show a badge
even though the unread belonged to a direct message.

In the roomToUnreadAtom write function, check mDirectAtom before calling
getAllParents: if the room is a DM, use an empty parent set so its unread
stays isolated to the direct tab and does not roll up into any space badge.
2026-03-04 10:54:25 -05:00
Evie Gauthier 7f5c9ddf3d fix(badges): fix room nav badge counts and add dot badge for non-notifying rooms
- Use highlight count on highlighted badge, total on standard (matching the
  fix applied to other sidebar call sites)
- Add useRoomHasUnread hook that subscribes reactively to RoomEvent.Timeline
  and RoomEvent.Receipt to detect unread messages independently of push-rule
  notification counts
- When a room has unread messages but no notification count entry (e.g. a
  mentions-only room with new regular messages), show a dot badge (count=0)
  rather than no badge at all, matching the behaviour of other Matrix clients
- Also bold the room name and restore icon opacity for these rooms
2026-03-04 10:54:25 -05:00
Evie Gauthier 497d74eddf fix(badges): show highlight count on highlighted badges, total on standard
The UnreadBadge supports a separate highlight count and total count, but all
call sites were only passing the total. Update DirectTab, HomeTab, SpaceTabs,
and Search to pass the highlight count when the badge is in highlight state,
so @-mention counts are reflected accurately in the sidebar.
2026-03-04 10:54:25 -05:00
jasonlaguidice a5d0da94d6 Fix lint & style issues 2026-03-03 23:14:09 -08:00
jasonlaguidice 7e22d86a51 feat: port MSC4140 scheduled messages from cinny#2671 2026-03-03 22:56:07 -08:00
7w1 4dbf29df67 Merge pull request #94 from 7w1/changelog-updates
1.3.2 changelog and metadata updates
2026-03-03 22:23:49 -06:00
7w1 bfb1e48c1b fix logout flow 2026-03-03 22:18:52 -06:00
7w1 0de5931e6e fix scroll appearance 2026-03-03 22:10:11 -06:00
7w1 8ce8df23ba restore accidental deletion 2026-03-03 22:01:43 -06:00
7w1 e9843f1bcf lint fixes 2026-03-03 21:57:56 -06:00
7w1 5b1bfa626d add ability to set status and improve status appearance 2026-03-03 21:53:35 -06:00
7w1 202495b466 Merge pull request #108 from 7w1/cinny-silver
Cinny Silver theme partial #80 progress
2026-03-03 20:44:08 -06:00
7w1 6c96c104cc Merge pull request #98 from nushea/sable-statuses-good-hopefully-i-swear-to-god
Display acount status in the member drawer and profile card
2026-03-03 20:43:21 -06:00
7w1 5a117d20c7 Cinny Silver theme partial #80 progress 2026-03-03 20:41:35 -06:00
7w1 d68973ec22 Merge pull request #107 from 7w1/reset-timezone-fixes
fixes #103 adds a reset and relabels system button
2026-03-03 20:34:51 -06:00
7w1 fcf50d60c7 fixes #103 adds a reset and relabels system button 2026-03-03 20:32:39 -06:00
Shea Duma c09d8ca702 added chevron to status if needed 2026-03-04 04:28:44 +02:00
7w1 ed09fdd370 add raw command fixes #96 2026-03-03 20:15:53 -06:00