insightsengineering / teal.reporter

Create and preview reports with Shiny modules
https://insightsengineering.github.io/teal.reporter/
Other
8 stars 8 forks source link

898 save app state version 3 #268

Closed chlebowa closed 3 months ago

chlebowa commented 3 months ago

Companion to https://github.com/insightsengineering/teal/pull/1011 Introduces bookmarking of report cards.

github-actions[bot] commented 3 months ago

badge

Code Coverage Summary

Filename              Stmts    Miss  Cover    Missing
------------------  -------  ------  -------  -----------------------------------------------------------------------------------
R/AddCardModule.R       146       2  98.63%   170, 207
R/Archiver.R             25       0  100.00%
R/ContentBlock.R         18       2  88.89%   57-63
R/DownloadModule.R      207      49  76.33%   98-104, 147, 178-183, 192-196, 199-203, 211-215, 218-222, 229-233, 236-240, 279-283
R/FileBlock.R            13       0  100.00%
R/NewpageBlock.R          2       0  100.00%
R/PictureBlock.R         30       2  93.33%   20, 118
R/Previewer.R           303      58  80.86%   87, 90, 209, 224, 226-229, 232, 235-243, 357-401
R/RcodeBlock.R           15       0  100.00%
R/Renderer.R            113      37  67.26%   97-112, 216, 224, 233, 235-256
R/ReportCard.R           77       4  94.81%   192, 233, 238, 259
R/Reporter.R             94       1  98.94%   270
R/ResetModule.R          53       0  100.00%
R/SimpleReporter.R       30       0  100.00%
R/TableBlock.R            9       0  100.00%
R/TextBlock.R            13       0  100.00%
R/utils.R               171      80  53.22%   7, 38-97, 99, 102-109, 167, 179-181, 285-294
R/yaml_utils.R           81       2  97.53%   78, 289
R/zzz.R                  14      10  28.57%   2-13, 19
TOTAL                  1414     247  82.53%

Diff against main

Filename              Stmts    Miss  Cover
------------------  -------  ------  --------
R/AddCardModule.R        +2       0  +0.02%
R/DownloadModule.R       -2       0  -0.23%
R/Previewer.R            +6      +2  -0.29%
R/ResetModule.R          -2       0  +100.00%
TOTAL                    +4      +2  -0.09%

Results for commit: 5fb9e3bff691de9e0adef075b8d9867ee9ef5bd4

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 3 months ago

Unit Tests Summary

  1 files   18 suites   12s :stopwatch: 204 tests 204 :white_check_mark: 0 :zzz: 0 :x: 346 runs  346 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 5fb9e3bf.

:recycle: This comment has been updated with latest results.

Polkas commented 3 months ago

I got some unexpected add card reactivity:(

https://github.com/insightsengineering/teal.reporter/assets/10676545/8f1cf6d6-0084-4d6e-ae05-6def2329e629

chlebowa commented 3 months ago

This is expected and will be dealt with shortly.