Commit Graph
4075 Commits
Author SHA1 Message Date
Evie Gauthier 0d4d449d5e fix(notifications): use orphan parent space for deep-link navigation
useNotificationJumper was using roomToParents.get(roomId) — the direct
parent set — which could be a subspace rather than a root-level space.
The router only recognises /space/<root-space-id>/room paths, so linking
via a subspace ID would hit JoinBeforeNavigate instead of opening the room.

Replace with the same logic as useRoomNavigate:
  getOrphanParents() walks the full hierarchy to find root-level spaces,
  guessPerfectParent() picks the best one to route through.
2026-03-09 21:39:49 -04:00
Evie Gauthier 7041c7e62a fix(notifications): revert DM badge highlight — only highlight on actual mentions/replies 2026-03-09 21:39:49 -04:00
Evie Gauthier 98f1535fd8 fix(notifications): treat DMs as loud regardless of mention/push-rule sound tweak
Two bugs caused by sliding sync's limited required_state (only $ME member):

1. DM badge was grey instead of green
   Synapse sends highlight_count=0 for DMs without mention; the badge only
   showed as Success (green) when highlight>0. DMs should always display
   the green badge for any unread. Fix: RoomNavItem treats direct && total>0
   as highlight for the UnreadBadge highlight prop.

2. DM OS notification was silent
   PushProcessor evaluates .m.rule.room_one_to_one by checking
   room_member_count==2, but with only m.room.member/$ME in required_state
   the member count is 1, so the rule fails. Events fall through to
   .m.rule.message (notify, no sound), leaving loudByRule=false and the
   OS notification silent:true. Fix: isLoud = loudByRule || isDM so that
   known DM rooms always produce non-silent notifications when sounds are on.
2026-03-09 21:39:49 -04:00
Evie Gauthier 6eeb0d6a47 chore: add changeset for notification delivery fixes 2026-03-09 21:39:49 -04:00
Evie Gauthier d87d720c7a fix: notification delivery bugs (push sound, OS notifications, in-app audio, media session)
- resolveSilent = () => false — OS/Sygnal handles push sound entirely; the
  in-app sound setting no longer affects push notification sound
- remove notificationSoundEnabled from SW postMessage payload
- move OS notification block before visibilityState guard so desktop
  notifications fire even when the browser window is minimised
- pass isEncryptedRoom:false for in-app banner preview — events are already
  decrypted by the SDK so the actual message body is always shown
- call clearMediaSessionQuickly() after play() to dismiss the iOS lock screen
  media player; only clears playbackState if no real media metadata is set
