PR

【12/11】ご当地スタンプ #3808

wada opened this at 2024-12-04T14:37:30; closed

Description

opened by wada at 2024-12-04T14:37:30; updated 2024-12-16T11:59:43

概要

秘宝系更新まとめ

一定数秘宝を獲得すると秘宝マップからスタンプ取得
各チャットにスタンプモーダル追加
スタンプIDは、お月見スタンプにより2ずれる

PR

  • 9003 【3/17】期限付きスタンプ
  • 9547 【9/8 15時アップ】ご当地スタンプ
  • 9624 【即日】ご当地スタンプを受け取ったあとのS_GetUserMapStampをやめる
  • 9625 【即日】master_chat_stampのキャシュを一時的にコメントアウト
  • 9628 【即日】定型文が消えていた
  • 9631 【即日】ご当地スタンプからの秘宝マップへのリンク
  • 9654 【9/16】ご当地スタンプの調整

DB更新内容

【12/11】ご当地スタンプ jolly/jrye-db#929

追加テーブル

CREATE TABLE `user_map_stamp` (
  `user_no` bigint(20) NOT NULL,
  `prefecture_id` tinyint(4) NOT NULL,
  `reg_date` datetime NOT NULL,
  PRIMARY KEY (`user_no`,`prefecture_id`),
  KEY `prefecture_id` (`prefecture_id`,`reg_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='ご当地スタンプ';

ALTER TABLE `user_chat_stamp` ADD`end_time` datetime NOT NULL DEFAULT '2037-01-01 00:00:00' COMMENT '使用期限';

事前準備

【12/9】ご当地スタンプ反映準備 #3811

反映準備 → スタンプ反映 → webデプロイ
スタンプ反映までは事前に対応してOK

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

TODO

  • [x] スタンプ反映準備本番デプロイ(12/9 レビュー完了後)
  • [x] スタンプdbデプロイ(12/11 レビュー・デバッグ完了後)
  • [x] masterマージ
  • [x] 準備処理の削除commit
  • [x] js圧縮
  • [x] テーブル作成
  • [x] webデプロイ(12/16 12:00)
  • [ ] 告知公開

Comment

#37832 by kouho at 2024-12-06T16:46:06; updated 2024-12-06T16:46:06

@wada
細かい修正ですが、秘宝マップのボタン画像変更のプルリクがありますのでこちらも問題なければ入れていただきたいです。
https://github.com/rzstaffgit/jrce2_github/pull/9728/files

kouho add_label at 2024-12-06T18:17:38: コメントあり

Comment

#37836 by kouho at 2024-12-06T18:35:36; updated 2024-12-06T18:35:36

@wada
動作は問題なさそうですが、表示周りで以下気になりました。

1点目 タブのサイズが小さい
 本家ではジャンル分けが増えるため仕方がないかもですが、小さく感じました。

2点目 パイレーツパスのバナー画像に違和感
 いま手に入らないスタンプが例として表示される可能性
 ロキを押し出すことでロキの宝箱で手に入ると誤解を招く可能性
 過去に出したことがないスタンプが表示されている可能性

 ⇒ バナー画像にこだわらず現在開催中のパイレーツパスなど現在獲得可能なスタンプを動的に出してリンクボタンとかにできたら良いのではと思いました

3点目 タブの画像の区分が分かりづらい
 タップすることで使ってみてわかるUIというものを想定してそうですが、期間限定のジャンルのタブは特に画像だけではどういうジャンルか分かりづらく見えました

Comment

#37837 by kouho at 2024-12-06T18:52:50; updated 2024-12-06T18:52:50

@wada
以下は要望レベルです。

ご当地スタンプのタブを開いた際にどのスタンプが〜県のものかというのが分かりづらく感じました。
秘宝マップで確認は可能ですが小さいので、スタンプ選択画面で 〜県 など獲得した都道府県をラベルをつけるなどで表示できないかと思いました。

kouho add_label at 2024-12-13T10:02:16: 皇甫 LGTM

Comment

#37905 by kouho at 2024-12-13T10:02:57; updated 2024-12-13T10:02:57

@wada
要望レベル以外の部分は確認OKです

wada merge at 2024-12-16T11:59:37: 【12/11】ご当地スタンプ
wada close at 2024-12-16T11:59:37: Close
wada delete_branch at 2024-12-16T11:59:43: area_stamp

Commit range

based3492ee70707657070d5fec1d45b25eddd67e748
head78c4c74ec38b943f36b2d33cc4c2cc6a820c9789
base branchjolly/jr-web:master
head branchjolly/jr-web:area_stamp

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed110 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/ajax/areaItem_default.inc
addedlib/ajax/areaItem_map_stamp_present.inc
modifiedlib/ajax/mission_default.inc
modifiedlib/class/present_box/PresentBoxContent.class.php
modifiedlib/class/present_box/PresentBoxManager.class.php
modifiedlib/conf/class/LimitedStampConfig.class.php
modifiedlib/conf/define.inc
modifiedlib/models/dao/user_chat_stamp.php
modifiedlib/public/AreaItem.inc
modifiedlib/public/Friend-Bbs.inc
modifiedlib/public/Friend-BbsOwn.inc
modifiedlib/public/Friend.inc
modifiedlib/public/Main.inc
modifiedlib/public/Team.inc
modifiedlib/public/TeamWar.inc
modifiedpublic_html/ajax.php
modifiedpublic_html/css/design.css
addedpublic_html/img/area_item/frame_stamp.png
addedpublic_html/img/area_item/frame_stamp_icon.png
addedpublic_html/img/area_item/frame_stamp_off.png
addedpublic_html/img/area_item/frame_stamp_on.png
addedpublic_html/img/area_item/map_stamp_modal_top.png
addedpublic_html/img/area_item/title_stamp.png
addedpublic_html/img/info_jrye/3983/info1.jpg
addedpublic_html/img/info_jrye/3983/info2.jpg
addedpublic_html/img/info_jrye/3983/info3.jpg
addedpublic_html/img/info_jrye/3983/info4.jpg
addedpublic_html/img/mainmenu/btn_areaitem.png
addedpublic_html/img/mission/bonus_back.png
addedpublic_html/img/mission/bonus_text.png
addedpublic_html/img/mission/stamp_complete.png
addedpublic_html/img/team/stamp/104.png
addedpublic_html/img/team/stamp/105.png
addedpublic_html/img/team/stamp/106.png
addedpublic_html/img/team/stamp/107.png
addedpublic_html/img/team/stamp/108.png
addedpublic_html/img/team/stamp/109.png
addedpublic_html/img/team/stamp/110.png
addedpublic_html/img/team/stamp/111.png
addedpublic_html/img/team/stamp/112.png
addedpublic_html/img/team/stamp/113.png
addedpublic_html/img/team/stamp/114.png
addedpublic_html/img/team/stamp/115.png
addedpublic_html/img/team/stamp/116.png
addedpublic_html/img/team/stamp/117.png
addedpublic_html/img/team/stamp/118.png
addedpublic_html/img/team/stamp/119.png
addedpublic_html/img/team/stamp/120.png
addedpublic_html/img/team/stamp/121.png
addedpublic_html/img/team/stamp/122.png
addedpublic_html/img/team/stamp/123.png
addedpublic_html/img/team/stamp/124.png
addedpublic_html/img/team/stamp/125.png
addedpublic_html/img/team/stamp/126.png
addedpublic_html/img/team/stamp/127.png
addedpublic_html/img/team/stamp/128.png
addedpublic_html/img/team/stamp/129.png
addedpublic_html/img/team/stamp/130.png
addedpublic_html/img/team/stamp/131.png
addedpublic_html/img/team/stamp/132.png
addedpublic_html/img/team/stamp/133.png
addedpublic_html/img/team/stamp/134.png
addedpublic_html/img/team/stamp/135.png
addedpublic_html/img/team/stamp/136.png
addedpublic_html/img/team/stamp/137.png
addedpublic_html/img/team/stamp/138.png
addedpublic_html/img/team/stamp/139.png
addedpublic_html/img/team/stamp/140.png
addedpublic_html/img/team/stamp/141.png
addedpublic_html/img/team/stamp/142.png
addedpublic_html/img/team/stamp/143.png
addedpublic_html/img/team/stamp/144.png
addedpublic_html/img/team/stamp/145.png
addedpublic_html/img/team/stamp/146.png
addedpublic_html/img/team/stamp/147.png
addedpublic_html/img/team/stamp/148.png
addedpublic_html/img/team/stamp/149.png
addedpublic_html/img/team/stamp/150.png
addedpublic_html/img/team/stamp/banner_ruins.png
addedpublic_html/img/team/stamp/banner_season.png
addedpublic_html/img/team/stamp/tab_stamp_00.png
addedpublic_html/img/team/stamp/tab_stamp_00_b.png
addedpublic_html/img/team/stamp/tab_stamp_01.png
addedpublic_html/img/team/stamp/tab_stamp_01_b.png
addedpublic_html/img/team/stamp/tab_stamp_02.png
addedpublic_html/img/team/stamp/tab_stamp_02_b.png
addedpublic_html/img/team/stamp/tab_stamp_03.png
addedpublic_html/img/team/stamp/tab_stamp_03_b.png
addedpublic_html/img/team/stamp/tab_stamp_04.png
addedpublic_html/img/team/stamp/tab_stamp_04_b.png
addedpublic_html/img/team/stamp/tab_stamp_05.png
addedpublic_html/img/team/stamp/tab_stamp_05_b.png
addedpublic_html/img/team/stamp/tab_stamp_06.png
addedpublic_html/img/team/stamp/tab_stamp_06_b.png
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/JOLLYROGER_mission.js
modifiedpublic_html/js/jr_main.min.js
modifiedpublic_html/js/jr_mission.min.js
modifiedpublic_html/template/AreaItem.tpl
modifiedpublic_html/template/Friend-Bbs.tpl
modifiedpublic_html/template/Friend-BbsOwn.tpl
modifiedpublic_html/template/Friend.tpl
modifiedpublic_html/template/Main-Location.tpl
modifiedpublic_html/template/Main.tpl
modifiedpublic_html/template/Mission.tpl
modifiedpublic_html/template/Team.tpl
modifiedpublic_html/template/TeamWar.tpl
modifiedpublic_html/template/header_sp.tpl
addedpublic_html/template/parts_bbs_stamp_modal.tpl
Patch body is stored as a separate file to keep this page lightweight.