UX Improvements

This commit is contained in:
Brennan Wilkes (Text Groove) 2026-02-05 16:24:25 -08:00
parent a553cb4d4e
commit bb99881a7c
2 changed files with 643 additions and 657 deletions

View file

@ -347,7 +347,7 @@ export function renderSearch($app) {
typeof canonicalSkuFn === "function" ? canonicalSkuFn : (x) => x; typeof canonicalSkuFn === "function" ? canonicalSkuFn : (x) => x;
const nowMs = Date.now(); const nowMs = Date.now();
const cutoffMs = nowMs - 24 * 60 * 60 * 1000; const cutoffMs = nowMs - 3 * 24 * 60 * 60 * 1000;
function eventMs(r) { function eventMs(r) {
const t = String(r?.ts || ""); const t = String(r?.ts || "");
@ -420,7 +420,7 @@ export function renderSearch($app) {
const limited = ranked.slice(0, 140); const limited = ranked.slice(0, 140);
$results.innerHTML = $results.innerHTML =
`<div class="small">Recently changed (last 24 hours):</div>` + `<div class="small">Recently changed (last 3 days):</div>` +
limited limited
.map(({ r, meta }) => { .map(({ r, meta }) => {
const kindLabel = const kindLabel =

File diff suppressed because it is too large Load diff