feat: complete heaven readings and screener publication

This commit is contained in:
leefer
2026-08-05 23:44:17 +08:00
parent 6a058c2929
commit b3a21d05b7
34 changed files with 3538 additions and 225 deletions
+9 -1
View File
@@ -96,7 +96,15 @@ function applyMembershipAccess() {
if (gate) gate.hidden = unlocked;
view.querySelectorAll("button, input, textarea, select").forEach((control) => {
if (control.closest(".member-gate") || control.hasAttribute("data-member-navigation")) return;
control.disabled = !unlocked;
if (!unlocked) {
if (!("memberDisabled" in control.dataset)) {
control.dataset.memberDisabled = String(control.disabled);
}
control.disabled = true;
} else if ("memberDisabled" in control.dataset) {
control.disabled = control.dataset.memberDisabled === "true";
delete control.dataset.memberDisabled;
}
});
});
const assistantButton = document.querySelector("#assistantButton");