PR

【12/5 12:00リリース】新秘宝準備&秘宝マップリニューアル #3793

wada opened this at 2024-11-27T11:40:17; closed

Description

opened by wada at 2024-11-27T11:40:17; updated 2024-12-05T12:04:06

概要

秘宝系更新まとめ

新秘宝追加に必要な対応
・ランキング
・秘宝最大数の動的取得

秘宝マップリニューアル
・マップからの地域選択
・取得率の表示
・秘宝一覧の改修

PR

  • 9497 【8/17 15時実装】秘宝マップのリニューアル
  • 9490 【8/15】秘宝追加にともなう秘宝コンプ表示の修正
  • 9525 【即日?】プレボに秘宝配る時にコンプ済み登録するのをやめる
  • 9568 【9/5】全秘宝数のカウントを修正
  • 9556 【9/7中に本番UP】秘宝取得ランキング集計のデータ登録
  • 9585 【9/13本番UP】秘宝取得ランキングの修正
  • 9523 【今すぐ】全国マップの都道府県別の秘宝カウント修正
  • 9578 【9/7 実装】秘宝マップのリスト色分け
  • 9618 【すぐ】秘宝マップの色分け調整
  • 9622 【9/14 実装】dゲームフッターの調整

ヤマダ版での独自対応

地図画像をAmazonS3から取得していないため、表示で独自の対応が必要

DB更新内容

【12/5】新秘宝 jolly/jrye-db#927

新規テーブル

CREATE TABLE `user_area_item_record` (
  `user_no` bigint(20) NOT NULL,
  `area_id` int(11) NOT NULL,
  `count` int(11) NOT NULL,
  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`user_no`,`area_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

秘宝マップページの確認、新秘宝取得後の動作確認
ランキング情報は、lib/exec/ranking_user_location_area.incの実行が必要
・スクリプト内で必要なテーブルデータはローカルdbにインポート
本家追加データ

キャッシュ削除

EXISTS jrye_areaitem_all_area_item_max_count
EXISTS jrye_prefecture_area_list
DEL jrye_areaitem_all_area_item_max_count
DEL jrye_prefecture_area_list

リリースTODO

  • [x] テーブル作成
  • [x] js圧縮
  • [x] webデプロイ
  • [x] dbデプロイ(必ずwebの後)
  • [x] キャッシュ削除
  • [x] 告知公開

Comment

#37618 by wada at 2024-11-27T11:42:03; updated 2024-11-27T11:42:03

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

kouho add_label at 2024-12-03T15:46:09: 皇甫 LGTM

Comment

#37722 by kouho at 2024-12-03T15:46:17; updated 2024-12-03T15:46:17

@wada
確認OKです

wada change_title at 2024-12-04T10:07:02: 【12/3】新秘宝準備&秘宝マップリニューアル 【12/5 12:00リリース】新秘宝準備&秘宝マップリニューアル
wada merge at 2024-12-05T11:55:53: 【12/5 12:00リリース】新秘宝準備&秘宝マップリニューアル
wada close at 2024-12-05T11:55:53: Close
wada delete_branch at 2024-12-05T12:04:06: area_item_map

Commit range

basea5992dab0a6e68e545594bea9e729a7dd6e4ae78
head136ec84f6cd5236ba16108b54b2d7b5359a60a62
base branchjolly/jr-web:master
head branchjolly/jr-web:area_item_map

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed40 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/SubFunc_mission.inc
modifiedlib/ajax/areaItem_default.inc
modifiedlib/ajax/mission_default.inc
modifiedlib/conf/define.inc
modifiedlib/exec/ranking_user_location_area.inc
modifiedlib/public/Location.inc
modifiedlib/public/Main-Location.inc
modifiedlib/public/Setting-Area.inc
modifiedpublic_html/css/design.css
addedpublic_html/img/area_item/thumbnail_back.jpg
addedpublic_html/img/info_jrye/3971/info1.jpg
addedpublic_html/img/info_jrye/3971/info2.jpg
addedpublic_html/img/info_jrye/3971/info3.jpg
addedpublic_html/img/map/map_back.jpg
addedpublic_html/img/map/map_pin.png
addedpublic_html/img/map/region/1.png
addedpublic_html/img/map/region/10.png
addedpublic_html/img/map/region/2.png
addedpublic_html/img/map/region/3.png
addedpublic_html/img/map/region/4.png
addedpublic_html/img/map/region/5.png
addedpublic_html/img/map/region/6.png
addedpublic_html/img/map/region/7.png
addedpublic_html/img/map/region/8.png
addedpublic_html/img/map/region/9.png
addedpublic_html/img/ranking_area_item/icon_complete_s.png
addedpublic_html/img/ranking_area_item/icon_pin.png
modifiedpublic_html/img/ranking_area_item/rankposition.png
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/JOLLYROGER_mission.js
modifiedpublic_html/js/dgame_footer.js
modifiedpublic_html/js/jr_main.min.js
modifiedpublic_html/js/jr_mission.min.js
modifiedpublic_html/template/AreaItem.tpl
modifiedpublic_html/template/Ranking-AreaItem.tpl
modifiedpublic_html/template/footer.tpl
modifiedpublic_html/template/footer_nolink.tpl
modifiedpublic_html/template/header_sp.tpl
modifiedpublic_html/template/parts_area_item_ranking.tpl
Patch body is stored as a separate file to keep this page lightweight.