Repository navigation
feat(ee): announcements - #2683
Merged
Merged
Conversation
…gs clear of banners
…page - banners measure and publish their height in a layout effect, keyed on the visible set, with one guarded publish path - the navbar and aside animate only their collapse; top, height and the top padding follow the header at once - dismissing a banner moves focus to the next close button or the main content - server paths such as file links open without the client router - a 401 from the banner poll no longer sends an idle reader to the login page - settings tables show skeletons while entitlements load, row menus get a short name, conflict toasts stay 10 s, the link popover is wider
…nd simplify the form - the kind column is now type in the migration and db types - both settings tabs load from POST /announcements with an archived flag - restore is now unarchive, with the announcement.unarchived audit event and label - the form uses selects for type and audience and clearable date pickers instead of segmented controls
…rs and settings - banners filter by the server clock and refetch when a banner area mounts again - partial index for current announcements in the migration - banners name their type for screen readers, have unique dismiss names, dividers and bold links - the banner stack is capped at 40svh and keyboard-scrollable when it overflows - login and 404 pages get a main-content focus target - settings: named date clear buttons, a toolbar like the page editor's, focus on the first error, create and update toasts, a delete confirmation that names the announcement - the in-app table of contents and docs pinned rows follow banner height changes - shared API error helper and one source for the type and color lists - tests drop repeated rules and wiring-only checks
- Kysely refuses a migration older than the last one it ran
- match the space archive filter with Current and Archived options - render only the selected list - cover switching to the archived list in the page test
- the filter uses the space filter's active value - the empty list reads "No active announcements" and the unused Current key is gone
- the settings entry shows and banners load on cloud - the cloud form hides the audience field, since only logged-in users see banners there - the server refuses the everyone audience on cloud and checks the plan for banners
- the migration adds title, text_content and a trigger-filled tsv with a GIN index - the settings page drops the status select for one list with a search box and paging - the form asks for a title first and the table leads with it over the message preview - expired announcements show as archived and the table hides Unarchive until the end moves later
- the status select returns next to the search box - switching filters goes back to the first page and keeps the search text - usePaginateAndSearch gains resetCursor - each filter has its own empty state
- the settings description, conflict alert and toast say only one can show at a time
- the announcements route no longer requires self-hosted, matching the cloud plans that grant the feature
- same row layout as the spaces list
- the form names the announcement that gets archived and when, and the save button reads "Save and replace" - the second save sends replace: true; changing the start or end asks again - banners show the newest start first, capped at ANNOUNCEMENT_MAX_VISIBLE - dismissing the newest banner does not bring back the one it replaced
- the shared emoji picker's remove action is now optional and its Remove button only shows when one is passed
- the list loads without the feature and offers only archive and delete - the settings sidebar keeps the announcements entry enabled for admins on every plan - a 404 from the list, when the server has no ee module, shows the empty list
- the business license grants announcements, like enterprise and both cloud plans - the unlicensed notice says paid editions instead of Enterprise - the license page lists announcements among the paid features
kurerere
added a commit
to kurerere/docmost
that referenced
this pull request
Nov 16, 2026
…tream * perf(search): rebuild tsvectors only when the indexed text changes (docmost#2684) * refactor: keep page trees within their space (docmost#2681) * feat(ee): announcements (docmost#2683) * New Crowdin updates (docmost#2668) * fix(collab): skip database migrations on the collab server (docmost#2685) * feat(ee): disable export (docmost#2653) * fix: update packages (docmost#2688) * New Crowdin updates (docmost#2687) * test(editor): leave tab strip drop cursor cleanup to the plugin (docmost#2691) * chore(client): disable node web storage in vitest (docmost#2690) * perf(editor-ext): faster array diff for page history compare (docmost#2689) * feat(history): highlight formatting-only changes (docmost#2692) * fix: skip unchanged history versions (docmost#2693) * feat(ee): API key scopes (docmost#2694) * feat(history): configurable page history interval (docmost#2696) * fix(history): record versions for pages with no content (docmost#2697) - skip mention and internal link extraction when page content is null - fixes submit for approval and verify on never-edited pages * fix(history): let wide tables scroll in the history modal (docmost#2699) * fix: base cursor precision (docmost#2701) * refactor: list shares through the share service (docmost#2703) * feat(ee): base csv import (docmost#2700) * fix(ee): cap API key expiration at 3 years (docmost#2704) * refactor(mail): adjust account email links (docmost#2705) * feat: status filter for space, announcement and member lists (docmost#2706) * fix: reload member lists after a member's status changes (docmost#2707) * fix: editor performance (docmost#2702) * fix: editor followup (docmost#2708) * fix(editor): resync collaboration after restoring editor state * fix(editor): release destroyed collaboration views * perf(editor): skip attribute scans without custom views --------- Co-authored-by: Philip Okugbe <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2612.