-
Notifications
You must be signed in to change notification settings - Fork 414
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
Direct reacting from notifications #6935
Conversation
1da2652
to
de71a45
Compare
de71a45
to
124a41e
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.
Good approach in general, touching minimal files as possible.
A few issues found; mainly concerned with the lag. Not sure if it's due to the excessive API calls (mentioned below), or perhaps unintended re-renders.
<div | ||
className={classnames('notification__wrapper', { | ||
'notification__wrapper--unread': !is_read, | ||
})} | ||
> | ||
<Wrapper> |
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.
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 one still exists. Can ship, although we should stop introducing console errors to a already-long list (e.g. Modal dismissal, Reach, videojs)
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | |||
- Add confirmation on comment removal _community pr!_ ([#6563](https://github.com/lbryio/lbry-desktop/pull/6563)) | |||
- Show on content page if a file is part of a playlist already _community pr!_([#6393](https://github.com/lbryio/lbry-desktop/pull/6393)) | |||
- Add filtering to playlists ([#6905](https://github.com/lbryio/lbry-desktop/pull/6905)) | |||
- Added direct replying to notifications _community pr!_ ([#6935](https://github.com/lbryio/lbry-desktop/pull/6935)) |
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.
File thumbnail flickers a lot
Probably a non-blocker, but a bit annoying. Was present in the past, but now super obvious.
It flickers when:
- you refresh the Notifications Page (or initial load)
- On a comment notification, click "Reply" to expand the text box (notice other notifications with file thumbnails will flicker).
- On a comment notification, click "Cancel" to close the text box (notice other notifications with file thumbnails will flicker).
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.
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.
Ah, it happens when the actual comment has been deleted. Not sure how to handle this gracefully. Probably can ignore for now, unless you have some ideas.
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.
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.
@infinite-persistence if this looks good on another review, please merge
944c662
to
ead363c
Compare
ead363c
to
b69b01e
Compare
Fixes
Issue Number: #5062, and closes #6906
(Previously #6711, now with issues addressed)
What is the new behavior?
PR Type & Checklist
PR Type...
What kind of change does this PR introduce?
PR Checklist...
Please check all that apply to this PR using "x":