画面カタログ (32ページ) Screen catalog (32 pages)

管理者ポータルに存在する全ページの一覧です。URL、目的、主要UI、ユーザーが取れる操作、 そして呼び出される API 関数を記載しています。太字のエントリには詳細カードを下に添付しました。

A complete inventory of every screen in the admin portal — with URL, purpose, key UI elements, user actions, and the API helpers each page calls. Selected screens have detailed cards underneath.

画面マップ (サイドバー構成) Screen map (sidebar structure)

flowchart LR
  Login([/login]) --> Dash([/ Dashboard])
  Dash --> Parking[/parking/]
  Parking --> ParkingDetail[/parking/:id/]
  Dash --> Sessions[/sessions/]
  Dash --> Errors[/error-reports/]
  Dash --> Users[/users/]
  Users --> UserDetail[/users/:id/]
  Dash --> Owners[/owners/]
  Dash --> OwnerApps[/owner-applications/]
  Dash --> Credits[/credits/]
  Dash --> Boosts[/boosts/]
  Dash --> Tags[/tags/]
  Dash --> Articles[/articles/]
  Articles --> ArticleEdit[/articles/:id/edit/]
  Dash --> Notif[/notifications/]
  Dash --> Ads[/ads/]
  Dash --> Sponsors[/sponsors/]
  Dash --> Sales[/sales/]
  Dash --> StoreSales[/store-sales/]
  Dash --> Plans[/plans/]
  Dash --> Reviews[/reviews/]
  Dash --> Badges[/gamification/badges/]
  Dash --> Exp[/gamification/exp/]
  Dash --> Levels[/gamification/levels/]
  Dash --> Themes[/customizations/themes/]
  Dash --> Parts[/customizations/parts/]
  Dash --> Activity[/user-activity/]
  Dash --> AdminTasks[/admin-tasks/]
  Dash --> Support[/support/]
  Dash --> Admins[/admins/]
  Dash --> Roles[/roles/]
  Dash --> AdminNotif[/admin-notifications/]

全ページ一覧表 Full page table

# パスPath ページ名Page 主な機能Primary purpose 主要APIKey APIs
1/login ログインLogin メール/パスワード認証Email + password auth supabase.auth.signInWithPassword()
2/ ダッシュボードDashboard KPI・トレンドグラフ・最新アクティビティKPIs, trend charts, latest activity fetchTablePage() × n, RPC aggregates
3/parking 駐車場一覧Parking list リスト/マップビュー、住所検索、新規作成List + map view, address search, create fetchParkingLots, fetchParkingLotEngagementStats, Mapbox
4/parking/:id 駐車場詳細Parking detail 基本情報・料金・画像・タグ・レビュー・報告Basics, pricing, images, tags, reviews, reports fetchParkingLot, updateParkingLot, addParkingLotImage, syncParkingLotPaymentMethods
5/sessions 駐車セッションParking sessions ユーザーの駐車履歴User parking history parking_sessions (PostgREST)
6/error-reports 誤情報報告Error reports 報告の審査・担当割当・ステータス管理Triage, assign, status fetchErrorReportsPage, updateErrorReport, patchAdminTaskForRef
7/users ユーザー一覧User list 検索・フィルタ・詳細遷移Search, filter, drill into detail fetchAppUsersPage
8/users/:id ユーザー詳細User detail プロフィール、セッション、レビュー、バッジ、EXPProfile, sessions, reviews, badges, EXP fetchAppUser, fetchUserBadges, fetchUserLevelProgress
9/owners オーナー一覧Owners オーナーの CRUDOwner CRUD createOwner, updateOwner
10/owner-applications オーナー申請Owner applications 申請審査と承認フローReview & approve applications approveOwnerApplication, updateOwnerApplication
11/credits クレジット管理Credits オーナー残高・チャージ・取引履歴Owner balance, charge, transactions owner_credits, credit_transactions
12/boosts ブースト(広告)Boosts 駐車場プロモーション・表示統計Lot promotions, impression stats boosts (CRUD)
13/tags タグ管理Tags タグマスターの CRUD・色設定Tag master CRUD + color createTag, updateTag, deleteTag
14/articles 記事一覧Articles ニュース・ガイドのリストNews / guide list articles
15/articles/new, /articles/:id/edit 記事エディタArticle editor TinyMCE Markdown エディタTinyMCE markdown editor createArticle, updateArticle
16/notifications ユーザー通知User notifications プッシュ通知作成・スケジュール・送信Push notif create, schedule, send sendPushNotification (Edge)
17/ads 広告管理Ads バナー・掲載位置・統計Banners, placements, stats ads
18/sponsors エリアスポンサー管理Area sponsors 一覧・作成・編集・削除。Mapbox位置検索、R2 サムネイルアップロード、カテゴリ別色分け。?open={id} でモーダル自動表示。List, create, edit, delete. Mapbox location search, R2 thumbnail upload, category color coding. ?open={id} auto-opens detail modal. area_sponsors, sponsor_*_logs, sponsor_checkins
19/sales 売上ダッシュボードSales 月別/取引別の売上分析Monthly + per-transaction revenue fetchRevenueAggregate, revenue_monthly_summary
20/store-sales ストア連携売上Store integrations Shopify 等の売上・レビュー同期External storefront sync (sales, reviews) fetchStoreSalesDaily, triggerStoreSync
21/plans サブスク計画Subscription plans プラン情報・購読者数Plan info + active subscribers fetchActiveSubscriberCountsByPlan
22/reviews レビュー管理Review moderation 承認/却下・フラグApprove/reject, flag updateParkingReview, deleteParkingReview
23/gamification/badges バッジ管理Badges 定義・条件エディタ・進捗・バックフィルDefinitions, condition editor, progress, backfill createBadgeDefinition, backfillBadgeProgress
24/gamification/exp EXPルールEXP rules アクティビティ別EXP付与EXP granted per activity type activity_exp_rules
25/gamification/levels レベル定義Levels レベル閾値・再計算Thresholds + recalc upsertLevelDefinitions, recalculateAllUserLevels (RPC)
26/customizations/themes テーマThemes 着せ替えテーマ・ギフト配布Customization themes, gifting replaceCustomizationThemeItems, giftThemeToUser
27/customizations/parts テーマパーツTheme parts ピン/アイコン/色/ローディングPin / icon / color / loading customization_theme_parts
28/user-activity アクティビティログActivity log Realtime ユーザー行動フィードRealtime user action feed user_activity_logs + Realtime
29/admin-tasks 管理者タスクAdmin tasks サポート/報告/申請/登録を統合Unified task inbox fetchAdminTasksList, updateAdminTask
30/support サポートSupport チケット一覧・返信・担当割当Tickets, replies, assignment fetchSupportTicketsPage, updateSupportTicket
31/admins 管理者アカウントAdmin accounts CRUD・初期PW発行・リセットCRUD, initial PW, reset createAdmin, resetAdminPassword
32/roles ロールと権限Roles 権限マトリックス一括設定Permission matrix setRolePermissions
33/admin-notifications 管理者通知Admin notifications 既読・削除・復元Read, delete, restore admin_notifications (Realtime)
34/ai-providers AIプロバイダー設定AI provider settings LLMプロバイダーの有効/無効・モデル選択・優先順位・APIキー登録(Vault)+ 使用状況ダッシュボードLLM provider enable/disable, model selection, priority, API key registration (Vault) + usage dashboard fetchAIProviders, updateAIProvider, registerAIProviderKey (Cloudflare Workers), fetchAIUsageLogs

