Master Routes initial detail route

is there any way to set the initial detail route when opening the master route in the splitview ?

Yes, your detail route should be under detailRoutes and you need to navigate to detail route instead of master root then it should load both master and detail:

{
    path: '/master-detail/',
    url: './pages/master-detail-master.html',
    master: true,
    detailRoutes: [
      {
        path: '/master-detail/:id/',
        templateUrl: './pages/master-detail-detail.html',
      },
    ]
  },

So navigating directly to /master-detail/1/ should do the trick

works, but it works best only if the master/detail routing is not nested within another routing. Otherewise the back button doesn’t work as intended

Any idea on how to update the master page context?