Flip the defaults of the attention and assignee flags
By default the attention set becomes enabled and the assignee feature
becomes disabled.
Change-Id: Ic55a731eb5136306dd14c6bad80e1e160185793a
(cherry picked from commit 4427d43734)
This commit is contained in:
@@ -1284,14 +1284,14 @@ The default is false.
|
||||
If set to true, then all UI features for using and interacting with the
|
||||
attention set are enabled.
|
||||
+
|
||||
The default is false for now, but will be changed to true in Q2 2020.
|
||||
The default is true.
|
||||
|
||||
[[change.enableAssignee]]change.enableAssignee::
|
||||
+
|
||||
If set to true, then all UI features for using and interacting with the
|
||||
assignee are enabled.
|
||||
+
|
||||
The default is true for now, but will be changed to false in Q2 2020.
|
||||
The default is false.
|
||||
|
||||
[[change.largeChange]]change.largeChange::
|
||||
+
|
||||
|
||||
@@ -156,10 +156,9 @@ been replaced by the attention set.
|
||||
|
||||
=== For Gerrit Admins
|
||||
|
||||
The Attention Set will be part of the upcoming 3.3 release (due late 2020).
|
||||
We are testing it on `googlesource.com` right now. If you build your Gerrit from
|
||||
master, you can enable it using
|
||||
link:config-gerrit.html#change.enableAttentionSet[enableAttentionSet].
|
||||
The Attention Set will be part of the upcoming 3.3 release (due late 2020). It
|
||||
is enabled by default, but you can disable it by setting
|
||||
link:config-gerrit.html#change.enableAttentionSet[enableAttentionSet] to false.
|
||||
|
||||
=== Important note for all host owners, project owners, and bot owners
|
||||
|
||||
|
||||
@@ -61,6 +61,6 @@ public class EmailSettings {
|
||||
TimeUnit.MILLISECONDS.convert(60, TimeUnit.SECONDS),
|
||||
TimeUnit.MILLISECONDS);
|
||||
sendNewPatchsetEmails = cfg.getBoolean("change", null, "sendNewPatchsetEmails", true);
|
||||
isAttentionSetEnabled = cfg.getBoolean("change", null, "enableAttentionSet", false);
|
||||
isAttentionSetEnabled = cfg.getBoolean("change", null, "enableAttentionSet", true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,8 +238,9 @@ public class GetServerInfo implements RestReadView<ConfigResource> {
|
||||
info.mergeabilityComputationBehavior =
|
||||
MergeabilityComputationBehavior.fromConfig(config).name();
|
||||
info.enableAttentionSet =
|
||||
toBoolean(this.config.getBoolean("change", null, "enableAttentionSet", false));
|
||||
info.enableAssignee = toBoolean(this.config.getBoolean("change", null, "enableAssignee", true));
|
||||
toBoolean(this.config.getBoolean("change", null, "enableAttentionSet", true));
|
||||
info.enableAssignee =
|
||||
toBoolean(this.config.getBoolean("change", null, "enableAssignee", false));
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user