Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side Panel #903

Closed
1 task done
benjycui opened this issue Sep 26, 2023 · 7 comments
Closed
1 task done

Side Panel #903

benjycui opened this issue Sep 26, 2023 · 7 comments
Assignees
Labels
Progress: in progress Resolution: decline The TAG declines to review this work Review type: CG early review An early review of general direction from a Community Group Venue: Web Apps WG W3C Web Applications Working Group

Comments

@benjycui
Copy link

こんにちは TAG-さん!

I'm requesting a TAG review of Side Panel.

Modern browsers have a side panel that can be used to display additional information about the current page or provides a way to browse side-by-side. This proposal aims to standardize the side panel and its API. The new side panel API will allow developers to declare support for the side panel and to control their web content in the side panel.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • The group where the incubation/design work on this is being done (or is intended to be done in the future):
  • The group where standardization of this work is intended to be done: webapps
  • Existing major pieces of multi-stakeholder review or discussion of this design: N/A
  • Major unresolved issues with or opposition to this design: N/A
  • This work is being funded by: Microsoft Edge

We'd prefer the TAG provide feedback as:

🐛 open issues in our GitHub repo for each point of feedback

@benjycui benjycui added Progress: untriaged Review type: CG early review An early review of general direction from a Community Group labels Sep 26, 2023
@torgo torgo added Venue: Web Apps WG W3C Web Applications Working Group and removed Progress: untriaged labels Oct 11, 2023
@torgo torgo added this to the 2023-10-16-week milestone Oct 11, 2023
@plinss
Copy link
Member

plinss commented Oct 16, 2023

Hi! Thank you for sending this our way. We're not sure exactly about the use cases? You've listed a non-goal of displaying content from different origins but the example seems to show content from different origins. Also there's no specified way to target content to a side panel or to trigger content coming up in a side panel. Basically can you elaborate on the use cases a bit?

@plinss plinss added the Progress: pending editor update TAG is waiting for a spec/explainer update label Oct 16, 2023
@benjycui
Copy link
Author

I created a PR to update the explainer https://github.com/MicrosoftEdge/MSEdgeExplainers/pull/700/files

The confusing non-goal had been updated to:

Allowing a site to declare a side panel app of a different origin (e.g. contoso.com cannot declare a side panel app for fabrikam.com).

Side panel API is designed to be used by web developers when they want their web application can be promoted and detect being rendered in side panel.

If developers want to access left-side web content from a side panel app, they should use Extension.

If developers want to install a web application to side panel, they should use Web Install API.

@plinss plinss removed the Progress: pending editor update TAG is waiting for a spec/explainer update label Dec 18, 2023
@torgo torgo assigned matatk and unassigned atanassov Jan 23, 2024
@LeaVerou
Copy link
Member

Hi there, @hober, @torgo, @matatk, and I looked at this today during a breakout at our London F2F.

We have some concerns that the way this feature is designed overfits to Edge's specific side panel feature. We generally prefer Web platform features to be designed in a more general way to be able to encompass different designs for the same purpose, including designs that may conceivably emerge down the line.

Furthermore, we are not 100% sure that a new feature is needed at all. Adapting the UI design of the app for the smaller viewport can be done with existing web platform primitives. Is there something fundamentally different about this use case that requires a new display mode, and if so, what is the core of it? If we understand what is fundamentally different about this display mode over others (either existing, or potential future extensions) we may be able to give you more actionable design advice.

@benjycui
Copy link
Author

Thanks @LeaVerou

Adapting the UI design of the app for the smaller viewport can be done with existing web platform primitives.

There is an existing issue discussing about this MicrosoftEdge/MSEdgeExplainers#692

Is there something fundamentally different about this use case that requires a new display mode, and if so, what is the core of it?

That side panel might not provide UX like a browser tab/window is the reason why web page needs side-panel mode , e.g., side panel might not provide omnibox and back/forward button, so web applications need to provide other way to navigate around.

It is recommended to detect windows' width if styles or behaviors are not side panel only.

@LeaVerou
Copy link
Member

That side panel might not provide UX like a browser tab/window is the reason why web page needs side-panel mode , e.g., side panel might not provide omnibox and back/forward button, so web applications need to provide other way to navigate around.

This does not seem specific to side panels, the same thing applies in other contexts, e.g. certain window.open() calls.

@novac42
Copy link

novac42 commented Feb 20, 2024

@LeaVerou appreciate the feedback. A main difference is the context: sidebar PWA has a special UA to inform the app that it's being rendered in a sidebar of a main browser window. Therefore, developer could leverage this to dispatch more lightweight content that fits the sidebar, in that case sidebar PWA serves as a minimalist gateway to extensive content.
For example, an onboarded developer made a TikTok-style channel consists of short clips of its original movie/TV shows, and if users watched the short clip in sidebar, they could click on the title and start watching full length video in main browser window.

@plinss plinss removed this from the 2024-02-19-week milestone Mar 11, 2024
@torgo torgo added this to the 2024-03-18-week milestone Mar 17, 2024
@matatk matatk added the Resolution: decline The TAG declines to review this work label Mar 18, 2024
@matatk
Copy link

matatk commented Mar 18, 2024

Thanks @benjycui for your request, and to you and @novac42 for your answers to our questions. It looks like there isn't active community engagement with this proposal at the moment (please point us in the right direction if we've missed anything) - so we are closing this for now. However, if the community picks up on this work in future, please feel free to re-open.

@matatk matatk closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Progress: in progress Resolution: decline The TAG declines to review this work Review type: CG early review An early review of general direction from a Community Group Venue: Web Apps WG W3C Web Applications Working Group
Projects
None yet
Development

No branches or pull requests

7 participants