Commit Graph
4262 Commits
Author SHA1 Message Date
Tom Moor fb7b024489 chore: Move link actions to their own module and inline link checks 2026-11-11 21:18:44 -05:00
Tom Moor 080a9e59c8 chore: Simplify sidebar link code 2026-11-11 21:04:54 -05:00
Tom Moor 55bd1f36c1 Merge remote-tracking branch 'origin/main' into tommoor/external-sidebar-links-add
# Conflicts:
#	app/components/Sidebar/components/DocumentRow.tsx
2026-11-11 19:41:58 -05:00
Tom Moor bca9c53139 fix: Address review feedback on sidebar links 2026-11-11 19:31:48 -05:00
Tom Moor 7589ce38de fix: New doc input indent and Shared with me nested docs (#14531)
* fix: Match nested new doc input to child document indent

* fix: Allow creating nested docs from Shared with me rows
2026-11-11 19:18:37 -05:00
Tom Moor 744f6e6ded feat: Add link action and top section to the collection menu 2026-11-11 18:48:41 -05:00
Tom Moor 6a32a349d0 feat: Save a url pasted into the sidebar new doc input at once 2026-11-11 18:33:18 -05:00
Tom Moor ece72832db fix: Do not rethrow save errors from EditableTitle 2026-11-11 18:33:13 -05:00
Tom Moor 0d385cb09a feat: Add a link when a url is entered in the sidebar new doc input 2026-11-11 18:01:07 -05:00
Tom Moor 39a6df0c73 fix: Only show link actions in the sidebar document menus 2026-11-11 11:45:10 -05:00
Tom Moor 394ac42d17 feat: Add link actions to the document menu 2026-11-11 11:05:49 -05:00
Tom Moor 713a2b511d fix: Show nested shared documents under their shared parent in sidebar (#14526)
* fix: Show nested shared documents under their shared parent in sidebar

* fix: Select shared roots from ancestor grants, ignore stale cached trees

* Revert ancestor walk in membership list queries
2026-11-11 08:27:50 -05:00
Tom Moor ca43faa76f fix: Open internal sidebar links at the canonical location 2026-11-11 08:15:09 -05:00
Tom Moor e1a1d753a2 feat: Open sidebar links to this app through the router 2026-11-10 09:04:30 -05:00
Tom Moor 08f4e59136 feat: Fill the link title from the unfurl endpoint 2026-11-10 07:29:53 -05:00
Tom Moor 06ace0c54b fix: Do not show a changing title placeholder in the link dialog 2026-11-10 07:28:40 -05:00
Tom Moor 3d9e6bd20d feat: Alt+click on the sidebar add button creates a document 2026-11-10 07:28:37 -05:00
Tom Moor 283b254fea fix: Keep sidebar row active while the add menu is open 2026-11-10 07:27:32 -05:00
Tom Moor d75c243763 feat: Allow sidebar links to be dragged to reorder 2026-11-10 07:24:43 -05:00
Tom Moor fcf3f41a58 feat: Add external links to the sidebar 2026-11-10 07:20:35 -05:00
Tom Moor a40198a97d feat: Add expiry dates for public share links (#14513)
* wip

* fix: Treat null expiresAt as no expiry when creating a share

* fix: Add bottom padding to share notices
2026-11-09 22:29:49 -05:00
Tom MoorandClaude f680d5dec9 feat: Display links, documents and collections as preview cards (#14511)
* feat: Display links as preview cards

Adds a display attribute to mentions so a link can render either inline
or as a card with image, title and description from its unfurl. Pasting
a URL offers a "Card" option, and selecting a link mention shows a
toolbar to switch between the two displays.

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

* feat: Arrow key selection, full width and Return for link cards

Cards fill the document width, hide the blank line below them, are selected
by the up and down arrow keys like images, and Return on a selected card
adds a paragraph below it.

* feat: Display document and collection mentions as cards

Document and collection mentions can be switched to a card from the
selection toolbar. Document cards show the summary, collection and the
first image larger than 100x100. Collection cards show the first line of
the description. On public shares the preview image is signed, as the
share page already signs the attachments of that document. Card images
are hidden until they load and removed if they fail.

* feat: Keep mention cards through Markdown

The card display is written as the link title, so URLs are not changed.
Document and collection cards are written as @ links to their id and
parsed back into mentions.

* refactor: Move mention cards to their own file

Document cards show the collection after the title instead of below it.

* fix: Address review feedback on mention cards

- Include the share id in the document card unfurl URL for root shares.
- Return on a card in a heading adds a paragraph.
- URL cards keep their URL in Markdown, and the server does not narrow
  their type.
- Unfurl results apply to the current node, not the node at first render.
- Collection card descriptions stop at the first line break.

* refactor: Reuse existing helpers for mention cards

- Sign the preview image with TextHelper.attachmentsToSignedUrls.
- Check document and collection ids with isUUID.
- Return lines from getFirstText without changing an input array.

* fix: Preserve JSON output for inline mentions

* refactor: Centralize mention selection classes

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 08:11:31 -05:00
Tom Moor f70428c338 fix: Retain scroll position when switching between "edit" mode (#14415)
* fix: Clicking Edit scrolls to the top of the document

* fix: Restore scroll after node views render

* fix: Switch to editing without redrawing the document

* fix: Keep Yjs undo working after switching to editing
2026-11-06 22:41:32 -05:00
Tom Moor cf119ea041 chore: Check English translation strings for common grammar errors (#14505)
* chore: Check English translation strings for common grammar errors

* chore: Apply grammar checks to plural translation values
2026-11-06 19:31:57 -05:00
Tom Moor d783007558 fix: Compare to the current version when no revision is selected (#14493)
* fix: Compare to the current version when no revision is selected

* chore: Use query-string to build the compare location

* fix: Open the current version until revision content loads, skip deleted documents
2026-11-06 19:05:37 -05:00
Tom Moor 34f746ee9e chore: Remove emoji-mart runtime dependency (#14500)
* chore: Remove emoji-mart runtime dependency

* fix: Exclude unavailable emoji from the search haystack

* fix: Use an Emoji 2.0 sequence for the version 2 probe
2026-11-06 19:03:47 -05:00
Tom Moor 0caebe9cc3 fix: Correct grammar and US spelling in translation strings (#14504) 2026-11-06 18:41:23 -05:00
Tom Moor 3cdf0c0979 fix: Keep extensions in toDropzoneAccept when there are no mime types (#14502) 2026-11-06 18:28:00 -05:00
Tom Moor fe50488c97 feat: Allow selecting a destination when importing (#14486)
* feat: allow selecting import destination

* fix: address import destination review findings

* feat: multi-step import dialog with workspace root location

- Import dialog is now upload then location, the same height as the move dialog
- Document explorer lists the workspace as the root and marks the selected row
- A document export with a sibling folder merges into one document, or becomes
  the collection overview when creating new collections
- Destination document checks now rely on the createChildDocument policy

* fix: delete archived imported documents and read legacy task inputs

- Deleting an import now removes the children of archived imported documents
- Tasks queued before the rename to rootExternalId are still assigned correctly
2026-11-06 08:05:31 -05:00
Tom MoorandClaude Opus 5.5 6eaff102a9 feat: Add server-driven rows to useTableRequest and date range helpers (#14483)
* feat: Add server-driven rows to useTableRequest and date range helpers

- useTableRequest: `data` is now optional, when omitted the hook displays the
  rows returned by the server for the current params. Needed when server-side
  filtering cannot be reproduced against a client store.
- Add `dateToTimestamp` and `dateRangeToReadable` localized date formatters.
- Calendar: style the days between the start and end of a range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Delete app/hooks/useTableRequest.test.tsx

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 02:09:57 +00:00
dependabot[bot]andTom Moor d3aeabef51 chore(deps): bump es-toolkit from 1.47.1 to 1.53.0 (#14472)
* chore(deps): bump es-toolkit from 1.47.1 to 1.53.0

Bumps [es-toolkit](https://github.com/toss/es-toolkit) from 1.47.1 to 1.53.0.
- [Release notes](https://github.com/toss/es-toolkit/releases)
- [Changelog](https://github.com/toss/es-toolkit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/toss/es-toolkit/compare/v1.47.1...v1.53.0)

---
updated-dependencies:
- dependency-name: es-toolkit
  dependency-version: 1.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* test: Update deburrWithMap tests for es-toolkit 1.53 deburr behavior

deburr no longer decomposes Hangul, so cover the slow path with letters that still expand.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
2026-11-06 01:39:02 +00:00
Tom Moor f0401f83e7 chore: Remove unnecessary URL parsing (#14454) 2026-11-02 21:14:53 -05:00
Tom Moor 133fba4dd0 feat: Show workspace chooser on root domain for multiple sessions (#14013)
* feat: Show workspace chooser on root domain when signed in to several workspaces

* chore: Update translation strings
2026-11-02 20:34:02 -05:00
Tom Moor 6d7cd455e9 chore: Decouple core plugins (#14340)
* chore: Move plugin-specific integration code into plugins

Core no longer imports from or names the settings of individual plugins.
Plugins now register mention providers, issue status icons, instance URLs,
settings keys, settings and import schemas, and OAuth clients through hooks.

* fix: Recompute embed instance URLs after plugins load and match legacy issue icons by URL

* fix: Skip logo upload jobs queued without a settings path

* chore: Choose issue status icons from the unfurl state
2026-11-02 19:42:48 -05:00
Tom Moor 5901b1213c fix: Store stable attachment urls when pasting signed urls (#14451)
* fix: Store stable attachment urls when pasting signed urls

* fix: Normalize single pasted signed urls, resolve url before internal check
2026-11-02 19:15:49 -05:00
Tom Moor fedc50d8e7 fix: Pasting list content at the start of an item nests a new list (#14453)
* fix: Pasting list content at the start of an item nests a new list

* test: Cover pasting over a selection that spans list items
2026-11-02 18:37:49 -05:00
Tom Moor d15d61d79d fix: Stop reporting expected client errors to Sentry (#14448) 2026-11-02 17:48:35 -05:00
Tom Moor 5b10e046f0 fix: Show workspace logged out state as muted menu badge (#14436)
* fix: Show workspace logged out state as muted menu badge

* fix: Render menu badges in mobile menus
2026-11-01 09:48:21 -05:00
Tom Moor 5b13e915d8 fix: Stale workspace entries in sessions cookie (#14035)
* Fix stale workspace entries in sessions cookie

* Use authenticated token expiry for workspace session entries

* Remember logged-out workspaces for three months after last use

* Remove excessive tests

* Fix auth info test to send a real sessions cookie
2026-10-31 14:56:00 -04:00
Tom Moor a9428805c1 feat: Show code block toolbar on hover in read-only editors (#14432)
* feat: Show code block toolbar on hover in read-only editors

* fix: Keep hover toolbar while focused, use tap path on touch-only devices
2026-10-31 14:55:04 -04:00
Tom Moor bd7fc38ddb feat: Generate Pinyin slugs for Chinese document titles (#14375)
Slugs are now generated only on the server, which lazily loads pinyin-pro.
The client reads the path from the API rather than computing it.
2026-10-31 11:12:24 -04:00
Tom Moor b7463fd2f0 fix: Enable separate editing for current user when enabling workspace setting (#14425) 2026-10-30 08:00:24 -04:00
Tom Moor def01b0fa8 feat: Mobile undo button and new doc button on collections (#14413)
* feat: Mobile undo button, new doc button on collections, and dark overscroll fix

* fix: Parse viewport meta before theme bootstrap script
2026-10-29 23:39:17 -04:00
Tom Moor 586aec3c11 feat: Show documents edited by me on the Home tab (#14412)
* feat: Show documents edited by me on the Home tab

* test: Cover editedByUser selection
2026-10-29 23:39:09 -04:00
Tom Moor 2fac7404e0 feat: Show outline document icon for empty documents (#14373)
* feat: Show outline document icon for empty documents

* fix: Rebuild recent document actions when document state changes

* feat: Thinner outline icon for empty documents
2026-10-29 18:51:08 -04:00
Tom Moor 98d1e83c48 fix: Only detect the Outline desktop app, not any Electron browser (#14387) 2026-10-29 08:40:09 -04:00
Tom Moor d3b0943527 fix: Avatar uploads send an undefined file name (#14367) 2026-10-27 19:18:56 -04:00
Tom Moor 0d61a3e68b fix: Close open modals when navigating to another page (#14365) 2026-10-27 17:58:42 -04:00
Tom Moor 57d438d88e feat: Add Move to the document selection toolbar (#14350)
* feat: Add Move to the document selection toolbar

* fix: Load source collection trees before moving documents
2026-10-26 22:12:23 -04:00
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