issues
search
maryvilledev
/
codesplainUI
Web app for breaking down and annotating Python 3 source code.
https://www.codesplain.io
GNU General Public License v3.0
2
stars
2
forks
source link
Snippet owner icon is removed when the user navigates away from a saved snippet
#495
Closed
solkaz
closed
7 years ago
solkaz
commented
7 years ago
Description
Refactors the snippet author avatar into its own component
AuthorAvatarIcon
.
Reset the snippet author when navigating away from a snippet
When loading another snippet, if that snippet's author is the logged-in user, use the avatar URL in the Redux store instead of pinging Github for it.
Motivation and Context
Fixes #485
Checklist:
[x] My code follows the code style of this project.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
Description
AuthorAvatarIcon
.Motivation and Context
Fixes #485
Checklist: