Skip to content

fix(web): default CMS article list to active - #67

Merged
seoJing merged 1 commit into
mainfrom
fix/cms-categories-active-filter
Nov 12, 2026
Merged

seoJing merged 1 commit into
mainfrom
fix/cms-categories-active-filter

Conversation

@seoJing

@seoJing seoJing commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Default the CMS article-list status filter to 활성 (draft + published).
  • Keep 전체 and 보관 as explicit choices.
  • Omit the client-only 활성 value from the backend bulk-action scope.

Verification

  • pnpm install --frozen-lockfile
  • pnpm lint
  • pnpm format:check
  • pnpm test:coverage
  • pnpm --filter @app/web run test:smoke
  • pnpm build
  • pnpm --filter @app/web run worker:size:check
  • pnpm --filter @app/web run public:readback:test
  • pnpm --filter @app/web run public:readback
  • Read-only independent review: no blockers or major findings.

The related CMS category metadata correction was applied separately to PostgreSQL and D1, with backup and readback.

Summary by CodeRabbit

  • 변경 사항
    • 운영 글 목록의 기본 필터가 전체 글에서 활성 글로 변경되었습니다. 활성 글 목록에는 보관된 글이 표시되지 않습니다.
    • 상태 필터에서 활성 글, 전체 글, 보관된 글을 선택할 수 있습니다.

Show draft and published articles on first load.
Keep archived posts available from the status filter.

Co-authored-by: seoJing <68586661+seoJing@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

OpsArticleList의 기본 상태 필터가 active로 변경되었습니다. 활성 필터는 보관 글을 숨깁니다. all과 개별 상태 필터는 계속 사용할 수 있습니다.

Changes

OpsArticleList 상태 필터

Layer / File(s) Summary
기본값과 상태별 필터 동작
apps/web/src/widgets/ops-articles/OpsArticleList.tsx, apps/web/src/widgets/ops-articles/OpsArticleList.test.tsx
기본 필터를 active로 설정하고, 보관되지 않은 글을 표시하도록 변경했습니다. active와 all은 API 요청의 scope에서 제외합니다. 상태 선택지에 활성을 추가했습니다. 테스트는 기본 상태, 전체 상태, 보관 상태별 표시 목록을 확인합니다.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Possibly related PRs

  • seoJing/SEOJing#63: 같은 목록 컴포넌트와 테스트를 변경하며, 일괄 작업의 scope.status 계약을 정의합니다.
Merge Risk: Minimal · up to 3dd19

The change makes the CMS article list open on active (draft and published) articles, with all and archived still selectable. It is a small, localized UI default change with a test covering the filter states. No new risk to merge readiness was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed PR 제목 "fix(web): default CMS article list to active"은 변경의 핵심을 설명합니다. OpsArticleList의 기본 상태 필터가 all에서 active로 바뀌었고, active는 보관되지 않은 글(DRAFT, PUBLISHED)을 표시합니다. 테스트 파일도 기본 필터와 all, ARCHIVED 선택 시의 차이를 검증…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

PR 제목 "fix(web): default CMS article list to active"은 변경의 핵심을 설명합니다. OpsArticleList의 기본 상태 필터가 all에서 active로 바뀌었고, active는 보관되지 않은 글(DRAFT, PUBLISHED)을 표시합니다. 테스트 파일도 기본 필터와 all, ARCHIVED 선택 시의 차이를 검증합니다. 제목은 짧고 구체적이며, 설명 요약과 PR 목적과 일치합니다.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

apps/web/src/widgets/ops-articles/OpsArticleList.test.tsx

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

apps/web/src/widgets/ops-articles/OpsArticleList.tsx

ESLint skipped: the matched ESLint configuration already failed (missing-dependency).

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 83c3fff and 3dd1914.

Files selected for processing: 2

  • apps/web/src/widgets/ops-articles/OpsArticleList.test.tsx
  • apps/web/src/widgets/ops-articles/OpsArticleList.tsx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@seoJing
seoJing merged commit 942cff8 into main Nov 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant