Skip to content

[FR]: Switch between Fields & properties #14

@SpocWeb

Description

@SpocWeb

Issue validation

  • I checked the issue to prevent duplicate
  • I checked my configurations files and the documentation

Is your feature related to a problem ?

Hi, first a big thank you for this Plugin!
I have a request similar to #13
I would like to automatically convert inline Fields to Properties,
but subsequently replace the inline Field by a Link to the new Property, so it is synced only once.

The reason for this is that editing the Values in the new bases core plugin is futile currently,
because it will always be overwritten by your plugin with the inline Value.

What solution do you want to see ?

Instead I would like the inline Field to be rewritten e.g.

key :: value 
... [key :: value] ...
... (key :: value) ...

becomes

key : `=this.key`
... key : `=this.key` ...
... '=this.key` ...

That would allow me to keep your plugin running, because I quite like to continue entering structured keys using tags like
#has_/address_/street :: myStreet
#has_/address_/zip :: 12345
#has_/address_/state :: D

which neatly converts to

---
_has:
  - address:
    - street: myStreet
    - zip: 12345
    - state: D 
---

Describe the alternative you've considered

I could use the one-time conversion you proposed in #13 but that would leave the data inconsistent when editing them.
Avoiding inconsistencies is a primary goal in any Data Maintenance.

Anything else?

No response

OS

Windows

Obsidian information

SYSTEM INFO:
	Obsidian version: v1.9.10
	Installer version: v1.8.4
	Operating system: Windows 11 Pro 10.0.26100
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: light
	Community theme: none
	Snippets enabled: 3
	Restricted mode: off
	Plugins installed: 95
	Plugins enabled: 12
		1: Wikipedia v1.0.3
		2: Wikidata Importer v1.1.1
		3: Dataview v0.5.68
		4: Folder notes v1.7.35
		5: Git v2.34.0
		6: Meld Encrypt v2.4.2
		7: MetaEdit v1.8.2
		8: Link Converter v0.1.6
		9: Visually Numbered Headings v1.3.2
		10: Heading Shifter v1.8.0
		11: Image in Editor v2.2.6
		12: Leaflet v6.0.5

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Plugin version

0.0.21

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions