add: ability to mute phrases
add: ability to disable gpa experiment
This commit is contained in:
parent
9d839a1a63
commit
f034cc4f27
7 changed files with 212 additions and 63 deletions
|
@ -1204,8 +1204,19 @@
|
|||
settings.warning,
|
||||
\"textarea\",
|
||||
],
|
||||
[[\"muted\", \"Muted phrases\"], settings.muted.join(\"\\n\"), \"textarea\", {
|
||||
embed_html:
|
||||
'<span class=\"fade\">Muted phrases should all be on new lines.</span>',
|
||||
}],
|
||||
],
|
||||
settings,
|
||||
{
|
||||
muted: (new_muted) => {
|
||||
settings.muted = new_muted
|
||||
.split(\"\\n\")
|
||||
.map((t) => t.trim());
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
ui.generate_settings_ui(
|
||||
|
@ -1303,6 +1314,12 @@
|
|||
\"Hides dislikes on all posts. Users can still dislike your posts, you just won't be able to see it.\",
|
||||
\"text\",
|
||||
],
|
||||
[[], \"Fun\", \"title\"],
|
||||
[
|
||||
[\"disable_gpa_fun\", \"Disable GPA\"],
|
||||
\"{{ profile.settings.disable_gpa_fun }}\",
|
||||
\"checkbox\",
|
||||
],
|
||||
],
|
||||
settings,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue