Commit Graph
4213 Commits
Author SHA1 Message Date
Tom Moor 9aad5a4bb7 feat: Add Gitea / Forgejo integration (#14336)
* feat: Add Gitea integration for issue, pull request, and repository previews

* fix: Gitea repository previews and request deadlines

Refresh the token before repository discovery, keep repository previews when
the issue tracker is disabled, and keep the request timeout active while the
response body is read.

* chore: Use the shared fetch timeout for Gitea requests

* chore: Mention Forgejo in Gitea copy and reuse the callback URL helper

* Remove service specific getters in IntegrationsStore
2026-10-25 18:04:04 -04:00
Tom MoorandClaude Opus 5.5 28af9890f9 feat: Allow document links to suppress view recording (#14334)
* feat: Allow document links to suppress view recording

Adds a suppressView query parameter that prevents a view from being
recorded when a document is opened, removing it from the URL afterwards
so that copied links record views as normal.

* refactor: Use useConsumeQueryParam to read suppressView

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 11:36:19 -04:00
Tom Moor 7c8543c242 fix: Match group settings row height to other settings tables (#14331)
Move the group description into its own column so rows fit the standard 50px height.
2026-10-24 23:20:47 -04:00
Tom Moor b0b307259a perf: Load share page chunks before the first render (#14322) 2026-10-24 18:50:57 -04:00
Tom Moor 1bdf026857 feat: Send share changes over WebSockets (#14161)
* feat: Send share changes over WebSockets

* fix: Include document members in share events and hydrate share policies

* refactor: Move share event query to a Share scope
2026-10-24 18:17:23 -04:00
Tom Moor f894fa57eb fix: Improve OAuth authorization screen (#14317)
* fix: Harden OAuth consent screen

* fix: Match consent screen path as the client router does

* fix: Apply frame policy to all app pages
2026-10-24 18:12:48 -04:00
Tom Moor 0d13c183fd chore: Add lint rules for test conventions (#14318) 2026-10-24 14:09:36 -04:00
Tom Moor b72f11b01e chore: Enforce more codebase conventions with lint rules (#14310)
* chore: Enforce more codebase conventions with lint rules

Add lint rules for request.origin, deferred useLocation reads, # private
members, lodash and date-fns subpath imports, and button types. Fix the
existing violations.

* fix: Only flag useLocation reads in event handlers and useCallback

* test: Use a fixed member name in users.list name query test
2026-10-24 13:23:25 -04:00
Tom Moor 18b229e741 fix: Do not report DOM errors caused by browser page translation (#14271) 2026-10-24 02:44:18 +00:00
Tom Moor e61b7ef21c fix: Do not report suspended user socket errors to Sentry (#14266) 2026-10-23 19:30:43 -04:00
Tom Moor 34c3dc47b4 fix: Hide Edit and Subscribe options for personal collections (#14261) 2026-10-23 07:51:58 -04:00
Tom Moor 114036bdbf feat: Warn about low contrast theme colors (#14258)
* feat: Warn about low contrast theme colors

* fix: Show contrast warning as visible text linked to the input

* fix: Align color input swatch and enlarge it on mobile
2026-10-23 02:09:50 +00:00
Tom Moor d142bf1f44 feat: Increase small text sizes on mobile (#14255) 2026-10-22 20:51:54 -04:00
Tom Moor b520be0a9e fix: Keep the document header visible while typing on mobile (#14253) 2026-10-22 20:02:49 -04:00
Tom Moor 86e274fe84 fix: Use text color for mobile header primary button in dark theme (#14252) 2026-10-22 23:49:59 +00:00
Tom Moor 959ff23a31 fix: Complete in-app passkey login without opening the browser (#14241)
The desktop app opens navigations to /auth/ paths in the system browser,
so the native form submit after a successful in-app passkey ceremony left
the app. Submit with fetch instead and navigate to the final redirect.
2026-10-22 18:31:00 -04:00
Tom Moor 4677a71bd8 fix: Stop iOS blurring the mobile header in the installed web app (#14238)
* fix: Solid mobile header in installed web app so iOS does not blur it

* fix: Start the standalone header fade opaque at the header edge
2026-10-22 18:20:55 -04:00
Tom Moor 3813d6c436 fix: Use drawer colors for mobile sidebar (#14240) 2026-10-22 18:18:59 -04:00
Tom Moor 8f628333a9 chore: Replace react-waypoint with an IntersectionObserver hook (#14209) 2026-10-21 22:35:21 -04:00
Tom Moor df48cce1d3 chore: Remove es6-error dependency (#14217) 2026-10-21 22:26:18 -04:00
Tom Moor bdfd7436e2 chore: Upgrade react-window to 2 (#14196) 2026-10-21 22:18:59 -04:00
Tom Moor 9e602f8e18 fix: Scroll settings tables horizontally on narrow screens (#14216)
* fix: Scroll settings tables horizontally on narrow screens

* fix: Header focus scroll, RTL direction, and template title truncation
2026-10-21 22:18:44 -04:00
Tom Moor c59e0f59b3 chore: Replace react-dnd with dnd-kit for sidebar (#14213)
* chore: Replace react-dnd with dnd-kit for sidebar drag and drop

* fix: Do not start sidebar drags from touch pointers
2026-10-21 21:51:21 -04:00
Tom MoorandClaude Opus 5.5 4f9cbe33b1 fix: Respect Modal height prop (#14215)
* fix: Respect Modal height prop

The height prop was overridden by a fixed max-height on the inner container. Taller modals are now also moved up so that they stay within the viewport.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: Limit Modal height to the viewport

A height larger than the viewport moved the header above the screen. The height is now capped at 90vh.

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 21:49:14 -04:00
Tom Moor a557ce824b feat: Alt-click disclosure in document explorer expands all descendants (#14200) 2026-10-21 18:19:24 -04:00
Tom Moor 418752c096 chore: Remove @juggle/resize-observer polyfill (#14204) 2026-10-21 18:19:04 -04:00
Tom Moor 89af21166b fix: Make mobile header opaque when settings table header is sticky (#14208)
* fix: Make mobile header opaque when settings table header is sticky

* Use isIntersecting for stuck detection
2026-10-21 18:18:56 -04:00
Tom Moor 6ecdc4a4f4 chore: Vendorize is-printable-key-event and styled-normalize (#14194)
* chore: Vendorize is-printable-key-event and styled-normalize

* chore: Retain MIT notices for vendored normalize CSS
2026-10-21 08:09:56 -04:00
Tom Moor 0545db9080 chore: Vendorize styled-components-breakpoint (#14191) 2026-10-21 00:02:11 -04:00
Tom Moor bc52d4b41b fix: Animate task progress dial between values (#14190) 2026-10-20 23:35:02 -04:00
Tom Moor dd2ee43dd5 feat: Sort the personal collection in the sidebar (#14187)
Adds the Sort in sidebar action to the Personal section header menu, with the
personal collection as the active model so that the action does not change the
collection that is open.
2026-10-20 23:11:57 -04:00
Tom Moor e0db189e53 feat: Run passkey login inside the desktop app (#14180)
* Run passkey login inside the desktop app when supported

Desktop apps that configure a platform authenticator expose
isPasskeySupported on the bridge. When available, the WebAuthn ceremony
runs in the app instead of the system browser. If it fails, the user can
still use a passkey from their browser.

* Name passkeys registered in the desktop app

The Chromium Touch ID authenticator reports the same AAGUID as any
Chromium browser, so passkeys from the desktop app were named
"Chromium Browser".

* Allow more than one passkey from the Chromium authenticator

The Chromium Touch ID authenticator reports the same AAGUID on every
device, so users could not register the desktop app on a second Mac.

* Disable adding passkeys in desktop apps without passkey support
2026-10-20 22:57:37 -04:00
Tom Moor 7872734bf2 fix: Hide drag handle over block menu trigger (#14183) 2026-10-20 22:26:08 -04:00
Tom Moor 71c3f79018 fix: Allow every mention notification to be turned off and unsubscribed (#14146)
* fix: Allow every mention notification to be turned off and unsubscribed

- The Mentioned and Group mentions settings now control both the document and comment event types.
- Mention, share, collection invite, and access request emails now have an unsubscribe link and List-Unsubscribe header.

* Remove test
2026-10-20 23:25:34 +00:00
Tom Moor 97c7ee4a3d Mobile: drag-to-close sidebar and touch-friendly header controls (#14179)
* feat: Mobile sidebar drag to close and touch-friendly mobile chrome

* fix: Address review feedback on mobile header and sidebar gesture
2026-10-20 23:24:33 +00:00
Tom Moor 695e973e6b feat: Allow tables inside notices (#14175)
* feat: Allow tables inside notices

Blend table, rule and code colors onto the notice background, keep table
scroll shadows inside the notice, hide full width for tables in notices,
and fit new table columns to the available width.

* fix: Leave room for table row controls in notices

* fix: Blend table grips onto the notice background

* fix: Derive notice content colors from the softer notice styles
2026-10-20 19:05:10 -04:00
Tom Moor 190c5e5148 feat: Softer notice colors with matching menu icons (#14177) 2026-10-20 18:55:51 -04:00
Tom Moor 4c9c45bcf0 fix: Mobile drawer bottom spacing and switch size (#14158) 2026-10-20 08:30:38 -04:00
Tom Moor 61e2102875 fix: Align desktop history navigation with document header (#14159) 2026-10-19 23:34:01 -04:00
Tom Moor 2f68f32b40 fix: Polish UI copy, casing, and punctuation (#14144)
* fix: Polish UI copy, casing, and punctuation across the app

* fix: Remove duplicate period in API key scope hint
2026-10-19 09:05:24 -04:00
Tom Moor 978c05bb17 perf: Remember empty unfurl results on the client (#14135)
* perf: Remember empty unfurl results on the client

* fix: Apply unfurl cooldown and request sharing to background refreshes
2026-10-18 19:03:19 -04:00
Tom Moor 9d4304a332 chore: Remove unused code (#14133)
* chore: Remove unused code

* Restore DiscordClient
2026-10-18 18:27:05 -04:00
Tom Moor e14dfcfcb4 perf: Stop restyling the document on every frame of the sidebar animation (#14132)
The document container and editor exposed their measured widths as inherited
CSS variables, so each frame of a width animation restyled every element in
the document. Full width blocks now use a container unit, and media resizing
measures the editor content width when it is needed.
2026-10-18 17:52:20 -04:00
Tom Moor 97cc147726 feat: Render Mermaid diagrams with Pele (#14126)
* feat: Render Mermaid diagrams with Pele

* fix: Translate empty diagram label

* fix: Prevent diagram flash when editors swap on load
2026-10-18 08:11:41 -04:00
Tom Moor 979a7d5702 perf: Preload share popover and document meta chunks on predicted intent (#14125)
* perf: Preload share popover chunk on share button hover

* perf: Predict click intent from cursor trajectory to preload chunks
2026-10-17 18:45:13 -04:00
Tom MoorandClaude Opus 5.5 5647621224 chore: Prune redundant comments and type suppressions (#14124)
* chore: Prune redundant comments and normalize lint directives

Removes comments that restate the following line and stale TODOs, drops
the passive event listener feature check now that all supported browsers
support it, and renames eslint directives to oxlint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BehTjuZwKbN5csMCp3H4QH

* fix: Evaluate restricted team domains at validation time

The restricted email provider list was captured when the model loaded, so
it could not follow the hosting environment and the tests that covered it
never reached the model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BehTjuZwKbN5csMCp3H4QH

* chore: Replace type suppressions with accurate types

Adds a Concrete helper type for registries of abstract classes, declares
missing Sequelize and refractor typings, uses public ProseMirror APIs, a
typed mock context helper in middleware tests, and a StaticLink component
for sidebar rows being edited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BehTjuZwKbN5csMCp3H4QH

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 17:07:39 -04:00
Tom Moor 178e923cb7 feat: Add selection toolbar for video nodes (#14118)
* feat: Add selection toolbar for video nodes

* fix: Keep video caption on replace, download video as a file

* fix: Drop removed upload progress prop from video replace
2026-10-17 12:21:46 -04:00
Tom Moor 128c240405 Render uploads with the same component as the uploaded node (#14117)
* feat: Render uploading images and videos with their node component

* fix: Insert uploaded block nodes next to the paragraph instead of inside it

* fix: Insert dropped block nodes on the nearest side of the paragraph

* feat: Fade in uploaded images and videos from their placeholder

* feat: Preview the new image while it replaces an existing one

* fix: Keep the placeholder size and preload pasted images after upload

* fix: Move the selection off an image while an upload replaces it

* feat: Play uploaded videos from the local file in the uploading editor

* feat: Display uploaded images from the local file in the uploading editor

* feat: Soften image and video corners, round them fully when selected

* feat: Render uploading attachments with the attachment component

* feat: Show the file size of an attachment while it uploads

* feat: Show upload progress on the placeholder instead of a toast

* fix: Fade the content of an uploading file but not its progress bar

* fix: Keep the local file of an upload when its placeholder is mapped away

* chore: Simplify upload placeholder state and remove unused progress callback

* Remove test

* fix: Address review feedback on upload placeholders

Expose upload progress to assistive technology outside the inert placeholder, free local files when the editor state is replaced, reuse the fadeIn animation and move the video wrapper class to EditorStyleHelper.

* chore: Move image and PDF wrapper class names to EditorStyleHelper

* feat: Scale in an upload placeholder when it appears

* chore: Make the upload placeholder scale-in more subtle
2026-10-17 12:12:25 -04:00
Tom Moor d7711ee96f perf: Render editor UI from observable state instead of forceUpdate (#14073)
* perf: Coalesce editor React renders into an animation frame

dispatchTransaction ran calculateDir and forceUpdate synchronously on every
transaction, adding a style read and a React render to each keystroke. These
now run in an animation frame, at most once every 50ms.

Refs #14069

* fix: Reset the pending render frame on unmount

StrictMode remounts the same instance, and a stale handle would stop all later renders.

* perf: Render editor UI from observable state instead of forceUpdate

Replace the coalesced animation frame render with an observable editorState.
The editor no longer re-renders its widget tree on every transaction; the
selection toolbar observes the state only while it is active, so updates stay
synchronous and typing with a collapsed caret renders nothing. The floating
toolbar no longer measures the selection while hidden.

Refs #14069
2026-10-17 11:11:46 -04:00
Tom Moor 77e0fb1e51 fix: Group all BadGatewayError reports into one Sentry issue (#14115) 2026-10-17 09:50:52 -04:00