Skip to content

Build your personal knowledge base with Trilium Notes

feat(attributes): explain the system marker in the attribute list

Elian Doraned2eeb0f5bdd
diff --git a/apps/client/src/widgets/sidebar/AttributeList.tsx b/apps/client/src/widgets/sidebar/AttributeList.tsx
index 7e0432a5f0..8b64e73d81 100644
--- a/apps/client/src/widgets/sidebar/AttributeList.tsx
+++ b/apps/client/src/widgets/sidebar/AttributeList.tsx
@@ -402,7 +402,10 @@ function getKindIcon(attribute: Attribute, attrType: AttributeKind) {
*/
function getKindMarker(attribute: Attribute, attrType: AttributeKind, isSystem?: boolean) {
if (isSystem) {
- return { class: "marker-system", title: t("attribute_names.system") };
+ // The hint the detail popup's badge carries, rather than the word the badge shows beside it:
+ // there is no text against the cog to be named, so what a reader hovering it wants is what
+ // being a system attribute means.
+ return { class: "marker-system", title: t("attribute_names.system_description") };
}
if (isDefinition(attrType) && promotedAttributeDefinitionParser.parse(attribute.value ?? "").isPromoted) {