docs(docs): complement after verifier CONFORME, trigger name per the core

Detail trigger shows its view's name as the core does; F7 cites the
current Catégorie labels; review record and TODO updated.
This commit is contained in:
bchanot committed 2026-11-06 13:28:48 +01:00
1 parent 00aaccfc79
commit 567da677d7
6 files changed
+8 -5

No files matched your search

+2 -1
View File
@@ -227,7 +227,8 @@ const DOC = window.DOC
const viewName = (id) => DOC.views.find((v) => v.id === id).fr
const DETAIL = DOC.views.find((v) => v.parent).id
const ANN = DOC.annotations
const nameOf = (a) => a.fr || `Accès : ${viewName(DETAIL)}`
// A trigger without a name shows its view's name, as the core does (index_data.rs:39).
const nameOf = (a) => a.fr || viewName(DETAIL)
const A = ANN.map((a) => [a.view, a.kind === 'detail_trigger' ? 'link' : CAT_KEY[a.cat], nameOf(a), a.g])
const catOf = (a) => a[1] === 'link' ? 'art' : a[1]
const pts = (p) => p.map((q) => q.join(',')).join(' ')