Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Improve merge of entries with the same date #4

Open
edoardob90 opened this issue Feb 18, 2023 · 0 comments
Open

Improve merge of entries with the same date #4

edoardob90 opened this issue Feb 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@edoardob90
Copy link
Owner

edoardob90 commented Feb 18, 2023

Currently, the merge_entries option allows to combine entries with the same date. Within Obsidian, the current implementation creates a few issues if using the Dataview plugin. Plus, it's not customizable.

Problems

  1. The entire metadata block is kept for both entries, as well as the YAML block (there can't be two YAML metadata sections in the same Markdown file)
  2. Dataview queries the multiple entry file and returns any metadata field as a list, because each field is effectively mentioned twice

Solution ideas

  1. Prevent metadata fields duplication
    • A potential issue might arise when one wants to keep, e.g., the different tags or location for the entry that gets merged
  2. Allow the user to choose which metadata fields are kept when merge_entries is ON
  3. Have more flexibility for the separator. One idea is to have the entry's time as a separator, e.g. ## HH:MM. The user should be able to customize this template
@edoardob90 edoardob90 added the enhancement New feature or request label Feb 18, 2023
@edoardob90 edoardob90 self-assigned this Feb 18, 2023
@edoardob90 edoardob90 changed the title Improves merging entries Improves entries merging Feb 18, 2023
@edoardob90 edoardob90 changed the title Improves entries merging Improves merge of entries with the same date Feb 18, 2023
@edoardob90 edoardob90 changed the title Improves merge of entries with the same date Improve merge of entries with the same date Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant