MicrosoftEdge / MSEdgeExplainers

Home for explainer documents originated by the Microsoft Edge team
Creative Commons Attribution 4.0 International
1.31k stars 211 forks source link

[Side Panel] Separate start_url for side panel #640

Open kfarwell opened 1 year ago

kfarwell commented 1 year ago

I would like an option to specify a start_url for apps opened in the side panel that can be different from the default start_url.

My use case is an app that includes, among other things, messaging functionality. This messaging page is suitable for the side bar but other pages are more comfortable in a regular standalone PWA or webpage. So I would like to have the side bar app open to the messaging page while links open in regular tabs (#637).

The syntax might look like:

{
  "start_url: "/",
  "edge_side_panel": {
    "start_url": "/messages"
  }
}
sohchatt commented 1 year ago

Thanks for your feedback @kfarwell. We had anticipated the need for something that sounds exactly like your proposal. I'll circle back with updates to this thread.