FEATURE: allow group membership to unmute categories and tags

For sites that are configured to mute some or all categories and tags
for users by default, groups can now be configured to set members'
notification level to normal from the group manage UI.
This commit is contained in:
Neil Lalonde
2020-08-13 17:20:23 -04:00
parent 18fb34bf2e
commit d65a839577
14 changed files with 124 additions and 59 deletions

View File

@ -16,7 +16,7 @@ QUnit.test("As an admin", async assert => {
await visit("/g/discourse/manage/categories");
assert.ok(
find(".groups-notifications-form .category-selector").length === 4,
find(".groups-notifications-form .category-selector").length === 5,
"it should display category inputs"
);
});
@ -27,7 +27,7 @@ QUnit.test("As a group owner", async assert => {
await visit("/g/discourse/manage/categories");
assert.ok(
find(".groups-notifications-form .category-selector").length === 4,
find(".groups-notifications-form .category-selector").length === 5,
"it should display category inputs"
);
});

View File

@ -16,7 +16,7 @@ QUnit.test("As an admin", async assert => {
await visit("/g/discourse/manage/tags");
assert.ok(
find(".groups-notifications-form .tag-chooser").length === 4,
find(".groups-notifications-form .tag-chooser").length === 5,
"it should display tag inputs"
);
});
@ -27,7 +27,7 @@ QUnit.test("As a group owner", async assert => {
await visit("/g/discourse/manage/tags");
assert.ok(
find(".groups-notifications-form .tag-chooser").length === 4,
find(".groups-notifications-form .tag-chooser").length === 5,
"it should display tag inputs"
);
});