New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map loader + Chart loader + sourceLink on chart container #44
Conversation
@kilemensi looks good ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks and works great @karimkawambwa
- Code-wise, there is too much
{loading ? (
<ContentLoader
primaryOpacity={0.5}
secondaryOpacity={1}
>
>
<rect x="0" y="0" width="100%" height="100%" />
</ContentLoader>
Customize it like you've done for TypographyLoader
. e.g.
<BlockLoader loading={loading} {...props}>
{content to show when content is loaded}
</BlockLoader>
- Lets move sources to individual charts.
There will be only one source link @kilemensi |
@kilemensi I have addressed the code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<BlockLoader loading width="100%" height="100%" /> | ||
</div> | ||
)} | ||
<div |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This couldn't be a <BlockLoader ...><div ... /></BlockLoader>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't do this because of the root div.
Also because initial loading will look for div with mapId.
I will track this am make enhancement to the code later.
* Initial skeleton loader * Fix loader look * Profile tab loader * Search bar skeleton loader + all static text * Set is loading for chart container skeleton from hurumap-ui CodeForAfrica/HURUmap-UI#44 * Bump hurumap-ui version * Fix title grid * Fix chart factory to new hurumap-ui requirements
Description
Video: https://recordit.co/8XI1wzJpDo
The gif below lost quality, not good representation.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist: