-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Redesign DDL Discussion #764
Comments
Please take into consideration following idea:
|
This also ties in with #937 |
Note I assigned myself to this but I wouldn't count me as part of the 2 devs. Mostly I'd just like to tag along to learn. |
So there are 2 separate issues here:
There is then a subsequent issue of how to effect this change - you don't want to keep changing |
See #534 We should also use a navbar page with menus to define the UI so this:
For
One really key advantage of this is we don't need separate server and ui functions for teal.modules as the teal.module server functions can be accessed directly (and tbh we can probably remove the teal.modules object entirely) |
In order to remove the use of insertUI - the UI of the teal_modules needs to be able to be created before we have the data Maybe we could could cheat and have the shiny ui function for teal modules as just uiOutput(ns("module")) and then the shiny server be: output$module <- renderUI(teal_module$ui()) but to solve it properly we need to do the much bigger:
i.e. #669
related to #937
This is related to https://github.com/insightsengineering/coredev-tasks/issues/338
|
@nikolas-burkoff I agree with you regarding steps. Solving problem of resolve delay should be a priority as data_extract_ui the only place where data are used in the ui (indirectly by using resolved data_extract_spec). We need to first fix |
Is it the case that it is always for a data_extract_spec though? No, in the longitudinal app we have things like:
which are |
Exactly, tlg-modules individually doesn't know anything about unresolved class. Tlg-modules receive fully specified instructions. Shiny modules handling data-extract doesn't work with unresolved neither. I had a time to draw a flow chart with simplification of the process: Bit of the explanation in the beginning:
I'm skipping first two teal modules as the most interesting stuff starts from srv_teal and ui_teal. @nikolas-burkoff found one solution to initialize UI without the need for data. It seems possible to skip the insertUI part and initialize all UI modules. To do this we just need to initialize all tabs and place uiOutput in ui_nested_tabs and renderUI in srv_nested_tabs. Unfortunatelly this is not enough because in ui/srv_tabs_with_filters we also need to create a filter-panel, which requires Note: Apart from possible "quick" solutions we need serious discussion about sense of resolve_delay and possible alternatives @donyunardi . |
Further details for:
-have one execution environment for pulling and user gives a script to pull/preprocess the data You could imagine something along the lines of this in the completely general case (how to handle codedepends/do we care?)
with much more helpful shortcuts for common cases which create code + ui (but not modules within modules) + code_mapping for you |
Closing this issue as most things here will be handled at a much later date. However, things that can be handled now: First handle join keys better:
Then get And could then do Separately we could handle: After the above we could, though may choose not, to attack #937 Following this we need:
|
@nikolas-burkoff @pawelru @gogonzo
|
Roadmap
Start the discussion on how we'd redesign the current DDL concept.
As discussed, we'd like to allocate 2 devs for this.
Please self-assign if interested.
The text was updated successfully, but these errors were encountered: