PR

【4/14】パイレーツパス集計 #2707

wada opened this at 2023-04-11T16:24:23; closed

Description

opened by wada at 2023-04-11T16:24:23; updated 2023-04-18T14:46:26

概要

https://docs.google.com/spreadsheets/d/13P64IG2HBr76pQ-Dz33_qiapTRv16vBVMfn-iNrjF8o/edit#gid=0
cpanel分類のうち、集計スクリプトが含まれるもの
集計テーブルは、「テーブル」シートを参照

マージPR

  • 7468:【12/17】【管理】パイレーツパスミッション集計
  • 7612:【2/8】【管理】パイレーツパス ステップ進捗率
  • 7652:【1/27】【管理】パイレーツパスミッション集計訂正
  • 7684:【2/8】パイレーツパス集計の表示調整
  • 7699:【2/9】【管理】ステップ進捗率のDB登録時ののバグ修正
  • 7744:【即日】ステップ進捗率のグラフ表示修正
  • 7754:【即日】【再】ステップ進捗率のグラフ表示修正
  • 7760:【即日】ステップ進捗グラフ STEP1以上のTOTAL人数が表示されない修正
  • 7763:【3/4】パイレーツパスのKPI作成
  • 7769:【3/5】シーズンパスKPIの修正とクーロン登録
  • 8399:【9/27】【管理】パイレーツパスのスキン集計
  • 8437:【9/29】スキン集計の定期実行登録

新規テーブル

作成db、クエリはシートを参照

cpanel_season_pass_summary
cpanel_season_pass_kpi
cpanel_season_pass_skin_set
log_season_pass_user_skin_set

テスト方法、確認した内容

集計テーブルを指定されたDBにシート内のクエリを実行して作成
各種集計処理、管理画面表示が正しいか

Comment

#26859 by wada at 2023-04-11T16:24:38; updated 2023-04-11T16:24:38

@kouho
レビューお願いします。

Comment

#26950 by wada at 2023-04-14T16:48:51; updated 2023-04-14T16:48:51

@kouho
ありがとうございます。config変数未定義対応しました。

Comment

#27007 by kouho at 2023-04-17T13:47:33; updated 2023-04-17T13:47:33

@wada
ありがとうございます。修正確認OKです。指摘送れていませんでしたが、
cpanel_season_pass_step_summaryのテーブルのCREATE文が
https://docs.google.com/spreadsheets/d/13P64IG2HBr76pQ-Dz33_qiapTRv16vBVMfn-iNrjF8o/edit#gid=920356425
こちらのシートに書けていませんでしたので記載お願いいたします。他はOKです。

kouho add_label at 2023-04-17T13:47:37: 皇甫 LGTM
wada close_comment at 2023-04-18T14:36:07: developマージ済み
wada refer at 2023-04-18T14:46:26: 2730:【4/18中】パイレーツパス集計

commit comment

#165 by kouho at 2023-04-13T16:28:14; cpanel_html/template/m_season_pass_step_summary.tpl / old:29 new:None
b41ae65ac50dcbcb2737bc980b08595b536b13c7

@wada
$season_pass_config["step_max"]がパイレーツパスシーズン3の更新内容を前提としていますので確認お願いいたします。

commit comment

#166 by kouho at 2023-04-13T16:28:27; lib/exec/cpanel_season_pass_kpi.inc / old:None new:80
42ad71518820ddd163be39deb08fe9e28eaf9372

@wada
$season_pass_config["step_max"]がパイレーツパスシーズン3の更新内容を前提としていますので確認お願いいたします。

commit comment

#167 by kouho at 2023-04-13T16:40:10; lib/exec/cpanel_season_pass_kpi.inc / old:None new:84
42ad71518820ddd163be39deb08fe9e28eaf9372

$season_pass_config["reward_max"]も同様でした。

Commit range

baseafe4db777a6b5e8b68bee4be2f498bd522998f15
headb41ae65ac50dcbcb2737bc980b08595b536b13c7
base branchjolly/jr-web:pirate_pass_latest
head branchjolly/jr-web:pirate_pass_summary

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed16 filesView patch
statusfile
modifiedcpanel_html/index.php
modifiedcpanel_html/template/header.tpl
addedcpanel_html/template/m_pirates_pass_kpi.tpl
addedcpanel_html/template/m_pirates_pass_skin.tpl
addedcpanel_html/template/m_season_pass_step_summary.tpl
addedcpanel_html/template/m_season_pass_summary.tpl
addedlib/cpanel/m_pirates_pass_kpi.inc
addedlib/cpanel/m_pirates_pass_skin.inc
addedlib/cpanel/m_season_pass_step_summary.inc
addedlib/cpanel/m_season_pass_summary.inc
addedlib/exec/cpanel_season_pass.sh
addedlib/exec/cpanel_season_pass_kpi.inc
addedlib/exec/cpanel_season_pass_step_summary.inc
addedlib/exec/cpanel_season_pass_summary.inc
addedlib/exec/cpanel_season_pass_user_skin_set.inc
addedlib/exec/cpanel_season_pass_user_skin_set.sh
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#165 by kouho at 2023-04-13T16:28:14; cpanel_html/template/m_season_pass_step_summary.tpl / old:29 new:None
b41ae65ac50dcbcb2737bc980b08595b536b13c7

@wada
$season_pass_config["step_max"]がパイレーツパスシーズン3の更新内容を前提としていますので確認お願いいたします。

Review comment

#166 by kouho at 2023-04-13T16:28:27; lib/exec/cpanel_season_pass_kpi.inc / old:None new:80
42ad71518820ddd163be39deb08fe9e28eaf9372

@wada
$season_pass_config["step_max"]がパイレーツパスシーズン3の更新内容を前提としていますので確認お願いいたします。

Review comment

#167 by kouho at 2023-04-13T16:40:10; lib/exec/cpanel_season_pass_kpi.inc / old:None new:84
42ad71518820ddd163be39deb08fe9e28eaf9372

$season_pass_config["reward_max"]も同様でした。