From aebe48bcb8a4ea39fafbcc27aadfb892372acf8b Mon Sep 17 00:00:00 2001 From: SandObserver <260779319+SandObserver@users.noreply.github.com> Date: Fri, 2 Oct 2026 23:49:13 -0400 Subject: [PATCH] Document the Type to Search switch and refresh the app code copies - Add Type to Search to the Display table in the Settings reference and to the Appearance page. - Refresh the copied app scripts and widget pages. --- public/js/admin-app-form.js | 55 ++++++++---- public/js/admin-auth.js | 26 +++++- public/js/admin-color-control.js | 10 ++- public/js/admin-drag.js | 2 +- public/js/admin-list.js | 35 +++++++- public/js/admin-settings.js | 84 +++++++++++-------- public/js/admin-shared.js | 17 ++-- public/js/admin-widget-form.js | 22 +++-- public/js/admin.js | 67 +++++++++------ public/js/background.js | 2 +- public/js/dashboard.js | 35 +++----- public/js/import-foreign.js | 13 +++ public/js/listbox.js | 7 +- public/js/spotlight.js | 15 +++- public/js/ui.js | 6 +- public/js/utils.js | 29 +++++++ public/js/widget-config-form.js | 19 +++-- public/js/widget-toolbox.js | 36 ++++++++ public/widgets/backup/backup.html | 12 ++- public/widgets/books/index.html | 2 +- public/widgets/clock/analog.html | 2 +- public/widgets/clock/digital.html | 2 +- .../widgets/connections/connections-map.html | 2 +- .../widgets/connections/connections-vpn.html | 9 +- public/widgets/dashboard-switch/index.html | 2 +- public/widgets/disk-health/index.html | 2 +- public/widgets/dns/index.html | 8 +- public/widgets/github/contributions.html | 17 ++-- public/widgets/github/pullrequests.html | 27 +++--- public/widgets/nowplaying/index.html | 31 ++++--- public/widgets/system-summary/index.html | 2 +- public/widgets/weather/index.html | 5 +- src/content/docs/docs/customization.md | 2 + src/content/docs/docs/settings-reference.md | 1 + 34 files changed, 411 insertions(+), 195 deletions(-) diff --git a/public/js/admin-app-form.js b/public/js/admin-app-form.js index 3c05f5e..fc039ab 100644 --- a/public/js/admin-app-form.js +++ b/public/js/admin-app-form.js @@ -1,4 +1,4 @@ -import { clr, el, inp as inpById, q as qSel, qa, qi, tgt } from '/js/utils.js?v=c5766a9d'; +import { clr, el, focusFirst, inp as inpById, q as qSel, qa, qi, tgt } from '/js/utils.js?v=9a9bfb54'; import { html, raw, setHtml } from '/js/html.js?v=c71f8903'; import { loadLocalIcons, resolveIcon, iconChain, cdnIconRef, splitIconRef } from '/js/icons.js?v=9c8c550c'; import { state } from '/js/admin-state.js?v=af772a1b'; @@ -22,10 +22,10 @@ import { reveal, setTogDisabled, swapContent, -} from '/js/admin-shared.js?v=a81b9cbe'; -import { createListbox } from '/js/listbox.js?v=9a8ae607'; +} from '/js/admin-shared.js?v=f5551857'; +import { createListbox } from '/js/listbox.js?v=30c1b9d1'; import { MAX_LABELS } from '/js/badge-logic.js?v=9e6d9d4b'; -import { renderColorControl, BADGE_DEFAULT } from '/js/admin-color-control.js?v=0d4d1038'; +import { renderColorControl, BADGE_DEFAULT } from '/js/admin-color-control.js?v=233683ad'; import { badgeErrorAdvice, TONE } from '/js/admin-error.js?v=f82486b2'; import { fluidHoverClear, fluidHoverKb } from '/js/fluid-hover.js?v=cb886e86'; import { iconSvg } from '/js/icon-set.js?v=34af798f'; @@ -65,7 +65,7 @@ function _wireFolderApps(apps, children) { const row = el('folder-apps-row'); if (!row) return; const box = createListbox({ - label: t('folder.appsInFolder'), + label: t('folder.addApps'), multiple: true, options: apps.map(a => ({ value: a.id, label: a.label || a.id })), value: children, @@ -115,14 +115,14 @@ export function buildAppForm(body, item) { ${ier('ie-url', t('app.url'), 'f-href', item?.href, t('app.urlPh'), 'url')} -
${t('app.icon')}
+${t('app.icon')}
${t('app.dockFull', { max: DOCK_MAX })}
` : ''} -${t('app.badge')}
+${t('app.badge')}