Fix markdown list callout settings polish #196
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#196
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?
The list-callout merge into the Markdown plugin left the settings surface and
persisted style config in a mixed shape.
Problem
app.jsoncan contain both legacy flat list-callout appearance keys such asmarkdown.listCallouts.style.paddingLeftand the canonical object settingmarkdown.listCallouts.style. The Markdown settings tab also still uses the oldtext-field icon editing flow and some preview rows do not clearly show sample
text.
Goal
Make Markdown list-callout settings use one canonical appearance config shape,
use the shared icon picker for catalog icon choices, and show useful sample text
in every callout preview row.
Scope
listCallouts.markdown.listCallouts.style.the flat keys after normalization.
Non-goals
characters.
Acceptance Criteria
app.jsonpersists list-callout appearance only asmarkdown.listCallouts.style.present, and removed when an object value is already present.
selection and keeps a clear-icon action.
icons.
legacy flat list-callout style keys.
Implementation Notes
it is scoped to the Markdown plugin and does not rewrite unrelated config.
form.
markdown.listCallouts.style.*lookups,relying on the configuration accessor to resolve object-backed values.
Suggested Files or Specs To Inspect
packages/plugins/plugin-markdown/src/lib/list-callout/packages/api/src/lib/configuration.svelte.tse2e-vault/.obsidian/app.jsonscripts/generate-demo-vault-fixture.mjsspec/src/20-packages/plugins/markdown/index.mdValidation Commands
pnpm --filter @lapis-notes/markdown check:allpnpm check:allmake spec-lintmdbook build specpnpm test:smokeRelated Issues
Follow-up Tasks
Implementation Summary
Added Markdown list-callout style normalization that migrates legacy flat keys into markdown.listCallouts.style, prunes duplicate flat keys, updates previews and icon picker controls, cleans the e2e fixture, and covers the behavior with focused regression tests.