codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
30 stars 26 forks source link

[New Feature] - Issue 488/breadcrumb navigation #497

Closed leekahung closed 10 months ago

leekahung commented 11 months ago

This PR:

Resolves Issue #488. This PR also includes minor updates to routes and routing names for easier route management for the new Breadcrumbs implementation. The new Breadcrumbs component will be placed under src/Layouts as Breadcrumbs.jsx and imported as part of Layout.jsx. It renders only when logged into PASS (See clip below)

For the route which the person navigated to will be turned into a text element rather than a link, but all parent routes remains a link.

Other changes include routing changes from /profile/:webId to /contacts/:webId. While it's intuitive to place profiles under "/profiles" and any potential children routes, it makes more sense to have it placed under "/contacts/:webId" instead since that's where people are accessing their profile from. The existing "/profile" route, however, remains the same for the user's own profile page.

Screenshots (if applicable):

https://github.com/codeforpdx/PASS/assets/14917816/d689b55e-f364-472c-a960-3527d96e0b31

bingeboy commented 10 months ago

Pulled and tested locally. 👍