-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1936656 - Add ability to show multiple content tiles on a single …
…aboutwelcome screen with option to toggle visibility r=emcminn,omc-reviewers,jprickett **Primary Updates** - Add ability to show multiple content tiles on a single AboutWelcome screen by supporting an array of tile objects and/or sub-arrays of tile objects to be groups together as a value for "tiles" in screen content - Keep compatibility with messages that use a single tile object as the value of "tiles" in screen content - Add updates to `setMultiSelectActions` to ensure we can handle actions across multiple MultiSelect tiles. - Add optional tile headers which can be displayed in place of the tile until clicked, closing any other tile with a header that's currently open - Send click event telemetry when a user clicks a tile header to open the tile - Update aboutwelcome source docs related to content tiles to include this new capability **Additional Updates to Support UX Designs** [[ https://www.figma.com/design/F63Ac1akw2q1fN5D59rgS5/Privacy?node-id=4110-16458&t=kSzPUp4XFLq0dKg8-4 | See Figma designs ]] - Add ability to configure `display`, `padding`, and `width` for aboutwelcome screens (this allows us to support the proposed Spotlight modal designs, which include anchoring the modal towards the top of the screen and expanding it downward when a tile is opened, rather than centering vertically) - Add ability to configure action buttons to show above screen content {F11717546} Differential Revision: https://phabricator.services.mozilla.com/D231856 UltraBlame original commit: f7524feb52aa820a5e877b14b4a0a02815cf3ae8
- Loading branch information
Showing
15 changed files
with
24,499 additions
and
7,558 deletions.
There are no files selected for viewing
608 changes: 549 additions & 59 deletions
608
browser/components/aboutwelcome/content-src/aboutwelcome.scss
Large diffs are not rendered by default.
Oops, something went wrong.
962 changes: 962 additions & 0 deletions
962
browser/components/aboutwelcome/content-src/components/ContentTiles.jsx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.