Adding audio support

This commit is contained in:
domenico committed 2021-02-10 18:09:04 +01:00
1 parent 33eb368dab
commit 6f58a94656
6 files changed
+74 -63

No files matched your search

+1 -1
View File
@@ -1 +1 @@
[{"/Users/domenico/dev/games-party/games-party/client/src/reportWebVitals.tsx":"1","/Users/domenico/dev/games-party/games-party/client/src/App.tsx":"2","/Users/domenico/dev/games-party/games-party/client/src/index.tsx":"3","/Users/domenico/dev/games-party/games-party/client/src/pages/LobbyPage.tsx":"4","/Users/domenico/dev/games-party/games-party/client/src/pages/PlayRoomPage.tsx":"5","/Users/domenico/dev/games-party/games-party/client/src/context/store.tsx":"6","/Users/domenico/dev/games-party/games-party/client/src/components/Player.tsx":"7","/Users/domenico/dev/games-party/games-party/client/src/components/StashManagementDrawer.tsx":"8","/Users/domenico/dev/games-party/games-party/client/src/context/stashManagementContext.tsx":"9","/Users/domenico/dev/games-party/games-party/client/src/components/Hand.tsx":"10","/Users/domenico/dev/games-party/games-party/client/src/components/Prompt.tsx":"11","/Users/domenico/dev/games-party/games-party/client/src/context/chatContext.tsx":"12"},{"size":362,"mtime":1609249563286,"results":"13","hashOfConfig":"14"},{"size":919,"mtime":1610987751265,"results":"15","hashOfConfig":"14"},{"size":504,"mtime":1609784519249,"results":"16","hashOfConfig":"14"},{"size":4531,"mtime":1610826307035,"results":"17","hashOfConfig":"14"},{"size":11671,"mtime":1611241493652,"results":"18","hashOfConfig":"14"},{"size":2713,"mtime":1611222742326,"results":"19","hashOfConfig":"14"},{"size":6545,"mtime":1611241128984,"results":"20","hashOfConfig":"14"},{"size":3492,"mtime":1610732080352,"results":"21","hashOfConfig":"14"},{"size":1366,"mtime":1610176599048,"results":"22","hashOfConfig":"14"},{"size":1005,"mtime":1610576678797,"results":"23","hashOfConfig":"14"},{"size":3854,"mtime":1610826192773,"results":"24","hashOfConfig":"14"},{"size":6310,"mtime":1611243735412,"results":"25","hashOfConfig":"14"},{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},"1ynk1tg",{"filePath":"29","messages":"30","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"37","usedDeprecatedRules":"28"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"28"},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"51","messages":"52","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"53","usedDeprecatedRules":"28"},"/Users/domenico/dev/games-party/games-party/client/src/reportWebVitals.tsx",[],["54","55"],"/Users/domenico/dev/games-party/games-party/client/src/App.tsx",[],"/Users/domenico/dev/games-party/games-party/client/src/index.tsx",[],"/Users/domenico/dev/games-party/games-party/client/src/pages/LobbyPage.tsx",[],"/Users/domenico/dev/games-party/games-party/client/src/pages/PlayRoomPage.tsx",["56"],"import { useCallback, useContext, useEffect, useState } from 'react';\nimport { Badge, Layout, Row, Col, Space, Typography, Button, message, Statistic } from 'antd';\nimport { PauseCircleOutlined, PlaySquareOutlined } from '@ant-design/icons';\nimport { FullScreen, useFullScreenHandle } from \"react-full-screen\";\nimport { useLocation } from 'wouter';\n\nimport { GameContext } from '../context/store';\nimport { StashManagementProvider } from '../context/stashManagementContext';\n\nimport StashManagementDrawer from '../components/StashManagementDrawer';\nimport Player from '../components/Player';\nimport Hand from '../components/Hand';\nimport Prompt from '../components/Prompt';\n\nconst { Content } = Layout;\nconst { Title } = Typography;\n\nconst PlayRoomPage = ({ params }) => {\n const roomId = params.roomId;\n const { state, dispatch } = useContext(GameContext);\n const [, setLocation] = useLocation();\n const fullScreenHandle = useFullScreenHandle();\n\n const [isRoomOwner, setIsRoomOwner] = useState(false);\n Line truncated
[{"/Users/domenico/dev/chemmazz/client/src/index.tsx":"1","/Users/domenico/dev/chemmazz/client/src/reportWebVitals.tsx":"2","/Users/domenico/dev/chemmazz/client/src/App.tsx":"3","/Users/domenico/dev/chemmazz/client/src/pages/PlayRoomPage.tsx":"4","/Users/domenico/dev/chemmazz/client/src/pages/LobbyPage.tsx":"5","/Users/domenico/dev/chemmazz/client/src/context/chatContext.tsx":"6","/Users/domenico/dev/chemmazz/client/src/context/store.tsx":"7","/Users/domenico/dev/chemmazz/client/src/context/stashManagementContext.tsx":"8","/Users/domenico/dev/chemmazz/client/src/components/StashManagementDrawer.tsx":"9","/Users/domenico/dev/chemmazz/client/src/components/Hand.tsx":"10","/Users/domenico/dev/chemmazz/client/src/components/Player.tsx":"11","/Users/domenico/dev/chemmazz/client/src/components/Prompt.tsx":"12","/Users/domenico/dev/chemmazz/client/src/components/HighlightedPlayer.tsx":"13"},{"size":504,"mtime":1609784519249,"results":"14","hashOfConfig":"15"},{"size":362,"mtime":1609249563286,"results":"16","hashOfConfig":"15"},{"size":919,"mtime":1610987751265,"results":"17","hashOfConfig":"15"},{"size":9399,"mtime":1612959783402,"results":"18","hashOfConfig":"15"},{"size":4531,"mtime":1610826307035,"results":"19","hashOfConfig":"15"},{"size":6721,"mtime":1612975545641,"results":"20","hashOfConfig":"15"},{"size":2713,"mtime":1611222742326,"results":"21","hashOfConfig":"15"},{"size":1366,"mtime":1610176599048,"results":"22","hashOfConfig":"15"},{"size":3492,"mtime":1610732080352,"results":"23","hashOfConfig":"15"},{"size":1005,"mtime":1610576678797,"results":"24","hashOfConfig":"15"},{"size":3050,"mtime":1612976738162,"results":"25","hashOfConfig":"15"},{"size":3854,"mtime":1610826192773,"results":"26","hashOfConfig":"15"},{"size":1401,"mtime":1612959132305,"results":"27","hashOfConfig":"15"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},"1vcp6tj",{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"39","messages":"40","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"41","messages":"42","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"43","messages":"44","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"45","messages":"46","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"47","messages":"48","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/domenico/dev/chemmazz/client/src/index.tsx",[],["55","56"],"/Users/domenico/dev/chemmazz/client/src/reportWebVitals.tsx",[],"/Users/domenico/dev/chemmazz/client/src/App.tsx",[],"/Users/domenico/dev/chemmazz/client/src/pages/PlayRoomPage.tsx",["57","58"],"/Users/domenico/dev/chemmazz/client/src/pages/LobbyPage.tsx",[],"/Users/domenico/dev/chemmazz/client/src/context/chatContext.tsx",["59"],"/Users/domenico/dev/chemmazz/client/src/context/store.tsx",[],"/Users/domenico/dev/chemmazz/client/src/context/stashManagementContext.tsx",[],"/Users/domenico/dev/chemmazz/client/src/components/StashManagementDrawer.tsx",[],"/Users/domenico/dev/chemmazz/client/src/components/Hand.tsx",[],"/Users/domenico/dev/chemmazz/client/src/components/Player.tsx",[],"/Users/domenico/dev/chemmazz/client/src/components/Prompt.tsx",[],"/Users/domenico/dev/chemmazz/client/src/components/HighlightedPlayer.tsx",[],{"ruleId":"60","replacedBy":"61"},{"ruleId":"62","replacedBy":"63"},{"ruleId":"64","severity":1,"message":"65","line":2,"column":10,"nodeType":"66","messageId":"67","endLine":2,"endColumn":15},{"ruleId":"68","severity":1,"message":"69","line":73,"column":8,"nodeType":"70","endLine":73,"endColumn":20,"suggestions":"71"},{"ruleId":"68","severity":1,"message":"72","line":186,"column":8,"nodeType":"70","endLine":186,"endColumn":45,"suggestions":"73"},"no-native-reassign",["74"],"no-negated-in-lhs",["75"],"@typescript-eslint/no-unused-vars","Line truncated