发布

  • fix(client): an unpublished channel deep link says so instead of opening a preview

    frostbyte_neo 发布于 2026-09-02 13:30:04 +00:00

    Following a channel notification without permission still ended up somewhere
    useless when the channel was never published to the square: the share route
    rendered an intro-and-apply preview for a channel a stranger cannot reach, and
    closing it left them on a square the channel does not appear in.

    The redirect now splits on is_released. Published: the share preview, as before
    — that page exists precisely to introduce the channel and let someone apply.
    Not published: a warning that the channel is unavailable or not visible to
    them, and the square, matching how an invalid knowledge-space link behaves.

    The new copy is its own key rather than the existing 已失效或被删除 string: the
    channel is neither invalid nor deleted here, the reader simply cannot see it.

    Direct share links are untouched — "分享" visibility means a link still works
    for a channel kept off the square, so that path must not inherit this rule.

    Claude-Session: https://claude.ai/code/session_01EourtjJKNpLawUVUSj51H4

    下载附件