MAKITTDocs

Announcement Detail

docs/hcs-asset/announcement-detail.md


id: 'announcement-detail' status: completed

Announcement Detail

Reference

React Component

  • Path: apps/makitt-standard-commerce/src/components/assets/announcement-detail/
  • Status: implemented
  • 반응형: 고정 폭 article 레이아웃, 모바일에서는 패딩 축소
  • i18n: ko, en, ja

HCS JSON Asset

  • Path: apps/builder/data/hcs-asset/announcement-detail.json
  • Status: implemented
  • Resource 바인딩:
    • notice.notice - 공지사항 상세
  • 핵심 바인딩:
    • notice.title, notice.excerpt, notice.authorName, notice.isPinned, notice.createdAt
    • notice.contentUrl -> blog-content renderer

Prerequisites

makitt-server (shop-api)

고객 대면 API. shop storefront에서 호출.

APIMethodEndpointStatus
공지사항 상세 조회GET/shop/{shopId}/notices/{noticeId}available
공지 본문 로드GETnotice.contentUrl (S3 presigned/public URL)available

makitt-server (admin-api)

셀러 어드민에서 공지사항을 관리하기 위한 API.

APIMethodEndpointStatus
공지사항 상세 조회GET/shops/{shopId}/notices/{noticeId}available
공지사항 수정PUT/shops/{shopId}/notices/{noticeId}available

makitt-server (도메인/모델링)

항목내용Status
Notice Entityexcerpt, authorName, contentKey 포함available
Notice Content StorageS3 draft/final content 저장available
Notice Search SyncOpenSearch notices 문서 동기화available

makitt-web (셀러 어드민 UI)

기능설명Status
공지사항 상세 편집product-style editor shell + rich text editoravailable
공지사항 미리보기notice storefront 시뮬레이션available

makitt-shop (HCS 렌더링)

항목설명Status
notice.notice resource상세 fetch 및 schema 노출available
blog-content rendererlexical JSON contentUrl 렌더링available
navigate action목록 이동available

HCS Conversion Notes

  • notice 상세는 rich text 본문이므로 blog-content renderer를 그대로 재사용한다.
  • 목록 복귀 액션과 하단 CTA 모두 /notices로 연결했다.
  • 본문이 없는 경우를 위해 최소 empty state를 같이 넣었다.