Repository navigation
Store saved views as records (obsidian.base, mdbase.view) - #176
Merged
Merged
Conversation
….view Bases are YAML document records whose type implements obsidian.base, and mdbase views are records whose type implements mdbase.view. TaskNotes provisions both published packs during collection setup, requires md and base record extensions, and reads, writes and deletes view sources with the ordinary record operations instead of the view-source operations, so it no longer asks for views.manage. Requires an mdbase connect release whose connectors advertise yaml-document-records-v1 and whose setup accepts the record_extensions target.
beta117 accepts the record_extensions setup target and gates base records on connectors that advertise yaml-document-records-v1.
callumalpass
marked this pull request as ready for review
September 29, 2026 07:01
The relay fixture now describes the obsidian.base and mdbase.view contracts a set-up collection carries, and answers reads of .base view sources, which now use the ordinary read operation, instead of treating them as task reads.
callumalpass
added a commit
that referenced
this pull request
Sep 29, 2026
callumalpass
added a commit
that referenced
this pull request
Sep 29, 2026
* Reapply "Store saved views as records (obsidian.base, mdbase.view) (#176)" (#177) This reverts commit d1cdb51. * Use mdbase connect beta119 beta119 stores hosted Obsidian Bases as records once setup adds base, so saved-view editing through the record operations works on hosted collections as well as local ones.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Saved views are stored as records claimed through contracts:
obsidian.base1.0.0 andmdbase.view1.0.0 packs (vendored byte for byte) and requires those contracts.mdandbaseinsettings.record_extensions.set_addon an absent list creates it with only the added value, so Markdown is kept explicitly.read({includeDocument}), created withcreate, replaced whole withupdate({document})(which keeps Obsidian's comments and layout), and removed withdelete.views.manageis no longer requested.{}.record_extensionssetup target. A connector that predates beta117 is asked to update before approving.Checks:
pnpm verifypasses, includingmanifest:validatewith the published beta117 devkit, 719 app tests, conformance and the build.