tsbonev / nharker

NHaker - an offline writing organization tool
0 stars 0 forks source link

catalogues: fix old parent keeping reference #179

Closed tsbonev closed 6 years ago

tsbonev commented 6 years ago

Catalogues now can orphan a catalogue or change its parent, both of which now update the old parent's state. Fixes #178, fixes #177.

codecov[bot] commented 6 years ago

Codecov Report

Merging #179 into master will decrease coverage by 0.21%. The diff coverage is 93.75%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #179      +/-   ##
============================================
- Coverage     96.78%   96.56%   -0.22%     
+ Complexity      278      273       -5     
============================================
  Files            31       31              
  Lines           870      844      -26     
  Branches         79       77       -2     
============================================
- Hits            842      815      -27     
  Misses            5        5              
- Partials         23       24       +1
Impacted Files Coverage Δ Complexity Δ
.../tsbonev/nharker/adapter/nitrite/NitriteEntries.kt 100% <ø> (ø) 13 <0> (ø) :arrow_down:
.../tsbonev/nharker/server/helpers/ExceptionLogger.kt 100% <ø> (ø) 19 <0> (ø) :arrow_down:
...tsbonev/nharker/adapter/nitrite/NitriteArticles.kt 100% <100%> (ø) 34 <0> (ø) :arrow_down:
...ev/nharker/server/workflow/EntryLinkingWorkflow.kt 100% <100%> (ø) 5 <2> (ø) :arrow_down:
...bonev/nharker/server/workflow/CatalogueWorkflow.kt 98.46% <100%> (-0.29%) 11 <0> (-1)
...bonev/nharker/adapter/nitrite/NitriteCatalogues.kt 95.38% <87.5%> (-1.99%) 21 <2> (-4)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fbf486c...7e1762d. Read the comment docs.