feat: add real time logger page (#276)

* feat: add real time logger

* feat: add subscription for logging

* feat: use timestamp and level in xterm, migrate to new xterm package

* feat: improve design on log page

* fit: remove xterm fit addon

* fix: dispose terminal correctly

* style: format code

* refactor: add jsdoc for redis-transport

* fix: redis connection not possible sometimes

* feat: make terminal full size

* fix: deepsource issues

* fix: lint issue

---------

Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
Manuel
2024-04-04 18:07:23 +02:00
committed by GitHub
parent 2fb0535260
commit c82915c6dc
15 changed files with 235 additions and 3 deletions

View File

@@ -44,8 +44,11 @@
"@trpc/next": "next",
"@trpc/react-query": "next",
"@trpc/server": "next",
"@xterm/addon-canvas": "^0.6.0",
"@xterm/xterm": "^5.4.0",
"chroma-js": "^2.4.2",
"dayjs": "^1.11.10",
"dotenv": "^16.4.5",
"jotai": "^2.7.2",
"next": "^14.1.4",
"postcss-preset-mantine": "^1.13.0",
@@ -54,7 +57,7 @@
"sass": "^1.72.0",
"superjson": "2.2.1",
"use-deep-compare-effect": "^1.8.1",
"dotenv": "^16.4.5"
"xterm-addon-fit": "^0.8.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
@@ -66,6 +69,7 @@
"@types/chroma-js": "2.4.4",
"dotenv-cli": "^7.4.1",
"concurrently": "^8.2.2",
"dotenv-cli": "^7.4.1",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"tsx": "^4.7.1",