Develop a module for dynamically loading program UI templates
Program UIs may have different layouts. This new module will handle the loading of the configured UI template of programs.
Estimate Dev Time:
Optimistic: 24 hours Pessimistic: 32 hours
We might need to have additional field for g2p.programs model, specifically a program type. We need this to differentiate the type of program to the functionality to show the correct UI.
cc: @jeremi, @celinenilla. @gonzalesedwin1123
@gonzalesedwin1123 for step 4, this should be the correct UI right?
STEPS:
- Install or Upgrade
spp_programs. - Go to Programs > Create new Program.
- Under the Currency Field should be a new field called Program UI Template, select one (although this is the generic part the default program UI should be the only one in the selection). https://drive.google.com/file/d/12VBFL9iGdBFPuSI3Tweq58Yy6tJBD3tf/view?usp=sharing
- Check if the correct UI is shown when the program is created. https://drive.google.com/file/d/16vobdX9wUfhCmU-nmzcGMSy2etT_RoX5/view?usp=sharing
Yes @jannahadlaon , that's the correct UI.
Thanks for clarifying @emjay0921! Moving this ticket to Done.