-
Notifications
You must be signed in to change notification settings - Fork 2
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
Avatar: update minor documentation #1771
Conversation
Moved into Draft to investigate if this is necessary due to SAGE-427 |
d93288f
to
37b67b9
Compare
- Add support for initials to be displayed when image source is not available - Implement lazy loading of initials in the avatar component as a helper
- Updated Rails - Updated React
- Add an example showcasing the usage of the 'initial' feature in the Avatar component
- Elaborate on the usage of initials and lazy loading for Avatar - Clarify that the initials option can be used independently - Explain how to disable lazy loading by setting `lazy_load_initials` to false
37b67b9
to
34c9174
Compare
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.
LGTM! Nice update! 👍🏼
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.
See comment under Button.story.jsx
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.
Approved, pending @ju-Skinner 's comment
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.
LIne 4, Button.story.jsx can be removed since it is no longer being used. This will also address the Linting error.
import { Avatar } from '../Avatar';
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.
Great job. Thanks for being patient with me and my feedback.
Description
Update minor aspects of documentation related to Avatar.
Testing in
sage-lib
View React documentation to ensure Avatar is working as expected
http://localhost:4100/?path=/docs/sage-avatar--default
Testing in
kajabi-products
2