add: option to clear all notifications when you open the page

This commit is contained in:
trisua 2025-06-27 01:38:35 -04:00
parent 45ea91a768
commit e7c4cf14aa
5 changed files with 19 additions and 3 deletions

View file

@ -49,6 +49,6 @@
(text "setTimeout(async () => {
await trigger(\"ui::io_data_load\", [\"/_swiss_army_timeline?user_id={{ profile.id }}&tag={{ tag }}&page=\", Number.parseInt(\"{{ page }}\") - 1, \"{{ paged }}\" === \"true\"]);
(await ns(\"ui\")).IO_DATA_DISABLE_RELOAD = true;
});"))
}, 500);"))
(text "{% endblock %}")

View file

@ -1536,6 +1536,11 @@
\"{{ profile.settings.paged_timelines }}\",
\"checkbox\",
],
[
[\"auto_clear_notifs\", \"Automatically clear all notifications when you open the notifications page\"],
\"{{ profile.settings.auto_clear_notifs }}\",
\"checkbox\",
],
[[], \"Fun\", \"title\"],
[
[\"disable_gpa_fun\", \"Disable GPA\"],