Refact/feature sockets (#193)

* chore: migrate and upgrade state dependencies
* refactor(eventlist): get data from store
* refactor(messagecontrol): get data from store
* refactor(playbackcontrol): get data from store
* refactor(info): get data from store
* refactor(messagecontrol): handle mutations in hook
* feat(playbackcontrol): get data from store
* refactor(playbackcontrol): handle mutations in hook
* refactor(playbackcontrol): simplify object
* refactor: simplify interfaces
* refactor(InputRow): mixed control + styles
* refactor(socket): cleanup unused endpoints
* refactor(table): prepare table socket endpoint
* refactor(timer): extract timer to own endpoint
* refactor(table): get data from store
* chore: update tests
* refactor(socket): update sockets on cycle
* refactor: remove unnecessary safeguards
This commit is contained in:
Carlos Valente
2022-09-06 21:11:24 +02:00
committed by GitHub
parent 0e450cb6cb
commit b384284175
35 changed files with 667 additions and 630 deletions
+5 -4
View File
@@ -1,6 +1,6 @@
{
"name": "ontime-ui",
"version": "1.6.0",
"version": "1.7.1",
"private": true,
"dependencies": {
"@chakra-ui/react": "^2.0.0-next.3",
@@ -10,8 +10,10 @@
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@react-icons/all-files": "^4.1.0",
"@tanstack/react-query": "^4.1.3",
"@tanstack/react-query-devtools": "^4.0.10",
"autosize": "^5.0.1",
"axios": "^0.25.0",
"axios": "^0.27.2",
"color": "^4.2.3",
"framer-motion": "^6.3.3",
"jotai": "^1.7.8",
@@ -21,10 +23,9 @@
"react-dom": "^18.1.0",
"react-fast-compare": "^3.2.0",
"react-qr-code": "^2.0.5",
"react-query": "^3.38.0",
"react-router-dom": "^6.3.0",
"react-table": "^7.7.0",
"socket.io-client": "^4.5.0",
"socket.io-client": "^4.5.1",
"typeface-open-sans": "^1.1.13",
"use-fit-text": "^2.4.0",
"web-vitals": "^2.1.4"