Skip to content

Commit

Permalink
Improve inspection hint text
Browse files Browse the repository at this point in the history
  • Loading branch information
big213 committed May 23, 2020
1 parent 5459331 commit d56aa1e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/dialog/misc/editRoomSettingsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default {
scrambleVisualizationOptions: [
{ text: '2D', value: '2D' },
{ text: '3D (Not available on all puzzles)', value: '3D' },
{ text: '3D (Select Puzzles Only)', value: '3D' },
],
}
},
Expand Down
7 changes: 5 additions & 2 deletions pages/room.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@
:size="settingsObject.scrambleFontSize"
/>
<div v-if="settingsObject.inspectionTimer" class="overline">
Inspection Mode On: Hit space bar to start inspection.
Inspection Mode On: Press spacebar to start inspection
</div>
<div class="overline">
Timer input method: {{ settingsObject.inputMethod }}
Timer input method:
{{ inputMethodMap[settingsObject.inputMethod] }}
</div>
</div>
</div>
Expand Down Expand Up @@ -345,6 +346,7 @@

<script>
import sharedService from '~/services/shared.js'
import { inputMethodMap } from '~/services/constants.js'
import { ROOM_QUERY } from '~/gql/query/room.js'
import { ROUNDS_QUERY } from '~/gql/query/round.js'
import {
Expand Down Expand Up @@ -390,6 +392,7 @@ export default {
data() {
return {
inputMethodMap,
room: null,
rounds: [],
activeRound: null,
Expand Down
6 changes: 6 additions & 0 deletions services/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -1233,3 +1233,9 @@ export const booleanOptionsArray = [
{ id: true, name: 'Yes' },
{ id: false, name: 'No' },
]

export const inputMethodMap = {
keyboard: 'Keyboard (Space Bar)',
manual: 'Manual Entry',
stackmat: 'Stackmat Timer',
}

0 comments on commit d56aa1e

Please sign in to comment.