feat(notifications): add overlay notifications with position config (#110)

This commit is contained in:
2026-06-10 22:46:52 -07:00
committed by GitHub
parent c09d009a3e
commit 7be1843c41
177 changed files with 7524 additions and 440 deletions
+9 -1
View File
@@ -216,7 +216,15 @@ export function renderControl(
if (field.control === 'select') {
const select = createElement('select', 'config-input') as HTMLSelectElement;
for (const enumValue of field.enumValues ?? []) {
const enumValues = field.enumValues ?? [];
if (typeof value === 'string' && value.length > 0 && !enumValues.includes(value)) {
const option = createElement('option') as HTMLOptionElement;
option.value = value;
option.textContent = `${value} (config file only)`;
option.selected = true;
select.append(option);
}
for (const enumValue of enumValues) {
const option = createElement('option') as HTMLOptionElement;
option.value = enumValue;
option.textContent = enumValue;