* fix: Allow PDF embed width and height to change independently
Adds an aspect ratio lock toggle to the media dimension toolbar for PDF
embeds, renders PDFs at their stored aspect ratio, and keeps that ratio
when drag resizing.
* feat: Add corner resize handles to PDF embeds and persist aspect ratio lock
Stores the lock as an optional attachment attribute, where unset means
locked, so side handles change only the width of unlocked PDFs.
* feat: Consistent resize handles for images, videos, PDFs and embeds
All media get side, bottom and corner handles driven by one lock rule.
Images and videos stay locked. PDFs and embeds can be unlocked to resize
each axis independently.
* feat: Show width, height and lock in the embed toolbar
* feat: Start embeds unlocked and step media dimensions with arrow keys
Embeds start with an unlocked aspect ratio so full-width embeds can still
be made taller, while PDFs start locked. Up and down arrows step the
dimension inputs by 1, or 10 with shift.
* fix: Align the aspect ratio padlock with the dimension digits
* fix: Move the aspect ratio lock closer to the dimension inputs
* fix: Show the aspect ratio lock state in its tooltip
* feat: Show export completion in the notifications center
Exports now create an in-app notification with the export name, status,
format and a download button. Export emails are sent from the notification
with a one-minute delay, so they are skipped once the notification is read.
* fix: Avoid nested button in export notification and keep it after delete
* fix: Revoke export notifications when access to the source is lost
* fix: Remove icon from export notification download cue
* Add enterprise upsell plugin with placeholder settings pages
Introduces a new client-only `upsell` plugin that surfaces Enterprise-only
features as placeholder settings pages in the community edition, encouraging
self-hosted users to upgrade. The plugin is gated to non-cloud deployments
since the cloud edition already ships these features.
Adds:
- UpsellScene: a reusable upsell page (header, pitch, upgrade CTAs, and a
preview of the locked settings).
- UpsellSettingRow: an upsell variant of SettingRow that renders an
Enterprise-only setting in a locked, non-interactive state.
- EnterpriseBadge: a small badge denoting Enterprise-only features.
- Placeholder pages for Audit Log, Data Attributes, and Glean.
- A pricing URL on UrlHelper for the upgrade call to action.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ca46gcmqU5HGgoK8SFHUx
* Add Security upsell rows and Collections upsell page
Surfaces more Enterprise-only features in the community edition:
- Adds locked upsell rows to the Security settings page for two-factor
authentication, automatic sign-out, and an IP allowlist. These only render
on self-hosted instances, where the real settings are not available.
- Adds a Collections placeholder page to the upsell plugin advertising
workspace-wide collection administration.
Relocates the shared EnterpriseBadge and UpsellSettingRow components from the
plugin into app/scenes/Settings/components so core settings pages and the
plugin can both consume them without inverting the app/plugin dependency.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ca46gcmqU5HGgoK8SFHUx
* Show plan requirement on upsell pages and sidebar
Replace the placeholder Enterprise rows with a single callout that names the
minimum plan for each feature, mark upsell items in the settings sidebar with
a muted lock, and sync PlanHelper with the plan entitlements.
* Hide entitled upsells, show Glean upsell, fix billing link
* Render upsell for settings pages without the entitlement
Settings items can declare the plan feature they need. Without it, the page
shows the upsell scene in place of the real one, and upsell plugin
placeholders give way to a real page for the same feature.
* feat: Group notification settings into sections with group toggles
* fix: Restore unsaved notification settings when a save fails
* feat: Collapsible notification groups with summaries
* feat: Add filtering to tables in the editor
* Show the column filter button on header hover in edit mode
* Keep the filter button shown while its menu is open
* Move focusEditor to its own module
* Anchor the filter menu to the filter button
* Address review feedback on table filtering
* Show the filter button background while its menu is open
* Always show the filter button background with its icon
* Remove value counts and hide Clear when there is no filter
* Translations
* placeholder
Hide the sidebar search input and theme toggle on mobile public shares,
add a search icon button to the header instead, show a single header
action as a circle, and keep sidebar items clear of the header.
* feat: Make model.save() optimistic with rollback on failure
Apply saved params to the model immediately so MobX observers update
without waiting for the server, and roll the model back to its previous
state when the request fails. New models with a client-generated id are
optimistically added to the store and removed again on failure.
* chore: Apply formatter and test naming convention
* fix: Scope optimistic saves to passed fields and confirmed values
Only fields passed to save() are applied optimistically, and a failure
reverts a field only while it still holds the optimistic value. Change
hooks compare against the last confirmed values so they run when the
server responds. The optimistic store add is removed.
* refactor: Use optimistic save for preferences and field toggles
Add savePreference to User, Team and Document, and pass changed fields to
save() so they revert on failure.
* fix: Only compare incoming fields against confirmed values in change hooks
---------
Co-authored-by: Claude <noreply@anthropic.com>
* Redesign search filters
* Design refinement
* Search filter polish: chip states, Text components, Published filter
* Encode search filters as <field>.<operator> URL params
Filters read and write a standard <field>.<operator>=<value> format, a
bare key reads as eq, and the previous dateFilter, statusFilter and
titleFilter params are still read.
* Add custom date ranges to search date filters
Updated, Created and Published get a Custom option that opens a range
calendar in a modal. The range is stored as <field>.gte and <field>.lte
dates and sent to the API as whole days in local time.
* Keep date filter chip shown while its range dialog is open
* Align calendar with modal edges
The calendar had its own 12px padding, so in modals it sat inside the
title and footer edges. The popovers that need the space now pad it.
* Search filter refinements: menu height, chip spacing, steady results line
* Simplify search filters and address review comments
Parse each filter once per URL change, unify URL writes, share status and
date helpers with the server, add a maxHeight prop to MenuContent, ignore
counts from obsolete searches, and show the empty state for filter-only
searches.
* Refine filter chip remove button and skip animation on auto-opened menus
* feat: Expiry column and expiry menu for shared links
Adds an Expires column to the shared links table and a Set expiry submenu
with presets, a custom date dialog and removal. Also loads document
memberships in shares.list so the update policy is correct.
* fix: Hide share expiry menu when workspace sharing is disabled
* refactor: Load share document memberships in the list query
* feat: Auto-save General and Profile settings, add settings sections
- Save General and Profile fields on change and remove the Save button
- Add SettingsSection with consistent spacing and a tinted Danger block
- Right-align setting controls and center switches in their row
- Let descriptions use the full row width beside switches
* fix: Avoid settings autosave overwrites and IME Enter saves
- Send only the changed team preference so concurrent saves do not revert each other
- Save separate editing as a single preference instead of the whole team
- Treat a cleared color input as empty so the default is restored
- Ignore Enter during IME composition
* feat: Add change and remove icon buttons below image inputs
- Replace the Remove button with edit and trash icon buttons with tooltips
- Show an upload icon on the image hover overlay
- Re-render ImageInput when the image changes so the remove action appears immediately
* feat: Use footer buttons in the change profile picture dialog
- Add Replace and Delete buttons beside Done in the admin avatar dialog
- Add showActions and an open handle to ImageInput so dialogs can supply their own controls
* fix: Style the danger section with an outer shadow instead of tinted text
* feat: Filter menu items by typing
Typing in an open context menu, dropdown menu or editor toolbar dropdown shows a filter row and filters the items. Focus stays on the menu items, so the arrow keys still navigate, and the menu keeps its position and width while filtering.
* fix: Focus first menu item when Escape clears the filter
* fix: Accept AltGr characters and emoji in the menu filter
* refactor: Use isTextInput helper in menu filter
* fix: Text cursor, select all and selection delete in the menu filter
* Refactor to use real input
* fix: Keep the focused menu item highlighted while filtering
* 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
* 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
* 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
* 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
* 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
* 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>
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.