More details to come once we get the UX spec.
Bug 1826604 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
There are several empty states that should be implemented based on why its empty, per the figma [https://www.figma.com/file/wP9MY9KJn9xqPf140lTvTv/Fx-View-Specs-2023?node-id=2742-90260&t=TPjtgZ1FCqSH66EO-0]: - user has cleared history - user has a 'never remember history' preference selected - User has a profile age of 7 or fewer days, has not previouslly imported browsing history
There are several states that should be implemented per the figma [https://www.figma.com/file/wP9MY9KJn9xqPf140lTvTv/Fx-View-Specs-2023?node-id=2742-90260&t=TPjtgZ1FCqSH66EO-0]: Empty States - user has cleared history - user has a 'never remember history' preference selected Banner, persistent until the user dismisses it. - User has a profile age of 7 or fewer days, has not previously imported browsing history
There are several states that should be implemented per the figma [https://www.figma.com/file/wP9MY9KJn9xqPf140lTvTv/Fx-View-Specs-2023?node-id=2742-90260&t=TPjtgZ1FCqSH66EO-0]: Empty States - user has cleared history - user has a 'never remember history' preference selected Banner, persistent until the user dismisses it. - User has a profile age of 7 or fewer days, has not previously imported browsing history. I think we can check for whether [this pref](https://searchfox.org/mozilla-central/source/browser/app/profile/firefox.js#2201) is false or not to determine whether to show this empty state and button.
There are several states that should be implemented per the figma [https://www.figma.com/file/wP9MY9KJn9xqPf140lTvTv/Fx-View-Specs-2023?node-id=2742-90260&t=TPjtgZ1FCqSH66EO-0]: Empty States - user has cleared history - user has a 'never remember history' preference selected Banner, persistent until the user dismisses it. - User has a profile age of 7 or fewer days, has not previously imported browsing history. I think we can check for whether [this pref](https://searchfox.org/mozilla-central/source/browser/app/profile/firefox.js#2201) is false or not to determine whether to show this banner.