google / google/neuroglancer

metadata in link json

Open
#716 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
389
Avg merge
3d 21h
Merged PRs (30d)
3

Description

When managing collections of neuroglancer links (as JSON documents), it would be convenient if I could sneak in a bit of metadata for myself. I wouldn't want the metadata to be actually used by neuroglancer in any way, but I would want it retained in the JSON state (and URL).

For example:

```json
{
"metadata": {
"link-created-by": "bergs",
"link-creation-date": "2025-02-10"
},
"title": "my dataset",
"dimensions": [...],
"layers" [...],
"layout": "4panel"
}
```

(I have additional metadata fields in mind that I won't bother explaining here.)

Would it be possible to permit a schemaless user-provided metadata field in the neuroglancer JSON state? (I don't have an opinion on the name of the key... `metadata` or `user-defined-metadata` or something like that seems fine.)

cc: @olbris

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.