AY1920S2-CS2103T-W17-2 / main

Notably
https://ay1920s2-cs2103t-w17-2.github.io/main/
MIT License
3 stars 4 forks source link

Add default body content for root block #427

Closed firzanarmani closed 4 years ago

firzanarmani commented 4 years ago

Closes #426

If the blockTree is empty (i.e root has no children), show "Create a new note to get started!" Otherwise, show "Open a note to get started!"

netlify[bot] commented 4 years ago

Deploy preview for notably-app ready!

Built with commit 5580573e27abbf236e1d93cb48d93b875484d48d

https://deploy-preview-427--notably-app.netlify.com

codecov[bot] commented 4 years ago

Codecov Report

Merging #427 into master will increase coverage by 0.13%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #427      +/-   ##
============================================
+ Coverage     66.83%   66.96%   +0.13%     
- Complexity      516      518       +2     
============================================
  Files            97       97              
  Lines          2014     2022       +8     
  Branches        201      201              
============================================
+ Hits           1346     1354       +8     
  Misses          580      580              
  Partials         88       88              
Impacted Files Coverage Δ Complexity Δ
...c/main/java/com/notably/model/block/BlockImpl.java 73.33% <100.00%> (ø) 6.00 <1.00> (ø)
...ava/com/notably/model/block/BlockTreeItemImpl.java 91.89% <100.00%> (+0.98%) 28.00 <3.00> (+2.00)

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 12db85f...5580573. Read the comment docs.