feat: internal page links and mentions (#604)

* Work on mentions

* fix: properly parse page slug

* fix editor suggestion bugs

* mentions must start with whitespace

* add icon to page mention render

* feat: backlinks - WIP

* UI - WIP

* permissions check
* use FTS for page suggestion

* cleanup

* WIP

* page title fallback

* feat: handle internal link paste

* link styling

* WIP

* Switch back to LIKE operator for search suggestion

* WIP
* scope to workspaceId
* still create link for pages not found

* select necessary columns

* cleanups
This commit is contained in:
Philip Okugbe
2025-02-14 15:36:44 +00:00
committed by GitHub
parent 0ef6b1978a
commit e209aaa272
46 changed files with 1679 additions and 101 deletions
+14 -2
View File
@@ -33,9 +33,21 @@ export class SearchSuggestionDTO {
@IsOptional()
@IsBoolean()
includeUsers?: string;
includeUsers?: boolean;
@IsOptional()
@IsBoolean()
includeGroups?: number;
includeGroups?: boolean;
@IsOptional()
@IsBoolean()
includePages?: boolean;
@IsOptional()
@IsString()
spaceId?: string;
@IsOptional()
@IsNumber()
limit?: number;
}