GetFrontMatterLines bug

This commit is contained in:
Mike Phares 2023-07-21 14:39:50 -07:00
parent 6c711945b1
commit 4bbcf04c1d
23 changed files with 70 additions and 77 deletions

View File

@ -1,9 +1,9 @@
--- ---
created: 2023-07-09T04:12:44.673Z created: "2023-07-17T06:39:53.148Z"
updated: 2023-07-09T04:12:44.667Z updated: "2023-07-21T21:36:44.190Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] type: "kanbn"
--- ---
# Cluster Questioning # Cluster Questioning

View File

@ -1,14 +1,15 @@
--- ---
created: 2023-07-21T04:38:02.640Z created: "2023-07-21T18:26:38.894Z"
updated: 2023-07-21T04:38:02.635Z updated: "2023-07-21T21:39:02.042Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] started: "2023-07-21T04:38:02.640Z"
started: 2023-07-21T04:38:02.640Z type: "kanbn"
--- ---
# Console for Markdown to Genealogical Data Communication # Console for Markdown to Genealogical Data Communication
- This will allow for more information about a person - This will allow for more information about a person
- [ ] Copy concept done in ~~~File-Folder-Helper~~~ use File-Folder-Helper - [?] Copy concept done in ~~~File-Folder-Helper~~~ use File-Folder-Helper
- [?] Maybe not a standalone console

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-24T02:12:00.629Z created: "2023-07-21T18:26:38.896Z"
updated: 2023-07-08T21:21:03.774Z updated: "2023-07-21T18:26:38.896Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "2-Todo" status: "2-Todo"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-12T21:55:20.591Z created: "2023-07-21T18:26:38.898Z"
updated: 2023-07-08T21:21:04.351Z updated: "2023-07-21T18:26:38.898Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "4-Done" status: "4-Done"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,11 +1,10 @@
--- ---
created: 2023-07-08T21:25:54.996Z created: "2023-07-21T18:26:38.899Z"
updated: 2023-07-21T04:34:47.650Z updated: "2023-07-21T18:26:38.900Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] type: "kanbn"
type: kanbn completed: "2023-07-21T04:34:47.650Z"
completed: 2023-07-21T04:34:47.650Z
--- ---
# Family Tree as Markdown Files # Family Tree as Markdown Files

View File

@ -1,6 +1,6 @@
--- ---
created: 2023-06-18T20:29:10.288Z created: "2023-07-21T18:26:38.901Z"
updated: 2023-07-21T00:51:03.907Z updated: "2023-07-21T18:26:38.902Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] tags: []

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-25T15:26:35.170Z created: "2023-07-21T18:26:38.903Z"
updated: 2023-07-08T21:21:06.219Z updated: "2023-07-21T18:26:38.903Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "1-Backlog" status: "1-Backlog"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,9 +1,9 @@
--- ---
created: 2023-07-08T21:39:44.814Z created: "2023-07-17T06:39:53.158Z"
updated: 2023-07-08T21:39:44.808Z updated: "2023-07-21T21:36:44.190Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] type: "kanbn"
--- ---
# Image size distribution per exif model / directory when no model # Image size distribution per exif model / directory when no model

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-19T21:38:12.818Z created: "2023-07-21T18:26:38.905Z"
updated: 2023-07-08T21:21:06.219Z updated: "2023-07-21T18:26:38.906Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "1-Backlog" status: "1-Backlog"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-12T21:54:44.803Z created: "2023-07-21T18:26:38.908Z"
updated: 2023-07-08T21:21:06.220Z updated: "2023-07-21T18:26:38.909Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "2-Todo" status: "2-Todo"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,12 +1,11 @@
--- ---
created: 2023-06-25T16:35:28.627Z created: "2023-07-21T18:26:38.910Z"
updated: 2023-07-10T06:55:52.637Z updated: "2023-07-21T18:26:38.910Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] status: "2-Todo"
status: 2-Todo
type: "kanbn" type: "kanbn"
started: 2023-07-08T21:44:14.665Z started: "2023-07-08T21:44:14.665Z"
--- ---
# Merge Kristy Files # Merge Kristy Files

View File