代表的な画面の詳細 Detailed anatomy of key screens

04. 駐車場詳細 (/parking/:id) 04. Parking detail (/parking/:id)

ポータルで最も情報量が多い画面です。基本情報、料金ルール、画像、タグ、オーナー、セッション、 レビュー、誤情報、エンゲージメント、アクティビティログの全てを 1 画面でタブ切替します。

The most information-dense screen in the portal. One page, many tabs — basics, pricing rules, images, tags, owners, sessions, reviews, error reports, engagement stats, and activity log.

タブ構成Tabs

  • 基本情報 — 名前、住所、座標、収容数、構造、営業時間、車両制限 (高さ/幅/長さ/重量/最低地上高)
  • Basics — name, address, coordinates, capacity, structure, hours, vehicle limits (height/width/length/weight/clearance)
  • 料金ルール — 時間帯/曜日別ユニット料金 + キャップ料金。ルール計算機付き
  • Pricing — time-of-day / day-of-week unit charges plus cap rules, with a live calculator
  • タグ・属性 — 複数タグ + キー・値ペアの属性
  • Tags & attributes — multiple tags plus free-form key/value attributes
  • 画像 — アップロード、順序、メイン画像選択
  • Images — upload, reorder, pick main image
  • オーナー — 紐付くオーナーの一覧
  • Owners — owners associated with this lot
  • セッション — 駐車履歴と売上
  • Sessions — parking history & revenue
  • レビュー — 星評価とモデレーション
  • Reviews — star ratings with moderation
  • 誤情報報告 — 報告とその対応状況
  • Error reports — incoming reports and their state
  • エンゲージメント — 保存数・セッション数・検索数
  • Engagement — saves, sessions, search counts
  • アクティビティログ — 変更履歴
  • Activity log — change history
08. ユーザー詳細 (/users/:id) 08. User detail (/users/:id)

タブ構成でユーザーの 360° ビューを提供します: Profile / Vehicles / Saved / Search Presets / Sessions / Reviews / Tickets / Reports / Activity / Gamification。

A 360° view of a single user via tabs: Profile / Vehicles / Saved / Search Presets / Sessions / Reviews / Tickets / Reports / Activity / Gamification.

検索プリセット (Search Presets): ユーザーが登録した駐車場検索条件プリセットを追加・閲覧・編集・削除・デフォルト切替できるタブ。追加・編集は 16 項目の構造化フォーム(schemas/search-query.ts と 1:1 対応)。全操作は admin_activity_logs に記録されます(user.view_search_presets / user.create_search_preset / user.update_search_preset / user.delete_search_preset / user.set_default_search_preset)。

Search Presets: Add, view, edit, delete, and toggle the default for a user's saved search presets. Add/edit uses a 16-field structured form (1:1 with schemas/search-query.ts). All operations are recorded to admin_activity_logs.

22. バッジ管理 (/gamification/badges) 22. Badge management (/gamification/badges)

バッジ定義、条件エディタ (JSONベース)、バッジ進捗の可視化、全ユーザー/単体のバックフィル処理を提供します。 条件は user_activity_logs.metadata のドット記法パスで指定し、AND 結合で評価されます。

Provides definitions, a JSON-based condition editor, progress visualization, and single / all-badge backfill jobs. Conditions use dot-notation paths into user_activity_logs.metadata and are AND-combined at evaluation time.

28. 管理者タスク (/admin-tasks) 28. Admin tasks (/admin-tasks)

サポートチケット・誤情報報告・オーナー申請・駐車場新規登録 — 4つの異なるタスクソースを 1 つの統合インボックスにまとめる画面。「全て / 未割当 / 自分 / その他」のタブで絞り込み可能。

A unified inbox that merges four different task sources — support tickets, misinformation reports, owner applications, and new parking-lot registrations. Filter via tabs: All / Unassigned / Mine / Others.