MAKITTDocs

Announcement List

docs/hcs-asset/announcement-list.md


id: 'announcement-list' status: completed

Announcement List

Reference

React Component

  • Path: apps/makitt-standard-commerce/src/components/assets/announcement-list/
  • Status: implemented
  • 반응형: Desktop 테이블 / Mobile 스택형 row
  • i18n: ko, en, ja

HCS JSON Asset

  • Path: apps/builder/data/hcs-asset/announcement-list.json
  • Status: implemented
  • Resource 바인딩:
    • notice.notices - 공지사항 목록
  • 핵심 바인딩:
    • notices.items repeat
    • notice.title, notice.excerpt, notice.authorName, notice.isPinned, notice.createdAt
    • notices.pagination.* 기반 페이지네이션

Prerequisites

makitt-server (shop-api)

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

APIMethodEndpointStatus
공지사항 목록 조회GET/shop/{shopId}/notices/listavailable

makitt-server (admin-api)

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

APIMethodEndpointStatus
공지사항 목록 조회GET/shops/{shopId}/noticesavailable
공지사항 생성/수정/삭제POST/PUT/DELETE/shops/{shopId}/notices/*available

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

항목내용Status
Notice EntityDynamoDB notice 엔티티available
Notice Search DocumentOpenSearch notices 인덱스available
Notice Content StorageS3 기반 contentUrl/contentKey 저장available
Notice Applicationcreate/update/delete/list/detail 흐름available

makitt-web (셀러 어드민 UI)

기능설명Status
공지사항 목록표 형식 목록, 검색, 고정 표시available
공지사항 편집제목, excerpt, author, pinned, rich text 본문available

makitt-shop (HCS 렌더링)

항목설명Status
notice.notices resource목록 fetch 및 schema 노출available
section/container/link/text/heading/button renderer게시판 구조 렌더링available
pagination actionpage query 변경available
navigate action상세 페이지 이동available

HCS Conversion Notes

  • standard-commerce 목록 페이지의 게시판형 UI를 builder local asset으로 옮겼다.
  • 제목 아래 excerpt를 한 줄로 노출해 목록 정보 밀도를 높였다.
  • 번호 컬럼은 pinned 항목일 때 공지/Notice/告知로 대체한다.
  • 모바일에서는 테이블 헤더를 숨기고 메타 + 제목 + excerpt 순으로 재배치한다.