jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

Profile sections Routing #318

Closed marcomarasco closed 4 years ago

marcomarasco commented 4 years ago

Expected Behavior

Having all profile pages under the same root

Current Behavior

Oath Keeper and Advocate url are on different endpoints, different from profile other sections.

Possible Solution

Change routing for those pages.

Steps to Reproduce

Environment: Temp

Navigate between profile section and see the url used.

Schermata 2020-07-21 alle 10 29 18
ashishjur commented 4 years ago

Cause: Initial thought behind putting pages in their own URL namespace was to keep consistency with backend API routings.

As on frontend, there is no need to maintain consistency with API URL namespaces in case of Profile related pages, my-advocacy and my-oaths are moved from their resource namespaces to profile.