-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add two example apps to showcase DDL and Custom transformation #177
base: dev
Are you sure you want to change the base?
Conversation
nest_logo <- "https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/PNG/nest.png" | ||
app_source <- "https://github.com/insightsengineering/teal.gallery/tree/main/basic-teal" | ||
gh_issues_page <- "https://github.com/insightsengineering/teal.gallery/issues" | ||
|
||
header <- tags$span( | ||
style = "display: flex; align-items: center; justify-content: space-between; margin: 10px 0 10px 0;", | ||
tags$span("Teal app with custom transform", style = "font-size: 30px;"), | ||
tags$span( | ||
style = "display: flex; align-items: center;", | ||
tags$img(src = nest_logo, alt = "NEST logo", height = "45px", style = "margin-right:10px;"), | ||
tags$span(style = "font-size: 24px;", "NEST @ Roche") | ||
) | ||
) | ||
|
||
footer <- tags$p( | ||
"This teal app is brought to you by the NEST Team at Roche/Genentech. | ||
For more information, please visit:", | ||
tags$a(href = app_source, target = "_blank", "Source Code"), ", ", | ||
tags$a(href = gh_issues_page, target = "_blank", "Report Issues") | ||
) |
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.
This is not a comment for this PR, but all apps code is extended by 20 lines just to add a NEST logo
general issue here: #178
), | ||
modules = modules( | ||
example_module("Module with transformations", transformers = my_transformers), | ||
example_module("Module with only iris transformation", transformers = my_transformers[1]), |
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.
is it really needed?
example_module("Module with only iris transformation", transformers = my_transformers[1]), |
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 think it's okay to have this. Without this, we would have one module with transformers and one without it. Adding a transformation using the same object clears some misconceptions some people might have. For example, the my_transformers
object can be used only once. It's an example to show that transformers are stacked and more importantly it shows that you have to pass transformers as a list
and not a teal_transform_module
object even when you have a single transform.
Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: Vedha Viyash <[email protected]>
Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: Vedha Viyash <[email protected]>
Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: Vedha Viyash <[email protected]>
184dd46
to
929f2df
Compare
@@ -78,7 +93,7 @@ jobs: | |||
- name: Checkout repo 🛎 | |||
uses: actions/checkout@v4 | |||
with: | |||
ref: "${{ env.BRANCH_NAME }}" | |||
ref: "669_insertUI@dev" |
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.
ref: "669_insertUI@dev" | |
ref: "${{ env.BRANCH_NAME }}" |
Should revert the branch checkout before merging. This was changed just to test the deployment.
a57d8fc
to
91d4179
Compare
5fc88d1
to
563be2e
Compare
Both the custom-transform and delayed-data apps are deployed on |
@vedhav Is it possible to make the output of the custom-transform a bit more customized so that the output panel is more insightful when merging |
Sure @kumamiao, thanks for the idea!
|
Adds
delayed-data
andcustom-transform
app.Note that it will take a while for this branch to be merged to the main depending on the release of the
teal_transform_module
feature.Additionally, after the UI-refactor the apps have to be re-recorded.