Commit 55a74c8
[ENG-1295 & ENG-1350 & ENG-1297] F5 import and refresh published nodes (#722)
* eng-1344 f10b upload obsidian relations and their schemas
* current progress
* feature finished
* address PR comments
* address PR comments
* remove local test file
* curr progress
* revert what is handled in #721
* Use SpaceURI rather than spaceId in frontmatter
* address PR comments
* address PR comments
* cleanup
* Update apps/obsidian/src/utils/importNodes.ts
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* normalize on using numbers for dates
* correction
* apply ctime, mtime to assets
* spurious log
* Preserve ctime, mtime in processFrontMatter. Also timezone correction
* add lastModified in frontMatter
* make sure import image works
* add recursive folder creation
* modify the fetchNodeContent flow; simplify the pathMapping
* WIP: shuffle the filePath around
* send originalPathDepth
* actually send path itself
* clarify var name
* make sure fileImport works for all possible settings
* store relative path when rewrite the wikilink instead of default to fileToLinkText
* cleanup logs
* nit
* AI corrections
* Update apps/obsidian/src/utils/importNodes.ts
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* address PR comments
---------
Co-authored-by: Marc-Antoine Parent <maparent@acm.org>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 290a9f5 commit 55a74c8
13 files changed
Lines changed: 2071 additions & 87 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
24 | 51 | | |
25 | 52 | | |
26 | 53 | | |
| |||
45 | 72 | | |
46 | 73 | | |
47 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
48 | 89 | | |
49 | 90 | | |
50 | 91 | | |
| |||
56 | 97 | | |
57 | 98 | | |
58 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
59 | 112 | | |
60 | 113 | | |
61 | 114 | | |
| |||
64 | 117 | | |
65 | 118 | | |
66 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
67 | 127 | | |
68 | 128 | | |
69 | 129 | | |
| |||
0 commit comments