Skip to content

Request for comments: Suggestion for how to redesign template page DON'T MERGE

Request for comments

As the issue was timeboxed for four hours, this is a RFC for a potential solution to the issue

About the solution

  • I created a new module, with a component for the current monitoring-setup layout, calling it questionnaire-editor
  • This component would be used by both monitoring-setup-page, and symptom-check-edit-page
  • Component takes inputs for the template ID (for both the from and edit routes)
  • Component takes input as to whether the template name should derive from the template chosen (defaults to false)
  • Component takes input of a confirmation action

What's left to do

  • The new component should be used by monitoring-setup-page (and the old unused components now deleted)
  • the save template action should be handled
  • test that it works for all four scenarios

Ref: #514 (closed)

Edited by James Jenkinson

Merge request reports

Loading