-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple - Load Reporter - Inbuild #251
Simple - Load Reporter - Inbuild #251
Conversation
@gogonzo done:) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to leave all print(cond) as the warning(cond) passes the error and the Shiny app crashes. |
What about |
Unfortunately, a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't render load button for now - proposed solution in the comment. Please update NEWS file and we will be very close to merge
Load is not included in the teal previewer now. Please consider additional teal.option for that, as my team will be happy to have the ability to add a load feature to teal. I fixed bookmarking with the code below; please write if you do not want to merge it here
|
We don't yet decided about the recommended way in
Thanks, this is good 👍 I will make a final review next week as I have few days off. PR looks good both here and |
Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: Maciej Nasinski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just these two and we are fine here
Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: Maciej Nasinski <[email protected]>
Danke, great collabo:) |
@Polkas do the honors ;) |
Thanks:D but you have to be the one as “Only those with write access to this repository can merge pull requests.” |
connected with insightsengineering/teal.reporter#251 My work is done as a collaboration of UCB company with Roche. insightengineering developers can edit this PR. Objective: Support the Load Report functionality for `TealRerportCard` and `TealSliceBlock` - Update the `to_list` and `from_list` `TealSliceBlock` methods. They operate on a string output. - Export `TealSliceBlock` which is needed for the teal.reporter `ReportCard`. - `set_id` for the `Reporter` so we protect that it can be reloaded only for the same teal app. - Fix the wrong docs. --------- Signed-off-by: Maciej Nasinski <[email protected]> Signed-off-by: Dawid Kałędkowski <[email protected]> Co-authored-by: Dawid Kałędkowski <[email protected]> Co-authored-by: Dawid Kałędkowski <[email protected]>
closes #81
continuation of #177
linked to insightsengineering/teal#1120 Please install this teal branch when testing the code
I created a new PR from the fork as I am no longer part of the insightengineering group.
My work is done as a collaboration of UCB company with Roche.
insightengineering developers can edit this PR.
I followed a simple design, which was evaluated positively in the discussion.
DONE:
report_load_srv
andreport_load_ui
; similar direct update for Previewer.Archiver
Class as we not need it for this simplified scenario.to_list
andfrom_list
Reporter
methodsset_id
andget_id
Reporter
methods. Optionally add id to a Report which will be compared when it is rebuilt from a list. To test it in the teal example app please download a report and then add a new module or dataset to the app and try to load it back. The report can be loaded back to teal app only with the same datasets and modules. The id is added to the downloaded file name if exists.to_list
andfrom_list
ReportCard
methods (linked with Support Load Reporter teal#1120)warning(cond)
everywhere to be consistent. We should send the error/warning to the R console when STH fails.testServer
tests for report_load_srv/report_load_ui modules.Points to consider:
Example Teal App (play with bootstrap versions, simple reporter modules, and add new data/module to confirm the report can not be then reloaded):
Example general shiny app (play with bootstrap versions, simple reporter modules):