Closed ju-ki closed 3 weeks ago
このプルリクエストでは、Makefile
に新しいターゲットaction-frontend
とaction-backend
が追加され、フロントエンドとバックエンドのGitHub Actionsをローカルで実行できるようになりました。さらに、LoginForm.spec.tsx
のテストが更新され、ログイン後のナビゲーションパスが/admin
から/admin/dashboard
に変更されました。新しいAdminLayout
コンポーネントが導入され、管理インターフェースのページが改善されました。記事の状態を管理するための新しい型と列挙型も追加されました。
ファイル | 変更概要 |
---|---|
Makefile |
action-frontend とaction-backend ターゲットを追加。 |
frontend/__test__/pages/LoginForm.spec.tsx |
ログイン後のナビゲーションパスを/admin/dashboard に変更。 |
frontend/src/components/Common/Layout/Admin/index.tsx |
AdminLayout コンポーネントを追加。 |
frontend/src/components/Posts/Admin/PostList/index.tsx |
PostType とStatusNameType を外部からインポートし、ローカル定義を削除。 |
frontend/src/hooks/api/posts/index.ts |
PostType を外部からインポートし、ローカル定義を削除。 |
frontend/src/pages/admin.tsx |
管理ダッシュボードコンポーネントを削除。 |
frontend/src/pages/admin/dashboard/index.tsx |
Dashboard コンポーネントを追加。 |
frontend/src/pages/admin/post/[post_id].tsx |
AdminLayout を追加し、ナビゲーションリンクを更新。 |
frontend/src/pages/admin/post/create.tsx |
PostCreate コンポーネントを追加。 |
frontend/src/pages/admin/post/list/index.tsx |
PostList コンポーネントを追加。 |
frontend/src/pages/login.tsx |
ログイン後のリダイレクトを/admin/dashboard に変更。 |
frontend/src/types/article.ts |
StatusType 列挙型、StatusNameType オブジェクト、PostType 型を追加。 |
Makefile
に新しいターゲットを追加し、テスト機能を強化。🐰 うさぎの詩 🐰
新しい道を進むよ、
フロントとバック、共に行こう。
管理画面も整えられ、
ログイン後はダッシュボードへ。
みんなで楽しく、コードを育て、
うさぎの夢、今ここに。 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
This PR is automatically created by GitHub Actions
Summary by CodeRabbit
新機能
AdminLayout
コンポーネントを導入。バグ修正
/admin/dashboard
に変更。ドキュメント