2026-03-09 21:39:49 -04:00
7w1 43b72a15a4 Merge pull request #112 from SableClient/chore/ci-knope-release-pipeline
chore: knope release pipeline and other ci stuff
2026-03-09 20:31:58 -05:00
hazre dfcac585eb ci: fix default branch name 2026-03-10 02:28:05 +01:00
Krishan 37e0c2aaac chore(deps): continue action if login fails (#2758)
chore(action): continue action if login fails
2026-03-10 12:26:55 +11:00
Krishan 296249de32 chore: enable semantic check on PR title (#2447)
* Enable semantic check on PR title

* Update semantic pull request action version

* Update PR trigger types in workflow configuration

Removed 'reopened' and 'synchronize' types from pull request triggers.
2026-03-10 12:26:25 +11:00
hazre c5c7546563 ci: make preview build comments more pretty 2026-03-10 02:03:04 +01:00
hazre d85a9cc2ec ci: make require changeset workflow smarter 2026-03-10 01:46:55 +01:00
hazre 15e14b9363 style: fix formatting 2026-03-10 01:41:57 +01:00
hazre 9157d04db4 chore: harden npm dependencies to avoid supply chain attacks 2026-03-10 01:40:39 +01:00
hazre 8b874ec2e8 ci: make dependabot handle everything 2026-03-10 01:40:38 +01:00
hazre 0381c0a05b ci: use setup action in docker publish workflow 2026-03-10 01:40:38 +01:00
hazre d9f0e1cd93 ci: fix double quality checks 2026-03-10 01:40:38 +01:00
hazre c201b93608 ci: add direct upload cloudflare previews
This should mitigate using cf build minutes hopefully
2026-03-10 01:40:38 +01:00
hazre 6f8bc35e7b ci(knope): ditch knope bot in favor of our own ci workflows 2026-03-10 01:40:38 +01:00
Evie Gauthier 8524f18a5f fix: update GITHUB_REPO constant to SableClient/Sable 2026-03-09 19:28:05 -04:00
Evie Gauthier 2786964909 chore: fix changeset formatting (prettier) 2026-03-09 19:28:05 -04:00
Evie Gauthier 8e78ddd198 fix: remove stray conflict marker in useCommands.ts 2026-03-09 19:28:05 -04:00
Evie Gauthier 8bbcba4b27 chore: update changeset and commit /bugreport rename 2026-03-09 19:28:05 -04:00
Evie Gauthier 214e33164b feat(bug-report): match form fields to GitHub issue templates
Bug form: description (req), reproduction, expected-behavior, platform
(auto), context — matching bug_report.yml field ids.

Feature form: problem (req), solution (req), alternatives, context —
matching feature_request.yml field ids.

URL now uses template=<file>.yml and the field ids as query params so
GitHub pre-fills each form field directly, bypassing the template picker.
2026-03-09 19:28:05 -04:00
Evie Gauthier 4ce1bd4ffa feat: in-app bug report and feature request modal
- Add BugReportModal component with type selector (bug/feature)
- Debounced GitHub Search API integration for similar open issues
- Auto-populate platform info (Sable version, user agent) for bugs
- /report slash command opens the modal
- 'Report an Issue' button in Settings > About
- Uses existing Jotai atom + hooks pattern (bugReportOpenAtom)
- No authentication required; submits to GitHub pre-fill URL
2026-03-09 19:28:05 -04:00
7w1 f529e9ed4c Merge pull request #110 from SableClient/7w1-patch-2
Comment out pull_request.title in knope.toml
2026-03-09 17:45:39 -05:00
7w1 d9155bce35 Comment out pull_request.title in knope.toml
Comment out the pull_request.title configuration.
2026-03-09 17:44:08 -05:00
7w1 4315b05e1c Merge pull request #98 from Just-Insane/fix/notification-banner
fix: in-app notification banner placement
2026-03-09 17:36:16 -05:00
Rye 6f56e4fb07 fix spelling mistake lol 2026-03-09 23:28:55 +01:00
Rye e97467dde7 Merge branch 'feat/steal-sticker-alt' of https://github.com/dozro/Sable2 into feat/steal-sticker-alt 2026-03-09 23:26:13 +01:00
Rye a9595ba216 fix of issue where the mimetype was swapped with the body 2026-03-09 23:25:36 +01:00
7w1 2b6484258c Merge pull request #5 from dozro/fix/forwarding-button-duplicate-forwards
Manage forwarding state to prevent duplicate forwards in MessageForwardInternal
2026-03-09 17:20:47 -05:00
Rose e4fb834402 added Changeset 2026-03-09 23:10:04 +01:00
Rose d81cda6833 Add changeset to manage message forwarding state
Prevent multiple forwards of a message if sending is slow
2026-03-09 23:06:09 +01:00
Rye 3bdad5ddb4 add functionality to add a sticker you see in a message to the user's sticker pack 2026-03-09 23:03:19 +01:00
Evie Gauthier cfb410dc5b Merge pull request #106 from Just-Insane/chore/update-repo-references
chore: update all repo references to SableClient/Sable
2026-03-09 17:54:19 -04:00
Evie Gauthier ba87ff7635 chore: add changeset and fix prettier formatting 2026-03-09 17:52:32 -04:00
Evie Gauthier 779a91f9e8 chore: update all repo references to SableClient/Sable
The project has moved from github.com/7w1/sable to
github.com/SableClient/Sable. Update all non-historical
references throughout the codebase:

- README.md: github.com and ghcr.io links
- CONTRIBUTING.md: issues link
- .github/ISSUE_TEMPLATE/bug_report.yml: existing-issues search link
- knope.toml: owner/repo for release automation
- src/app/features/settings/about/About.tsx: repo + pulls links
- src/app/pages/auth/AuthFooter.tsx: repo link
- src/app/pages/client/WelcomePage.tsx: source + changelog links

Historical PR/issue links in CHANGELOG.md and issue-specific deep-links
(e.g. github.com/7w1/sable/issues/146) are intentionally left pointing
to the old repo where those items live.
2026-03-09 17:47:26 -04:00
7w1 454dce2753 Merge pull request #1 from dozro/patch-1
Add restrictions on generative AI usage in contributions
2026-03-09 16:37:02 -05:00
Evie Gauthier 198d7f068b Merge branch 'dev' into fix/notification-banner 2026-03-09 17:34:41 -04:00
7w1 780d5c6b1c Merge pull request #104 from SableClient/changeset-updates
test workflow release prep
2026-03-09 16:31:33 -05:00
7w1 46ec98a362 Merge branch 'dev' into changeset-updates 2026-03-09 16:27:29 -05:00
7w1 bff06ce80e changesets 2026-03-09 16:27:10 -05:00
7w1 65be06ea0f changesets 2026-03-09 16:22:39 -05:00
7w1 937aff69a6 Merge branch 'dev' into fix/forwarding-button-duplicate-forwards 2026-03-09 16:10:37 -05:00
Evie Gauthier 652c487544 chore: fix changeset formatting (prettier) 2026-03-09 17:08:03 -04:00
Evie Gauthier 780591580f fix: remove NotificationBanner from ClientNonUIFeatures
Completes the placement move — banner is now rendered only in
ClientLayout as position:fixed.
2026-03-09 16:57:39 -04:00
Evie Gauthier 27600e2e63 chore: add changeset for notification banner fix 2026-03-09 16:57:39 -04:00
7w1 152bca3fe9 Merge branch 'dev' into patch-1 2026-03-09 15:57:24 -05:00
7w1 4f408abdc7 Merge pull request #8 from SableClient/7w1-patch-1
Delete .github/CODEOWNERS
2026-03-09 14:48:06 -05:00
7w1 2e156f55e5 Delete .github/CODEOWNERS 2026-03-09 14:47:53 -05:00