openspp-modules icon indicating copy to clipboard operation
openspp-modules copied to clipboard

Develop a module for dynamically loading program UI templates

Open gonzalesedwin1123 opened this issue 1 year ago • 1 comments

Program UIs may have different layouts. This new module will handle the loading of the configured UI template of programs.

gonzalesedwin1123 avatar Aug 30 '24 01:08 gonzalesedwin1123

Estimate Dev Time:

Optimistic: 24 hours Pessimistic: 32 hours

reichie020212 avatar Sep 13 '24 05:09 reichie020212

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

emjay0921 avatar Nov 06 '24 04:11 emjay0921

@gonzalesedwin1123 for step 4, this should be the correct UI right?

STEPS:

  1. Install or Upgrade spp_programs.
  2. Go to Programs > Create new Program.
  3. 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
  4. Check if the correct UI is shown when the program is created. https://drive.google.com/file/d/16vobdX9wUfhCmU-nmzcGMSy2etT_RoX5/view?usp=sharing

jannahadlaon avatar Nov 14 '24 10:11 jannahadlaon

Yes @jannahadlaon , that's the correct UI.

emjay0921 avatar Nov 14 '24 10:11 emjay0921

Thanks for clarifying @emjay0921! Moving this ticket to Done.

jannahadlaon avatar Nov 14 '24 10:11 jannahadlaon