AcadeDoc/apps/client/src/features
Corentin 2fc310a2f2 feat(acadenice): add bidirectional backlinks + wikilinks for R3.2
- Migration: acadenice_backlink table (source/target/link_type/excerpt/workspace)
  with 3 indexes and UNIQUE(source,target,type) constraint. Up+down.
- Backend module AcadeniceBacklinksModule:
  BacklinkParserService: walks Tiptap JSON, extracts wikilinks/mentions/databaseView.
  BacklinkIndexerService: idempotent delete-then-insert per page save.
  BacklinkService: permission-aware query (space_members / public visibility).
  BacklinksController: GET /api/acadenice/pages/:pageId/backlinks (JWT auth).
  PageContentUpdatedListener: OnEvent handler for collab saves -> async reindex.
  Tests: 16 Vitest specs (parser/indexer/service/controller).
- PersistenceExtension patch: emits ACADENICE_PAGE_CONTENT_UPDATED_EVENT after
  each collab onStoreDocument (fire-and-forget, no impact on save path).
- CoreModule patch: imports AcadeniceBacklinksModule.
- Frontend WikilinkExtension: Tiptap inline atom node, [[Title]] / [[Title|alias]],
  Suggestion popup (reuses mention pattern + floating-ui), ReactNodeView with
  broken-link state, insertWikilink command.
  Tests: 9 Vitest specs (schema/attrs/commands/HTML parse+render).
- LinkedReferencesPanel: React Query useBacklinks(pageId, staleTime=30s),
  accordion grouped by link_type, excerpt preview, navigate to source page.
  Tests: 7 Vitest specs (loading/error/empty/render/navigate/groups).
- extensions.ts patch: + WikilinkExtension in mainExtensions[].
- full-editor.tsx patch: + LinkedReferencesPanel below editor (Divider + panel).
- i18n: 11 keys added in en-US and fr-FR (backlinks.* + wikilink.*).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 00:51:02 +02:00
..
acadenice feat(acadenice): add bidirectional backlinks + wikilinks for R3.2 2026-05-08 00:51:02 +02:00
attachments feat: replace sharp with client-side icon resize (#1951) 2026-02-16 19:48:19 +00:00
auth feat(auth): Bloc 4b — OIDC client Authentik via openid-client (active par OIDC_ENABLED env) 2026-05-07 21:26:53 +02:00
comment feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
editor feat(acadenice): add bidirectional backlinks + wikilinks for R3.2 2026-05-08 00:51:02 +02:00
favorite feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
file-task fix: use subquery (#1833) 2026-01-13 15:58:26 +00:00
group feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
home feat(rebrand): DocAdenice — patch initial sur le fork Acadenice 2026-05-07 21:10:51 +02:00
notification feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
page feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
page-history feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
search feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
session feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
share feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
space feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
user feat: page update notifications (#2074) 2026-03-31 16:03:59 +01:00
websocket feat(ee): page verification workflow (#2102) 2026-04-13 20:20:34 +01:00
workspace feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00