Allow users to view note properties when inserted into a canvas

User Story

As a user,

I want to be able to view the properties (frontmatter) of a note inserted into a canvas,

So that I can understand the note’s metadata without having to switch to editing mode.

Context: This should be possible by default or through configuration, ensuring it caters to diverse user preferences.

Acceptance Criteria

  1. When a note is present in a canvas and is not being edited, I should be able to see the note’s properties without needing to edit it.
  2. The system should allow me to configure whether I want to see the properties by default in the canvas or not.
  3. The system should respect the “Properties in document” display preferences.
  4. Properties should only be visible in the note if the “Show the entire file” display option is chosen.
5 Likes

This would be really useful!

You can view the properties of the currently selected note by using the properties view in the sidebar

1 Like

This topic may help Show File Properties in Canvas and Previews

will be implemented in v1.9.3

2 Likes

Is there any way to hide them? I’m on 1.9.4 and don’t want to see the properties inline on canvases. I can’t seem to find any option for that. Basically I would prefer notes in a canvas to be in ‘reading’ mode and look the same as when the note is not in the canvas.

2 Likes

I have a lot of little overviews with links and information that it blocks everything with the properties.

2 Likes

This is still an issue in 1.9.6 so I’ve hidden the properties in canvas manually with below snippet for now.

.canvas .metadata-container {
display: none !important;
}

2 Likes

Please collapse the properties in note cards by default (just like when you bring up a page preview). If one then expands the properties in a note card, the fold state should be remember though.

This CSS snippet hides Properties in note cards:

/* Hide Properties when a card is unfocused or selected */
.canvas-node {
    --metadata-display-reading: none;
}

/* Hide Properties in edit mode */
.mod-inside-iframe {
    --metadata-display-editing: none;
}

From Discord.

Alternatively, setting Settings > Editor > Display > Properties in document > Hidden hides Properties completely.


This is a good workaround but collapsing Properties by default would be preferable.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.