Add frontmatter properties editor regression coverage #67
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add regression coverage for the frontmatter properties editor across its shared
API contracts and visible app surfaces.
Context
Current coverage is uneven:
processFrontMatter()cachefallback case, but not the full mutation and rename contract.
completions, but not the property editor component or built-in property
widgets.
user-driven property editing, autocomplete, add/remove, or rename flows in the
file properties side view or live-preview frontmatter block.
Acceptance Criteria
FileManager.processFrontMatter()mutation edge cases andMetadataTypeManagerrename/type-index behavior.commit behavior for text, number, checkbox, date, datetime, and unknown values.
side view: add a property, use autocomplete, change a value, remove a property,
and verify the markdown file bytes.
rendered frontmatter block and verifies the same persistence path.
the All Properties view/counts converge after metadata updates.
checkscripts or existing e2esuites so future changes cannot skip it accidentally.
Notes
This is the testing counterpart to
TASK-PLUGIN-045,TASK-PLUGIN-046, andTASK-API-001.Implementation Summary
The requested coverage is already in place: API tests exercise FileManager.processFrontMatter and MetadataTypeManager rename behavior, markdown widget tests cover commit behavior, and workspace Playwright coverage exercises File Properties and live-preview frontmatter editing across notes.