commit 548f0f425038cd4eb43e9d50fafa27b2293f2e9d Author: Dhruv Srivastava Date: Fri Aug 28 14:24:13 2020 +0200 Toggle default to show unresolved comments Screenshots: https://imgur.com/a/4Yw7OcR Change-Id: I4cf36dda500f8561803470811d795f0b5260c235 diff --git a/polygerrit-ui/app/constants/messages.ts b/polygerrit-ui/app/constants/messages.ts index 15692bd..5b4a534 100644 --- a/polygerrit-ui/app/constants/messages.ts +++ b/polygerrit-ui/app/constants/messages.ts @@ -15,10 +15,6 @@ * limitations under the License. */ -/** @desc Default message shown when no threads in gr-thread-list */ -export const NO_THREADS_MSG = - 'There are no inline comment threads on any diff for this change.'; - /** @desc Message shown when no threads in gr-thread-list for robot comments */ export const NO_ROBOT_COMMENTS_THREADS_MSG = 'There are no findings for this patchset.'; diff --git a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts index f0b8372..6af8960 100644 --- a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts +++ b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts @@ -637,6 +637,7 @@ export const htmlTemplate = html` logged-in="[[_loggedIn]]" only-show-robot-comments-with-human-reply="" on-thread-list-modified="_handleReloadDiffComments" + unresolved-only >