chore(assets): retire the dead NO_IMAGING / imaging handling
servuo-plugins #39 made the Asset Bridge GDI+-free: the overlay no longer sends `imaging` on assets.sources and NO_IMAGING can no longer arise. Drop the consumer side: the model branches in shardAssets/shardItemArt, the `imaging` passthrough and normalisation, the /libgdiplus/ 503 mapping (a 503 is now always SHARD_DOWN), the admin Client Files banner, the `shard.imaging` schema and NO_IMAGING enum values, and the test stubs. Swagger fragment regenerated. Closes #49 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t
This commit is contained in:
@@ -26,8 +26,8 @@ import { CreaturePortrait } from '../public/Atlas.jsx'
|
||||
// for.
|
||||
//
|
||||
// **Nothing on this page throws for an operator-visible problem.** A shard that
|
||||
// is down, an asset plane switched off, a Linux host with no libgdiplus, a client
|
||||
// with no cliloc file — each is a reported state with a reason naming what to
|
||||
// is down, an asset plane switched off, a client with no cliloc file — each is a
|
||||
// reported state with a reason naming what to
|
||||
// fix. A red box that says "500" would be the one thing an operator cannot act
|
||||
// on, and every one of these states is ordinary.
|
||||
|
||||
@@ -332,7 +332,6 @@ export default function ClientFiles() {
|
||||
// want opposite things from this page: one needs its buttons disabled, the
|
||||
// other needs them available so the operator can retry.
|
||||
const linked = Boolean(assets?.linked)
|
||||
const imagingBroken = shard?.imaging && shard.imaging.ok === false
|
||||
|
||||
return (
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 20 }}>
|
||||
@@ -394,21 +393,6 @@ export default function ClientFiles() {
|
||||
</section>
|
||||
)}
|
||||
|
||||
{imagingBroken && (
|
||||
<section
|
||||
style={{ border: '1px solid #c58f4a', borderRadius: 10, padding: 16, background: 'rgba(197,143,74,0.08)' }}
|
||||
className="sans"
|
||||
>
|
||||
<strong style={{ color: 'var(--head)' }}>The shard host cannot render images.</strong>
|
||||
<p style={{ margin: '6px 0 0', color: 'var(--muted)', fontSize: '0.86rem', lineHeight: 1.6 }}>
|
||||
{shard.imaging.reason ||
|
||||
'A Linux shard host needs libgdiplus before it can decode a single sprite.'}{' '}
|
||||
Names (the cliloc table) are unaffected and can still be imported — they have no pixels
|
||||
in them.
|
||||
</p>
|
||||
</section>
|
||||
)}
|
||||
|
||||
{review.assets && (
|
||||
<VanishedReview
|
||||
review={review.assets}
|
||||
|
||||
Reference in New Issue
Block a user