Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata Browser #2441

Open
Servinjesus1 opened this issue Sep 16, 2024 · 0 comments
Open

Metadata Browser #2441

Servinjesus1 opened this issue Sep 16, 2024 · 0 comments
Labels
feature-request New feature or request.

Comments

@Servinjesus1
Copy link

Browser for Exploring Current-Note Metadata

Seeing the keys and values of metadata in a given Note would be helpful in both learning/understanding Dataview and diagnostic tasks. The browser would effectively show keys and values in a pretty format for users to explore. I envision this becoming a dynamic sidebar pane that shows the currently active Note's metadata.

Origin/Reference: ZotLit Item Details

In the plugin ZotLit, one can peruse the data structure for a Zotero item while customizing the import templates. This is extraordinarily helpful for designing one's template around the item data structure, ensuring particular methods work against the actual data types of different keys/values.

Here's a picture of what it looks like in the plugin: image

You can see that the primitive-value keys for the item are nicely displayed, including quotes around strings for example, and lists/maps can be expanded.


For now, $=dv.list(dv.array(dv.current())) provides a primitive solution, although it is challenging to navigate and doesn't show the raw data within a key (e.g. does this string-based value have any padded spaces?). This feature would be a quick and easy way to nicely navigate metadata without the side-effects of adding a JS script like this to a Note to see this data, possibly incurring nasty side-effects

@Servinjesus1 Servinjesus1 added the feature-request New feature or request. label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant