Add "New Updates" dot for unviewed review requests.

Review Request #11182 — Created Sept. 19, 2020 and updated — Latest diff uploaded

Information

Review Board
release-3.0.x

Reviewers

The dashboard has a column which can show a blue dot when review requests have
had new updates since the last time they were viewed by the user. This is used
by people to let them know that there's some unread content. However, the
column currently would not include the dot for review requests which have
never been opened by the user. Since those too should count as unread content,
we want to cover this scenario as well.

This change adds "New Updates" blue dot to a review request if it hasn't
been opened yet.

Unit tests passed. Also manually checked the "New Updates" dot does appear on review requests that hasn't been visited.

Diff Revision 4 (Latest)

orig
1
2
3
4

Commits

First Last Summary ID Author
Add "New Updates" dot for unviewed review requests.
The dashboard has a column which can show a blue dot when review requests have had new updates since the last time they were viewed by the user. This is used by people to let them know that there's some unread content. However, the column currently would not include the dot for review requests which have never been opened by the user. Since those too should count as unread content, we want to cover this scenario as well. This change adds "New Updates" blue dot to a review request if it hasn't been opened yet. Testing Done: Unit tests passed.
4570c4feacc643cf1b65c50f911d711788efe3c5 Bruce Nie
NIT fixes.
517c6c73503f120d973429fba88e6dd493e48c90 Bruce Nie
reviewboard/datagrids/columns.py
reviewboard/datagrids/tests.py
Loading...