From c9a94335b3e3a5fe3b1dd523dbf6f4c5593f7813 Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Fri, 26 May 2023 15:18:43 +0400 Subject: [PATCH 1/2] UI: Scroll the requests list --- docker-compose.yml | 2 +- web/public/index.html | 6 ++++++ web/src/views/main-app.vue | 42 +++++++++++++++++++++++++------------- 3 files changed, 35 insertions(+), 15 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b07e5c9f..f887c72d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,7 +48,7 @@ services: command: >- go run -tags watch ./cmd/webhook-tester/ serve --port=8080 --storage-driver=redis --pubsub-driver=redis - --redis-dsn=redis://redis:6379/0 --max-requests=12 --ignore-header-prefix=x-test-foo --ws-max-clients=20 + --redis-dsn=redis://redis:6379/0 --max-requests=112 --ignore-header-prefix=x-test-foo --ws-max-clients=20 --ws-max-lifetime=1m healthcheck: test: ['CMD-SHELL', 'wget --spider -q http://127.0.0.1:8080/ready'] diff --git a/web/public/index.html b/web/public/index.html index acd7ae52..5e142e53 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -28,6 +28,12 @@ color: #fff; } + #app { + display: flex; + flex-direction: column; + height: 100%; + } + ::-webkit-scrollbar { width: 8px; height: 6px; diff --git a/web/src/views/main-app.vue b/web/src/views/main-app.vue index 23e8fd5f..3a79e640 100644 --- a/web/src/views/main-app.vue +++ b/web/src/views/main-app.vue @@ -1,5 +1,5 @@