@ -1,6 +1,6 @@
--- ---
created: 2023-06-24T02:13:16.426Z created: "2023-07-21T18:26:38.912Z"
updated: 2023-07-21T00:51:03.906Z updated: "2023-07-21T18:26:38.912Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] tags: []

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-07-08T21:26:25.403Z created: "2023-07-21T18:26:38.913Z"
updated: 2023-07-10T06:35:46.076Z updated: "2023-07-21T18:26:38.913Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,10 +1,9 @@
--- ---
created: 2023-07-08T21:25:25.925Z created: "2023-07-21T18:26:38.914Z"
updated: 2023-07-10T05:03:00.856Z updated: "2023-07-21T18:26:38.915Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] started: "2023-07-08T21:45:42.263Z"
started: 2023-07-08T21:45:42.263Z
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-12T21:54:44.810Z created: "2023-07-21T18:26:38.916Z"
updated: 2023-07-08T21:21:06.222Z updated: "2023-07-21T18:26:38.917Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "4-Done" status: "4-Done"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,9 +1,9 @@
--- ---
created: 2023-07-05T22:17:38.271Z created: "2023-07-21T18:26:38.918Z"
updated: 2023-07-10T00:16:19.096Z updated: "2023-07-21T18:26:38.919Z"
status: 2-Todo status: "2-Todo"
type: "kanbn" type: "kanbn"
started: 2023-07-08T21:47:12.461Z started: "2023-07-08T21:47:12.461Z"
--- ---
# Set Date Taken When Missing # Set Date Taken When Missing

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-07-05T22:34:47.537Z created: "2023-07-21T18:26:38.920Z"
updated: 2023-07-08T21:21:06.223Z updated: "2023-07-21T18:26:38.920Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "4-Done" status: "4-Done"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-25T16:42:24.220Z created: "2023-07-21T18:26:38.922Z"
updated: 2023-07-08T21:21:06.224Z updated: "2023-07-21T18:26:38.923Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "1-Backlog" status: "1-Backlog"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-19T21:39:09.103Z created: "2023-07-21T18:26:38.925Z"
updated: 2023-07-08T21:21:06.224Z updated: "2023-07-21T18:26:38.925Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "4-Done" status: "4-Done"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -1,8 +1,8 @@
--- ---
created: 2023-07-05T22:17:38.271Z created: "2023-07-21T18:26:38.927Z"
updated: 2023-07-21T04:35:30.555Z updated: "2023-07-21T18:26:38.928Z"
status: 2-Todo status: "2-Todo"
type: kanbn type: "kanbn"
--- ---
# Skip Metadata Load After First Each Day # Skip Metadata Load After First Each Day

View File

@ -1,6 +1,6 @@
--- ---
created: 2023-06-23T13:56:11.956Z created: "2023-07-21T18:26:38.929Z"
updated: 2023-07-21T00:51:03.903Z updated: "2023-07-21T18:26:38.930Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: [] tags: []

View File

@ -1,9 +1,8 @@
--- ---
created: 2023-06-19T21:38:12.818Z created: "2023-07-21T18:26:38.931Z"
updated: 2023-07-08T21:21:06.224Z updated: "2023-07-21T18:26:38.932Z"
assigned: "" assigned: ""
progress: 0 progress: 0
tags: []
status: "1-Backlog" status: "1-Backlog"
type: "kanbn" type: "kanbn"
--- ---

View File

@ -18,12 +18,18 @@ internal abstract class MarkDown
foreach (string jsonLine in jsonLines) foreach (string jsonLine in jsonLines)
{ {
afterTrim = jsonLine.Trim(); afterTrim = jsonLine.Trim();
if (afterTrim.Length < 3) if (string.IsNullOrEmpty(afterTrim) || afterTrim.First() is '{' or '}')
continue; continue;
segments = afterTrim.Split(": ");
if (segments.Length != 2)
{
results.Clear();
break;
}
if (afterTrim[^1] != ',') if (afterTrim[^1] != ',')
results.Add(afterTrim[1..].Replace("\": \"", ": \"")); results.Add(afterTrim[1..].Replace("\": ", ": "));
else else
results.Add(afterTrim[1..^1].Replace("\": \"", ": \"")); results.Add(afterTrim[1..^1].Replace("\": ", ": "));
} }
if (results.Any()) if (results.Any())
{ {