Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions tsconfig.frontend.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,6 @@
"./ui/js/spotlight.js"
],

"/js/brand-mark.js": [
"./ui/js/brand-mark.js"
],
"/js/brand-mark.js?v=*": [
"./ui/js/brand-mark.js"
],
"/js/settings-icon.js": [
"./ui/js/settings-icon.js"
],
Expand Down
8 changes: 4 additions & 4 deletions ui/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="/js/mobile-class.js?v=fe95da0d"></script>
<script src="/js/admin-theme.js?v=66565254"></script>
<link rel="stylesheet" href="/css/tokens.css?v=0f4ba0b8">
<link rel="stylesheet" href="/css/admin.css?v=03e2f74a">
<link rel="stylesheet" href="/css/admin.css?v=3ddff8cc">
<link rel="stylesheet" href="/css/widget-config-form.css?v=53b91d5f">
</head>
<body>
Expand All @@ -21,7 +21,7 @@
<!-- Sidebar -->
<nav class="sb" aria-label="Settings navigation" data-i18n-al="nav.navigation">
<a class="sb-brand" href="/" aria-label="Back to dashboard" data-i18n-al="nav.backToDashboard">
<svg width="30" height="30" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill="var(--accent)" d="M512 105.5A406.5 406.5 0 0 1 864.04 715.25A75.5 75.5 0 0 1 733.27 639.75A255.5 255.5 0 0 0 512 256.5A75.5 75.5 0 0 1 512 105.5Z"/><path fill="var(--tx)" d="M551.5 443.58L264.85 278.08A79 79 0 0 0 185.85 414.92L472.5 580.42A79 79 0 0 0 551.5 443.58ZM472.5 443.58L185.85 609.08A79 79 0 0 0 264.85 745.92L551.5 580.42A79 79 0 0 0 472.5 443.58ZM433 512L433 843A79 79 0 0 0 591 843L591 512A79 79 0 0 0 433 512Z"/></svg>
<svg class="sy-icon brand-logo" width="30" height="30" aria-hidden="true" focusable="false"><use href="#sy-solid-logo"/></svg>
<div>
<div class="sb-name">Stackyard</div>
<div class="sb-ver" id="sidebar-version"></div>
Expand Down Expand Up @@ -220,7 +220,7 @@ <h1 class="sec-title" id="ev-title">General</h1>
<div class="sec-hdr"><a class="m-back" href="/" aria-label="Back to dashboard" data-i18n-al="nav.backToDashboard"><svg class="sy-icon" width="18" height="18" aria-hidden="true" focusable="false"><use href="#sy-solid-back"/></svg></a><h1 class="sec-title" data-i18n="nav.about">About</h1></div>
<div class="about-hero">
<div class="about-ic-wrap">
<svg width="64" height="64" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill="var(--accent)" d="M512 105.5A406.5 406.5 0 0 1 864.04 715.25A75.5 75.5 0 0 1 733.27 639.75A255.5 255.5 0 0 0 512 256.5A75.5 75.5 0 0 1 512 105.5Z"/><path fill="var(--tx)" d="M551.5 443.58L264.85 278.08A79 79 0 0 0 185.85 414.92L472.5 580.42A79 79 0 0 0 551.5 443.58ZM472.5 443.58L185.85 609.08A79 79 0 0 0 264.85 745.92L551.5 580.42A79 79 0 0 0 472.5 443.58ZM433 512L433 843A79 79 0 0 0 591 843L591 512A79 79 0 0 0 433 512Z"/></svg>
<svg class="sy-icon brand-logo" width="64" height="64" aria-hidden="true" focusable="false"><use href="#sy-solid-logo"/></svg>
<div class="about-dot d-none" id="about-update-dot" title="Update available" data-i18n-title="about.updateAvailable">
<svg class="sy-icon" width="10" height="10" aria-hidden="true" focusable="false"><use href="#sy-solid-up"/></svg>
</div>
Expand Down Expand Up @@ -292,6 +292,6 @@ <h1 class="sec-title" id="ev-title">General</h1>
</div></div>
</div>

