PR

【早め】設定ページに位置登録精度の調整を追加 #761

wada opened this at 2021-04-28T22:00:02; closed

Description

opened by wada at 2021-04-28T22:00:02; updated 2024-06-10T11:51:06

一部のユーザでタイムアウトが頻発するため、ユーザがゲーム内の設定ページで位置登録の精度を調整できるようにする

設定のデフォルトは「高」
設定データは、user_setting_subに格納(本家に配慮してtypeは101から採番)

<img src="https://git.dev.d-es.co.jp/gitbucket/jolly/jr-web/_attached/161961469213324nXWvu3e6" width="200">
島ページ > 設定ページから確認可能

<img src="https://git.dev.d-es.co.jp/gitbucket/jolly/jr-web/_attached/1619614707832fI5wvxXg9c" width="200">
enableHighAccuracyがtrueだと精度が高い、falseだと低い

Comment

#10640 by wada at 2021-04-28T22:01:17; updated 2021-04-28T22:01:17

@iwamoto @kouho
レビューお願いします。
お出かけイベント終わる前には入れたいので、早めにレビューしてもらえると助かります。

設定ページで変更したら、位置登録ページjs内のenableHighAccuracyが変わってるか確認お願いします。

Comment

#10643 by iwamoto at 2021-04-29T00:42:48; updated 2021-04-29T00:42:48

@wada
こちら確認しました。
設定ページの変更は問題なく反映されていました。

Comment

#10660 by kouho at 2021-04-30T11:33:33; updated 2021-04-30T11:33:33

@wada
設定ページの変更でenableHighAccuracyが変わってるか確認し問題ありませんでした。

kouho add_label at 2021-04-30T11:33:52: 皇甫 LGTM
wada merge at 2021-04-30T11:53:34: 【早め】設定ページに位置登録精度の調整を追加
wada close at 2021-04-30T11:53:34: Close
kouho refer at 2022-10-31T17:58:31: 2371:位置登録まとめ

Commit range

baseecd6c2ecee8bd33bbd66e8b19ce8299fb32f65df
head4f2be3edf9d7fd0e92dacd40e32cec9159c55a6f
base branchjolly/jr-web:develop
head branchjolly/jr-web:fix_geo

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed6 filesView patch
statusfile
addedlib/models/dao/user_setting_sub.php
modifiedlib/public/Main-Location.inc
modifiedlib/public/Setting-Default.inc
modifiedlib/public/Setting-Result.inc
modifiedpublic_html/template/Main-Location.tpl
modifiedpublic_html/template/Setting-Default.tpl
Patch body is stored as a separate file to keep this page lightweight.