Skip to content

Admin news list: parse rows as summaries #376

Open

Description

@neuromechanist

Needed before nemarOrg/nemar-cli#1560 can land.

The nemar-cli admin route GET /admin/news returns every post with its full body (up to 50 KB each). nemar-cli wants to return only the summary columns, but this site's admin client would break: parseAdminNewsList in src/lib/news.ts (#372) parses each row with parseNewsPost, which drops any row without a string body, so summary rows would silently empty /admin/news.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions