Skip to content

@emdash-cms/admin@0.20.0

Choose a tag to compare

@emdashbot emdashbot released this 16 Jun 17:00
· 15 commits to main since this release
7f14318

Minor Changes

  • #1427 acfeb89 Thanks @swissky! - Media details show the file URL with a Copy URL action

    The media library previously exposed no way to obtain a file's URL — the
    detail panel now shows the absolute file URL (relative local-storage paths
    are resolved against the current origin) with a one-click copy button, so
    editors can paste media URLs wherever a URL field is needed.

  • #1425 3e344af Thanks @swissky! - Repeater fields support image sub-fields with the media picker (#1424)

    Repeater rows previously rendered every non-scalar sub-field as a plain text
    input, so galleries had to be built from hand-pasted URLs. Image sub-fields
    now render the same media-picker UI as top-level image fields (select,
    preview, change, remove) and store the same MediaValue shape — legacy string
    URLs keep working.

    Includes: image in the schema-builder sub-field type select, the shared
    ImageFieldRenderer extracted out of ContentEditor for reuse, and the
    sub-field type whitelists in core (REPEATER_SUB_FIELD_TYPES + the API Zod
    enum) extended — the Zod enum also gains the previously missing url entry
    that the builder already offered.

Patch Changes

  • #1447 141aa11 Thanks @ascorbic! - Fixes @atcute peer dependency warnings on install (#1435)

    Installing EmDash pulled in mismatched @atcute package versions, so pnpm install / npm install reported unmet peer warnings for @atcute/identity and @atcute/lexicons. The bundled @atcute dependencies are now aligned on v2 and installs are clean. If your project also depends on @atcute packages directly, note they have moved to v2 (@atcute/client 5, @atcute/lexicons 2, @atcute/atproto 4, @atcute/oauth-node-client 2).

  • #1478 ddf8f0d Thanks @pitscher! - Fixes localization for sections API fallback error messages in the admin UI

  • #1473 68840a9 Thanks @pitscher! - Fixes localization for the dashboard API fallback error message in the admin UI

  • #1468 eaedec0 Thanks @pitscher! - Fixes localization for the generic dialog error fallback in the admin UI

  • #1465 8bb20c4 Thanks @pitscher! - Fixes untranslated MediaPickerModal references for the library

  • #1486 fb31240 Thanks @ascorbic! - Adds an avatar image picker to the byline editor. The avatarMediaId field was already part of the byline model and API but had no admin control, so byline avatars could only be set programmatically, and editing a byline through the UI cleared any avatar that had been set. You can now choose, change, and remove a byline's avatar from the editor.

  • #1476 022fd66 Thanks @pitscher! - Fixes localization for search API fallback error messages in the admin UI

  • #1454 5d8358b Thanks @pitscher! - Fixes untranslated ContentTypeEditor form text to let it be translatable

  • #1499 ce96271 Thanks @swissky! - Capitalize German status labels (published, scheduled, archived, pending) in the admin UI. As standalone badge labels these are nouns and should follow German capitalization (e.g. "publiziert" → "Publiziert"), matching the already-capitalized "Entwurf".

  • #1470 b2e65ac Thanks @pitscher! - Fixes localization for media API fallback error messages in the admin UI

  • #1475 589d07f Thanks @pitscher! - Fixes localization for the current-user API fallback error message in the admin UI

  • #1411 d6269e7 Thanks @memdigital! - Adds an en-GB (British English) locale to the admin UI. British spelling and morphology only - terminology is unchanged. en-GB browsers are auto-selected via the existing Accept-Language resolution.

  • #1477 325c673 Thanks @pitscher! - Fixes localization for shared API fallback messages in the admin UI

  • #1496 af4af50 Thanks @ahliweb! - Fixes the remaining untranslated Indonesian admin strings.

  • #1472 c48604b Thanks @pitscher! - Fixes localization for settings API fallback error messages in the admin UI

  • #1455 52ea731 Thanks @pitscher! - Fixes untranslated PluginFieldErrorBoundary strings

  • #1507 6c1fe5c Thanks @ascorbic! - Speeds up browsing and searching large media libraries. The media library and the media picker now load small resized thumbnails through Astro's image endpoint instead of fetching every grid item's full-size original, so opening the library and searching for older items no longer waits on full-resolution downloads (#1488). Where no runtime image service is available the original is served as before, so nothing renders worse than it did.

  • #1500 6246774 Thanks @swissky! - Fix unreadable "Published" status badge in dark mode. The content editor rendered the published badge as <Badge variant="primary" className="text-white">, which produces white text on a light inverted background in dark mode. Use the semantic variant="success" (green) instead, which is dark-mode aware and matches the green "published" badge used on the content overview list.

  • #1461 b01aa9b Thanks @ascorbic! - Fixes registry installs failing with "Plugin manifest has changed since you consented" for plugins that declare hook-registration capabilities (email transport, email events, page fragments) or read user records. Plugin bundles now declare their access as a structured declaredAccess contract that the registry record, the install-consent dialog, and the sandbox all read consistently, so every capability a plugin declares is shown for consent and enforced — no capability is silently dropped. Re-publish affected plugins to adopt the new bundle format; existing installs are unaffected.

  • #1471 5f7cd11 Thanks @pitscher! - Fixes localization for email settings API fallback error messages in the admin UI

  • #1469 263392f Thanks @pitscher! - Fixes localization for plugin API fallback error messages in the admin UI

  • #1466 eddadf8 Thanks @pitscher! - Fixes localization for code block language labels in the admin editor

  • Updated dependencies [141aa11, b01aa9b]:

    • @emdash-cms/registry-client@0.3.2
    • @emdash-cms/registry-lexicons@0.1.1
    • @emdash-cms/plugin-types@0.1.0
    • @emdash-cms/blocks@0.20.0