Add support for merging metadata in metadata table #937
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.
What does this PR do?
This PR introduces a new setting option in the “Move inline metadata to card footer” that allows inline metadata to be displayed (and merged) within the Metadata table at the bottom of the card. This makes it easier to achieve a consistent look between cards whose metadata comes from linked pages and those which have it inline (in my case, I sometimes want to create a card without an attached note, but have the same metadata I'd use within my note YAML).
Because of this change, I renamed the setting to “Inline metadata position” and changed the help text. Also changed the toggle to a dropdown with three options:
Warning
I also renamed the setting id to match its new function and I did not include any backwards compatibility. This may be fine since this setting was introduced in beta and is not currently published. If required, I can include some backwards compatibility by either: (a) changing the id back to what it was (b) checking both settings every time.
I believe this is cumbersome and probably unnecessary.
More notes on the behavior
local
settings overrideglobal
settings).