A new idea for survey banners #3464
Replies: 2 comments 9 replies
-
I really like the change, and wanted to add that the new banner would not be a floating/fixed-position element, so it would move out of view as the user scrolled down the page (or the user could close it). |
Beta Was this translation helpful? Give feedback.
-
Please be very careful with considering how this would work. In particular, will the banner be overlayed on top or will it be part of the bottom layer? I.e. will the distance, in pixels, from the top of the logo to the browser chrome top, be constant or variable depending on the banner being present? It matters greatly because it determines how we can choose to display it. For example, if the user hasn't clicked to close it and is part of the path and/or percentage of people who should see the banner, they could potentially get a layout shift if the banner isn't an overlay. |
Beta Was this translation helpful? Give feedback.
-
After a lengthy discussion yesterday between the MDN Web docs team, we have changed how we will implement banners on MDN Web Docs going forward.
At the moment, we show a banner as a floating, fixed positioned element at the bottom of all pages. We also only show this on landscape oriented tablets and larger viewports.
The new implementation will show the banner as a banner at the top of all pages across all devices. The base functionality does not change, and this is largely a UI change. While we currently have a title, subtitle and action button, the new design is much more simplified.
We will have to decide what we will accommodate over and above what we show in the above screenshot. This is the jumping of point to get feedback and make a collaborative decision on the final implementation.
Should everyone agree, we can spin off an issue to implement.
Beta Was this translation helpful? Give feedback.
All reactions