medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
439 stars 211 forks source link

Form order in "New action" #5962

Open binokaryg opened 5 years ago

binokaryg commented 5 years ago

Is your feature request related to a problem? Please describe. The forms in "New action" appear to be sorted in alphabetical order of the form codes. There does not seem to be an easy way to sort the forms in a specific order. e.g.

  1. Pregnancy registration
  2. Pregnancy home visit
  3. Delivery
  4. Death report

Describe the solution you'd like I want to be able to configure the order of the forms with some user-defined settings.

Describe alternatives you've considered I have considered changing the form codes to match the desired order, but it does not look neat.

Additional context This issue was raised by @ranjuts during the testing of CHT reference App.

garethbowen commented 5 years ago

This is a bug - it's certainly supposed to sort based on the translated title of the form.

binokaryg commented 5 years ago

Even if it's sorted based on the translated title, I'd still like the feature of being able to specify the order because the desired order for CHT ref app is based on the workflow, something like:

  1. Pregnancy registration
  2. Pregnancy home visit
  3. Delivery
  4. Death report

On Fri, Sep 20, 2019, 3:58 AM Gareth Bowen notifications@github.com wrote:

This is a bug - it's certainly supposed to sort based on the translated title of the form.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/medic/medic/issues/5962?email_source=notifications&email_token=AEY5ABD7LGO3A2TQL7MMEQ3QKP2RPA5CNFSM4IYOOTA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7E7HAQ#issuecomment-533328770, or mute the thread https://github.com/notifications/unsubscribe-auth/AEY5ABH26T3JEDGK5TUIJY3QKP2RPANCNFSM4IYOOTAQ .

garethbowen commented 5 years ago

Ahh ok, sorry, then yes this is a feature request. Sorry I read "form code" in the description and jumped to conclusions.