This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 975
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- moving SVGs into img/newtab/ folder - standardized colors between about:newtab and Bravery panel (pulled into variables.less) - marked items we don't want having text selection w/ -webkit-user-select:none - marked items as cursor:default, to ensure a more app-like feel (versus browser icons) - SVG icons in bottom right are now drawn via mask and have a hover color (gray) - adding tests for about:newtab - fixed bookmark behavior; title is correct (add or edit; recent changes not related to newtab updated this behavior) - updated SiteRemovalNotification to use component state (triggering re-render when change happens) - updated styles to match expected behavior (no border on close button, pointer cursor on undo/restore all links, etc) - all images (except one) removed from project - image details are now stored in json in ./js/data/backgrounds.js - images will try to load remotely: - if they fail, they'll fall back to the built-in image (see config.js) - if the built-in image fails, the screen still looks nice (uses gradient) - screen desperately needs fade in transition to avoid FOUC (https://en.wikipedia.org/wiki/Flash_of_unstyled_content) - properties that read newTabState moved into stats component - code retrieving about links moved into footer component - components not using state were updated to inherit from ImmutableComponent - clock updated to start with a time (no longer waits 1 second before showing) - remove multiple calls to aboutAction where possible - fix broken bookmark button (handlers had wrong names) NOTE: the ONLY way I could find to detect image load failure was to put a hidden image tag with an onerror handler. Having a div with a `background-image` CSS attribute doesn't appear to offer a way to catch the error. You can provide a fallback image URL, but the title of the image won't match (and down the road, the author details may not match, if there are multiple authors)
- Loading branch information
Showing
31 changed files
with
417 additions
and
359 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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
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.