This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trigger callback for highlight animation
Pass the callback to the child method up the component hierarchy, via a "trigger method", so the mobile banner can call the method for the animation when it shows the fullpage banner. Add explicitly evaluated spaces to TextHighlight child text to circumvent [JSX space-eating behavior][1]. [1]: facebook/react#4134
- Loading branch information
Showing
6 changed files
with
34 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# TODOs | ||
|
||
- [ ] Highlight animation only in mobile banner | ||
- [ ] Scroll in from top | ||
- [ ] Lightbox | ||
- [ ] Lightbox for Application of Funds (on Desktop) | ||
- [ ] Adjust mobile slides accoring to the criteria for CTRL in https://phabricator.wikimedia.org/T235728 | ||
|
||
## For Usage on wp.org: | ||
- [ ] Make CSS localized by prepending all CSS with ID, or using | ||
[newfangled stuff](https://github.com/css-modules/css-modules), | ||
[CSS modules](https://github.com/css-modules/css-modules), | ||
see [this article](https://medium.com/trabe/using-bem-conventions-in-css-modules-leveraging-custom-webpack-loaders-fd985f72bcb2) | ||
to learn how to combine BEM notation and CSS modules | ||
- [ ] Progress bar | ||
- [ ] Mediawiki-Skin dependent banner space reservation (see `shared/skin` classes) | ||
- [ ] Mediawiki-Skin dependent banner space reservation (see `shared/skin` classes) | ||
- [ ] initial delay and scroll-in. For that, maybe the `bannerVisible` property needs to be split in two: One for actual visibility and one for when the banner is "ready" (i.e. completely scrolled down). This will become important for when animations should start when the banner is fully in view (e.g. progress bar) | ||
- [ ] Progress bar. (starting only when `bannerVisible` property switches from false to true) | ||
|
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