release: sync main with dev (about editor, journal template, icon cleanup) (#449)
Brings `main` up to `dev` after #448 realigned the two branches. `main` had #431 (portfolio features) but was missing everything that landed on `dev` since: - #443 — journal sample story ships as a template, not a live entry - #445 — last emojis in the public frontend replaced with SVG icons - #446 — About page toggle + content editor in the admin (@lancetm714's work, rebased) - #448 — the merge of `main` into `dev`, resolving the `Icons.tsx` split and porting `IconEyeOff` into the shared icon file After this merge both branches carry the same tree. CI on #448 (type-check + tests) passed on the merged state. --------- Co-authored-by: ralksta <ralksta@users.noreply.github.com> Co-authored-by: lancetm714 <108419425+lancetm714@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Link from 'next/link';
|
||||
import { IconRefresh } from './Icons';
|
||||
|
||||
interface AdminDiagnosticBannerProps {
|
||||
slug: string;
|
||||
@@ -39,10 +40,8 @@ export function AdminDiagnosticBanner({
|
||||
<code style={{ background: '#2c2c2e', padding: '2px 6px', borderRadius: '4px' }}>
|
||||
gallery.yaml
|
||||
</code>
|
||||
{configuredAlbumCount > 0
|
||||
? `, and configured with ${configuredAlbumCount} album(s)`
|
||||
: ''}
|
||||
, but Immich returned no accessible albums or assets.
|
||||
{configuredAlbumCount > 0 ? `, and configured with ${configuredAlbumCount} album(s)` : ''},
|
||||
but Immich returned no accessible albums or assets.
|
||||
</p>
|
||||
|
||||
{reason && (
|
||||
@@ -64,17 +63,27 @@ export function AdminDiagnosticBanner({
|
||||
<h4 style={{ margin: '0 0 8px 0', fontSize: '14px', color: '#f2f2f7' }}>
|
||||
Possible Causes & Checklist:
|
||||
</h4>
|
||||
<ul style={{ margin: 0, paddingLeft: '20px', fontSize: '13px', color: '#d1d1d6', lineHeight: 1.8 }}>
|
||||
<ul
|
||||
style={{
|
||||
margin: 0,
|
||||
paddingLeft: '20px',
|
||||
fontSize: '13px',
|
||||
color: '#d1d1d6',
|
||||
lineHeight: 1.8,
|
||||
}}
|
||||
>
|
||||
<li>
|
||||
<strong>Album Shared Status in Immich:</strong> Ensure the album in Immich is marked as{' '}
|
||||
<strong>Shared (Geteilt)</strong>. Unshared albums are excluded by Immich Folio for security.
|
||||
<strong>Shared (Geteilt)</strong>. Unshared albums are excluded by Immich Folio for
|
||||
security.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Cache Lag:</strong> If you just added the album or changed permissions, click{' '}
|
||||
<em>Force Reload Fresh</em> below.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Album UUID:</strong> Check if the album UUID in your Page Builder matches the exact Immich Album ID.
|
||||
<strong>Album UUID:</strong> Check if the album UUID in your Page Builder matches the
|
||||
exact Immich Album ID.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -95,7 +104,7 @@ export function AdminDiagnosticBanner({
|
||||
gap: '6px',
|
||||
}}
|
||||
>
|
||||
🔄 Force Reload Fresh (?fresh=1)
|
||||
<IconRefresh size={14} aria-hidden="true" /> Force Reload Fresh (?fresh=1)
|
||||
</a>
|
||||
<Link
|
||||
href="/admin"
|
||||
|
||||
Reference in New Issue
Block a user