fix(smart-scope): preserve draft filters while editing (#54)

Keep incomplete root filters visible in the SmartScope editor.

This lets users choose a field before setting an operator or value.

Fixes #52
This commit is contained in:
neon
2026-05-19 10:26:29 -06:00
committed by GitHub
parent 9d9461640b
commit 402d1cde5d
4 changed files with 60 additions and 34 deletions
+1 -31
View File
@@ -4,37 +4,7 @@ module.exports = {
"type-enum": [2, "always", ["feat", "fix", "db", "perf", "refactor", "style", "docs", "test", "build", "ci", "chore", "security", "revert"]],
"header-max-length": [2, "always", 100],
"subject-full-stop": [2, "never", "."],
"scope-enum": [
2,
"always",
[
"auth",
"library",
"books",
"authors",
"series",
"cover",
"metadata",
"kobo",
"opds",
"reader",
"collections",
"annotations",
"users",
"stats",
"notifications",
"settings",
"scanner",
"email",
"audit",
"smart-scope",
"types",
"docker",
"deps",
"server",
"client",
],
],
"scope-enum": [0],
"scope-empty": [0],
},
};