<script type="module" src="/js/admin.js?v=eb673e33"></script>
<script type="module" src="/js/admin.js?v=1f6569de"></script>
</body>
</html>
1 change: 1 addition & 0 deletions ui/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ html[data-theme="light"] .cc-kw-clear{background:radial-gradient(circle at 32% 2
.about-dot{position:absolute;top:-3px;inset-inline-end:-5px;width:20px;height:20px;background:var(--gn);border-radius:50%;border:2px solid var(--cp);display:flex;align-items:center;justify-content:center;color:var(--on-fill)}
.about-name{font-size:var(--fs-title-2);line-height:var(--lh-title-2);letter-spacing:var(--tr-title-2);font-weight:700;}
.about-ver{font-size:var(--fs-footnote);line-height:var(--lh-footnote);letter-spacing:var(--tr-footnote);color:var(--dm);margin-top:3px}
.sy-icon.brand-logo{color:var(--tx);--icon-accent:var(--accent)}
/* Orange and green fall below 3:1 behind white. Do not use them here. */
.sy-icon.about-ri{flex-shrink:0;box-sizing:content-box;width:18px;height:18px;padding:6px;border-radius:7px;color:#FFFFFF;--icon-accent:#FFFFFF;background:var(--sy-gray)}
.grp:has(.about-ri) .row::after{inset-inline-start:56px}
Expand Down
3 changes: 2 additions & 1 deletion ui/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,8 @@
pointer-events: none;
}
.empty-state-mark {
width: clamp(84px, 13vh, 132px); height: auto;
width: clamp(71px, 11vh, 112px); height: clamp(71px, 11vh, 112px);
color: var(--label-primary);
margin-block-end: var(--sp-32);
}
.empty-state-title {
Expand Down
Binary file modified ui/icons/favicon-maskable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<script src="/js/admin-theme.js?v=66565254"></script>
<title>Stackyard</title>
<link rel="stylesheet" href="/css/tokens.css?v=0f4ba0b8">
<link rel="stylesheet" href="/css/dashboard.css?v=982a82c8">
<link rel="stylesheet" href="/css/dashboard.css?v=b4ee81e3">
</head>
<body>
<header class="visually-hidden"><h1>Stackyard</h1></header>
Expand Down Expand Up @@ -55,5 +55,5 @@
</div>
</div>
</dialog>
<script type="module" src="/js/dashboard.js?v=688fb224"></script>
<script type="module" src="/js/dashboard.js?v=c633e276"></script>
</body></html>
10 changes: 5 additions & 5 deletions ui/js/admin-app-form.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { clr, el, inp as inpById, q as qSel, qa, qi, tgt } from '/js/utils.js?v=eadafbcd';
import { clr, el, inp as inpById, q as qSel, qa, qi, tgt } from '/js/utils.js?v=7d0a2f7d';
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=831e219e';
Expand All @@ -21,13 +21,13 @@ import {
reveal,
setTogDisabled,
swapContent,
} from '/js/admin-shared.js?v=d2e8b6dc';
import { createListbox } from '/js/listbox.js?v=f057351d';
} from '/js/admin-shared.js?v=9d789975';
import { createListbox } from '/js/listbox.js?v=c14ab216';
import { MAX_LABELS } from '/js/badge-logic.js?v=9e6d9d4b';
import { renderColorControl, BADGE_DEFAULT } from '/js/admin-color-control.js?v=e963853a';
import { renderColorControl, BADGE_DEFAULT } from '/js/admin-color-control.js?v=15d6a495';
import { badgeErrorAdvice, TONE } from '/js/admin-error.js?v=e4ea7820';
import { fluidHoverClear, fluidHoverKb } from '/js/fluid-hover.js?v=cb886e86';
import { iconSvg } from '/js/icon-set.js?v=08b74a28';
import { iconSvg } from '/js/icon-set.js?v=34af798f';

export function buildFolderForm(body, item) {
const children = item?.children || [];
Expand Down
4 changes: 2 additions & 2 deletions ui/js/admin-auth.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { apiGet, apiPost } from '/js/admin-shared.js?v=d2e8b6dc';
import { apiGet, apiPost } from '/js/admin-shared.js?v=9d789975';
import { t } from '/js/i18n.js?v=1f1ea9c1';
import { pwStrength } from '/js/password-strength.js?v=42f45ac7';
import { el, inp as inpById, qa } from '/js/utils.js?v=eadafbcd';
import { el, inp as inpById, qa } from '/js/utils.js?v=7d0a2f7d';

export async function checkAuth(onLogin) {
try {
Expand Down
6 changes: 3 additions & 3 deletions ui/js/admin-color-control.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { PE_SVG, initInlineEdit, toast, reveal } from '/js/admin-shared.js?v=d2e8b6dc';
import { PE_SVG, initInlineEdit, toast, reveal } from '/js/admin-shared.js?v=9d789975';
import { t } from '/js/i18n.js?v=1f1ea9c1';
import { html, raw, setHtml } from '/js/html.js?v=c71f8903';
import { qa, q } from '/js/utils.js?v=eadafbcd';
import { iconSvg } from '/js/icon-set.js?v=08b74a28';
import { qa, q } from '/js/utils.js?v=7d0a2f7d';
import { iconSvg } from '/js/icon-set.js?v=34af798f';
import { HUE_NAMES, ROLE_NAMES, TILE_KEYWORDS, pageTheme, tileColor } from '/js/palette.js?v=3fb8ae43';

const CC_SWATCHES = ['#1c1c1e', '#8e8e93', '#f2f2f7', '#ff393c', '#ffcd00', '#35c759', '#0289ff', '#cb30df'];
Expand Down
2 changes: 1 addition & 1 deletion ui/js/admin-drag.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import { applyDrop, canJoinFolder, folderRowZone } from '/js/admin-drag-logic.js?v=6b767e76';
import { state } from '/js/admin-state.js?v=831e219e';
import { snapshotItems } from '/js/admin-save-logic.js?v=60a82419';
import { qa } from '/js/utils.js?v=eadafbcd';
import { qa } from '/js/utils.js?v=7d0a2f7d';

/** @type {(before: unknown) => void} */
let _save = () => {};
Expand Down
12 changes: 6 additions & 6 deletions ui/js/admin-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
import { collapsedFolders, filter, state } from '/js/admin-state.js?v=831e219e';
import { snapshotItems } from '/js/admin-save-logic.js?v=60a82419';
import { reorderItems } from '/js/admin-logic.js?v=cbb7417d';
import { initDrag, wireRowDrag } from '/js/admin-drag.js?v=36006b2b';
import { paintIcon } from '/js/admin-shared.js?v=d2e8b6dc';
import { clr, el, qa, setUserText } from '/js/utils.js?v=eadafbcd';
import { initDrag, wireRowDrag } from '/js/admin-drag.js?v=e31d2128';
import { paintIcon } from '/js/admin-shared.js?v=9d789975';
import { clr, el, qa, setUserText } from '/js/utils.js?v=7d0a2f7d';
import { html, raw, setHtml } from '/js/html.js?v=c71f8903';
import { t } from '/js/i18n.js?v=1f1ea9c1';
import { sizeLabel } from '/js/admin-widget-form.js?v=fd3dcc6c';
import { widgetGlyph } from '/js/widget-glyphs.js?v=e1d968ad';
import { iconSvg } from '/js/icon-set.js?v=08b74a28';
import { sizeLabel } from '/js/admin-widget-form.js?v=f9235794';
import { widgetGlyph } from '/js/widget-glyphs.js?v=648cc374';
import { iconSvg } from '/js/icon-set.js?v=34af798f';

/** @type {{ openModal: (idx: number|null) => void,
openFolderPicker: (appId: string|null, targetFolderId?: string|null) => void,
Expand Down
8 changes: 4 additions & 4 deletions ui/js/admin-settings.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { toast, apiGet, apiPost, reveal, swapContent } from '/js/admin-shared.js?v=d2e8b6dc';
import { toast, apiGet, apiPost, reveal, swapContent } from '/js/admin-shared.js?v=9d789975';
import { pwStrength } from '/js/password-strength.js?v=42f45ac7';
import { t } from '/js/i18n.js?v=1f1ea9c1';
import {
Expand All @@ -9,9 +9,9 @@ import {
BLOCK,
} from '/js/admin-logic.js?v=cbb7417d';
import { confirmText } from '/js/modal.js?v=11fa1eff';
import { el, inp, setUserText } from '/js/utils.js?v=eadafbcd';
import { renderColorControl } from '/js/admin-color-control.js?v=e963853a';
import { BACKDROP } from '/js/background.js?v=175d9a7f';
import { el, inp, setUserText } from '/js/utils.js?v=7d0a2f7d';
import { renderColorControl } from '/js/admin-color-control.js?v=15d6a495';
import { BACKDROP } from '/js/background.js?v=92d3f3c2';

/* Mirrors the server's rule: auth cannot be switched on with no password. */
let _passwordSet = false;
Expand Down
4 changes: 2 additions & 2 deletions ui/js/admin-shared.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* Stateless helpers shared by the admin modules. Mutable state stays out. */
import { recoversSession, toastHoldMs } from '/js/admin-logic.js?v=cbb7417d';
import { el, q } from '/js/utils.js?v=eadafbcd';
import { el, q } from '/js/utils.js?v=7d0a2f7d';
import { t } from '/js/i18n.js?v=1f1ea9c1';
import { iconChain } from '/js/icons.js?v=9c8c550c';
import { iconSvg } from '/js/icon-set.js?v=08b74a28';
import { iconSvg } from '/js/icon-set.js?v=34af798f';

export const API = '';

Expand Down
10 changes: 5 additions & 5 deletions ui/js/admin-widget-form.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { state } from '/js/admin-state.js?v=831e219e';
import { PE_SVG, initInlineEdit, swapContent } from '/js/admin-shared.js?v=d2e8b6dc';
import { createListbox } from '/js/listbox.js?v=f057351d';
import { renderWidgetConfigForm } from '/js/widget-config-form.js?v=73604add';
import { PE_SVG, initInlineEdit, swapContent } from '/js/admin-shared.js?v=9d789975';
import { createListbox } from '/js/listbox.js?v=c14ab216';
import { renderWidgetConfigForm } from '/js/widget-config-form.js?v=a57a9501';
import { html, raw, setHtml } from '/js/html.js?v=c71f8903';
import { sizesForView, widgetConfigMode, rejectionLines, carriesTypedValues } from '/js/admin-logic.js?v=cbb7417d';
import { t } from '/js/i18n.js?v=1f1ea9c1';
import { q, qi, qa } from '/js/utils.js?v=eadafbcd';
import { iconSvg } from '/js/icon-set.js?v=08b74a28';
import { q, qi, qa } from '/js/utils.js?v=7d0a2f7d';
import { iconSvg } from '/js/icon-set.js?v=34af798f';

const SIZES_WITH_ICONS = new Set(['small', 'medium', 'large', 'xlarge']);

Expand Down
Loading
Loading