medic / angular10-migration

0 stars 0 forks source link

Implement messages URL redirect #108

Open dianabarsan opened 3 years ago

dianabarsan commented 3 years ago

In the old codebase, there is a redirect for the messages page from #/messages/<uuid> to #/messages/contact:<uuid>. This redirection is not implemented in the new codebase.

To replicate:

  1. Navigate to: https://gamma.dev.medicmobile.org/#/messages/9fba95c0-6152-4fc1-aa3f-b09463ebaf75
  2. See that you are redirected to: https://gamma.dev.medicmobile.org/#/messages/contact:9fba95c0-6152-4fc1-aa3f-b09463ebaf75

This is where the feature is implemented in the old codebase: https://github.com/medic/cht-core/blob/master/webapp/src/js/app.js#L138