release: v0.19.0
Release v0.19.0. See the `## [0.19.0] — 2026-09-29` section of [CHANGELOG.md](https://github.com/ralksta/immich-folio/blob/dev/CHANGELOG.md) for the full list. Highlights: client proofing links (#683), custom content pages (#738), asset picker search (#740), concurrent-edit detection (#742), env-locked settings (#739), an accessibility baseline (#741), three security fixes with advisories (#737, #755, #759), and a pre-release quality pass (#780–#797). --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: ralksta <ralksta@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Ralf <rohlenbo79@gmail.com> Co-authored-by: Paul Thies <110185070+ImScheinox@users.noreply.github.com> Co-authored-by: lancetm714 <108419425+lancetm714@users.noreply.github.com> Co-authored-by: Lance Martin <lancetaylor95@gmail.com>
This commit is contained in:
@@ -15,9 +15,11 @@ import * as Icons from './Icons';
|
||||
import { adminGet } from './useAdminFetch';
|
||||
import type { DoctorFinding, DoctorLevel } from '@/lib/admin/doctor';
|
||||
import { DOCTOR_LEVEL_EVENT } from './systemHealth';
|
||||
import { parseGalleryYaml } from './page-builder/galleryYaml';
|
||||
|
||||
interface OverviewData {
|
||||
gallery: { hero?: unknown; subpages?: Array<{ enabled?: boolean }> } | null;
|
||||
/** gallery.yaml as stored; `subpages` may be a list or the older name → albums map. */
|
||||
gallery: Record<string, unknown> | null;
|
||||
journal: Array<{ frontmatter: { draft?: boolean } }> | null;
|
||||
messages: Array<{ read: boolean; name: string }> | null;
|
||||
analytics: { days?: Record<string, { pageviews?: number }> } | null;
|
||||
@@ -32,6 +34,7 @@ const FIX_ROUTE: Record<string, string> = {
|
||||
passwords: '/admin/settings/security',
|
||||
'album-ids': '/admin/pages',
|
||||
'albums-shared': '/admin/pages',
|
||||
'content-pages': '/admin/pages',
|
||||
};
|
||||
|
||||
function viewsLastDays(
|
||||
@@ -85,7 +88,9 @@ export default function AdminOverview() {
|
||||
};
|
||||
}, []);
|
||||
|
||||
const subpages = data?.gallery?.subpages ?? [];
|
||||
// Read the way the page builder reads it: both shapes of `subpages:`, and
|
||||
// `- page:` entries, which are content pages in the menu, not subpages (#722).
|
||||
const subpages = data?.gallery ? parseGalleryYaml(data.gallery).subpages : [];
|
||||
const published = subpages.filter((sp) => sp.enabled !== false).length;
|
||||
const heroRaw = data?.gallery?.hero;
|
||||
const heroCount = Array.isArray(heroRaw) ? heroRaw.length : heroRaw ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user