Adjust spec for unpublished draft comments section

Rename to "Has draft comments" to reduce confusion, and add a
dashboard-only suffix of "limit:10" to impose a maximum height. This
should help users who have an enormous number of changes in this
section, at least until we can introduce UI to help them clear out these
existing draft comments.

Change-Id: I69edb7bfd40184946d1cbd83bc2f01422adcb5cc
This commit is contained in:
Logan Hanks
2018-09-20 08:38:11 -07:00
parent 734205471b
commit 95a6935ff5

View File

@@ -27,10 +27,11 @@
{
// Changes with unpublished draft comments. This section is omitted when
// viewing other users, so we don't need to filter anything out.
name: 'Has unpublished drafts',
name: 'Has draft comments',
query: 'has:draft',
selfOnly: true,
hideIfEmpty: true,
suffixForDashboard: 'limit:10',
},
{
// WIP open changes owned by viewing user. This section is omitted when