In admin areas add context links for parent containing entities

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the CSS-and-design category.

Last Updated: 2022-12-01

In OxbridgeNotes I have many authors, each of which have subjects, each of which in turn contains many modules, each of which has many uploaded note files.

  -> hasMany subjects

      -> hasMany modules

        -> hasMany notesFiles 

These correspond to various admin pages in the admin area. However, I noticed that navigation between them was clunky.

What was needed is a growing contextual set of back links (e.g. breadcrumbs) so as to go back up the tree as far as needed.

For example, in a notes file page I needed :

Author:TOM > Subject:Accounting > Module: Insolvency Rules > Charter ABC Rules