From 2ba02c310cc991ad0d51cf37d568d0339ab2af15 Mon Sep 17 00:00:00 2001 From: Manfred Martin Date: Fri, 22 Nov 2024 16:05:08 +0100 Subject: [PATCH] :star: [UI] - Some ux improvements --- .travis.yml | 4 +- docs/changelog/README.md | 3 ++ e2e/features/api-container.feature | 14 +++--- e2e/features/prometheus.feature | 12 ++--- ui/src/components/ContainerItem.vue | 71 ++++++++++++++------------- ui/src/components/ContainerUpdate.vue | 46 ++++++++++------- 6 files changed, 84 insertions(+), 66 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae5e785c..3bf84ebd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,7 +94,7 @@ script: # Pull vaultwarden - docker pull vaultwarden/server - - docker pull vaultwarden/server:1.32.4-alpine + - docker pull vaultwarden/server:1.32.5-alpine # Pull youtubedl - docker pull jeeaaasustest/youtube-dl @@ -141,7 +141,7 @@ script: - docker run -d --name hub_traefik_245 --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+.\d+$' traefik:2.4.5 - docker run -d --name hub_traefik_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' traefik - - docker run -d --name hub_vaultwarden_1222 --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+.\d+-alpine$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server:1.32.4-alpine + - docker run -d --name hub_vaultwarden_1222 --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+.\d+-alpine$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server:1.32.5-alpine - docker run -d --name hub_vaultwarden_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server - docker run -d --name hub_youtubedb_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' jeeaaasustest/youtube-dl diff --git a/docs/changelog/README.md b/docs/changelog/README.md index cd86cf9a..2438da0e 100644 --- a/docs/changelog/README.md +++ b/docs/changelog/README.md @@ -1,5 +1,8 @@ # Changelog +# 7.1.2 (wip) +- :star: [UI] - Some ux improvements + # 7.1.1 - :fire: [NTFY] - Fix basic/bearer authentication diff --git a/e2e/features/api-container.feature b/e2e/features/api-container.feature index 182bfc48..9d9472f8 100644 --- a/e2e/features/api-container.feature +++ b/e2e/features/api-container.feature @@ -21,9 +21,9 @@ Feature: WUD Container API Exposure | 0 | ecr | ecr_sub_sub_test | https://229211676173.dkr.ecr.eu-west-1.amazonaws.com/v2 | sub/sub/test | 1.0.0 | 2.0.0 | true | | 1 | ecr | ecr_sub_test | https://229211676173.dkr.ecr.eu-west-1.amazonaws.com/v2 | sub/test | 1.0.0 | 2.0.0 | true | | 2 | ecr | ecr_test | https://229211676173.dkr.ecr.eu-west-1.amazonaws.com/v2 | test | 1.0.0 | 2.0.0 | true | - | 3 | ghcr | ghcr_radarr | https://ghcr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 | 5.14.0.9383-ls245 | true | + | 3 | ghcr | ghcr_radarr | https://ghcr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 | 5.15.1.9463-ls246 | true | | 4 | gitlab | gitlab_test | https://registry.gitlab.com/v2 | manfred-martin/docker-registry-test | 1.0.0 | 2.0.0 | true | - | 5 | hub | hub_homeassistant_202161 | https://registry-1.docker.io/v2 | homeassistant/home-assistant | 2021.6.1 | 2024.11.1 | true | + | 5 | hub | hub_homeassistant_202161 | https://registry-1.docker.io/v2 | homeassistant/home-assistant | 2021.6.1 | 2024.11.3 | true | | 6 | hub | hub_homeassistant_latest | https://registry-1.docker.io/v2 | homeassistant/home-assistant | latest | latest | false | | 7 | hub | hub_nginx_120 | https://registry-1.docker.io/v2 | library/nginx | 1.20-alpine | 1.27-alpine | true | | 8 | hub | hub_nginx_latest | https://registry-1.docker.io/v2 | library/nginx | latest | latest | true | @@ -31,13 +31,13 @@ Feature: WUD Container API Exposure | 10 | hub | hub_pihole_57 | https://registry-1.docker.io/v2 | pihole/pihole | v5.7 | v5.8.1 | true | | 11 | hub | hub_pihole_latest | https://registry-1.docker.io/v2 | pihole/pihole | latest | latest | false | | 12 | hub | hub_pyload_latest | https://registry-1.docker.io/v2 | writl/pyload | latest | latest | false | - | 13 | hub | hub_traefik_245 | https://registry-1.docker.io/v2 | library/traefik | 2.4.5 | 3.2.0 | true | + | 13 | hub | hub_traefik_245 | https://registry-1.docker.io/v2 | library/traefik | 2.4.5 | 3.2.1 | true | | 14 | hub | hub_traefik_latest | https://registry-1.docker.io/v2 | library/traefik | latest | latest | false | - | 15 | hub | hub_vaultwarden_1222 | https://registry-1.docker.io/v2 | vaultwarden/server | 1.32.4-alpine | 1.32.4-alpine | false | + | 15 | hub | hub_vaultwarden_1222 | https://registry-1.docker.io/v2 | vaultwarden/server | 1.32.5-alpine | 1.32.5-alpine | false | | 16 | hub | hub_vaultwarden_latest | https://registry-1.docker.io/v2 | vaultwarden/server | latest | latest | false | | 17 | hub | hub_youtubedb_latest | https://registry-1.docker.io/v2 | jeeaaasustest/youtube-dl | latest | latest | false | - | 18 | lscr | lscr_radarr | https://lscr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 | 5.14.0.9383-ls245 | true | - | 19 | quay | quay_prometheus | https://quay.io/v2 | prometheus/prometheus | v2.52.0 | v2.55.1 | true | + | 18 | lscr | lscr_radarr | https://lscr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 | 5.15.1.9463-ls246 | true | + | 19 | quay | quay_prometheus | https://quay.io/v2 | prometheus/prometheus | v2.52.0 | v3.0.0 | true | Scenario: WUD must allow to get a container with semver Given I GET /api/containers @@ -85,7 +85,7 @@ Feature: WUD Container API Exposure Then response code should be 200 And response body should be valid json And response body path $.link should be https://github.com/home-assistant/core/releases/tag/2021.6.1 - And response body path $.result.link should be https://github.com/home-assistant/core/releases/tag/2024.11.1 + And response body path $.result.link should be https://github.com/home-assistant/core/releases/tag/2024.11.3 Scenario: WUD must allow to trigger a watch on a container Given I GET /api/containers diff --git a/e2e/features/prometheus.feature b/e2e/features/prometheus.feature index 109019ca..6d3ac16b 100644 --- a/e2e/features/prometheus.feature +++ b/e2e/features/prometheus.feature @@ -25,9 +25,9 @@ Feature: Prometheus exposure | ecr_sub_sub_test | ecr | https://229211676173.dkr.ecr.eu-west-1.amazonaws.com/v2 | sub/sub/test | 1.0.0 | 2.0.0 | true | | ecr_sub_test | ecr | https://229211676173.dkr.ecr.eu-west-1.amazonaws.com/v2 | sub/test | 1.0.0 | 2.0.0 | true | | ecr_test | ecr | https://229211676173.dkr.ecr.eu-west-1.amazonaws.com/v2 | test | 1.0.0 | 2.0.0 | true | - | ghcr_radarr | ghcr | https://ghcr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 |5.14.0.9383-ls245 | true | + | ghcr_radarr | ghcr | https://ghcr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 |5.15.1.9463-ls246 | true | | gitlab_test | gitlab | https://registry.gitlab.com/v2 | manfred-martin/docker-registry-test | 1.0.0 | 2.0.0 | true | - | hub_homeassistant_202161 | hub | https://registry-1.docker.io/v2 | homeassistant/home-assistant | 2021.6.1 | 2024.11.1 | true | + | hub_homeassistant_202161 | hub | https://registry-1.docker.io/v2 | homeassistant/home-assistant | 2021.6.1 | 2024.11.3 | true | | hub_homeassistant_latest | hub | https://registry-1.docker.io/v2 | homeassistant/home-assistant | latest | latest | false | | hub_nginx_120 | hub | https://registry-1.docker.io/v2 | library/nginx | 1.20-alpine | 1.27-alpine | true | | hub_nginx_latest | hub | https://registry-1.docker.io/v2 | library/nginx | latest | latest | true | @@ -35,10 +35,10 @@ Feature: Prometheus exposure | hub_pihole_57 | hub | https://registry-1.docker.io/v2 | pihole/pihole | v5.7 | v5.8.1 | true | | hub_pihole_latest | hub | https://registry-1.docker.io/v2 | pihole/pihole | latest | latest | false | | hub_pyload_latest | hub | https://registry-1.docker.io/v2 | writl/pyload | latest | latest | false | - | hub_traefik_245 | hub | https://registry-1.docker.io/v2 | library/traefik | 2.4.5 | 3.2.0 | true | + | hub_traefik_245 | hub | https://registry-1.docker.io/v2 | library/traefik | 2.4.5 | 3.2.1 | true | | hub_traefik_latest | hub | https://registry-1.docker.io/v2 | library/traefik | latest | latest | false | - | hub_vaultwarden_1222 | hub | https://registry-1.docker.io/v2 | vaultwarden/server | 1.32.4-alpine | 1.32.4-alpine | false | + | hub_vaultwarden_1222 | hub | https://registry-1.docker.io/v2 | vaultwarden/server | 1.32.5-alpine | 1.32.5-alpine | false | | hub_vaultwarden_latest | hub | https://registry-1.docker.io/v2 | vaultwarden/server | latest | latest | false | | hub_youtubedb_latest | hub | https://registry-1.docker.io/v2 | jeeaaasustest/youtube-dl | latest | latest | false | - | lscr_radarr | lscr | https://lscr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 |5.14.0.9383-ls245 | true | - | quay_prometheus | quay | https://quay.io/v2 | prometheus/prometheus | v2.52.0 |v2.55.1 | true | + | lscr_radarr | lscr | https://lscr.io/v2 | linuxserver/radarr | 3.2.1.5070-ls105 |5.15.1.9463-ls246 | true | + | quay_prometheus | quay | https://quay.io/v2 | prometheus/prometheus | v2.52.0 |v3.0.0 | true | diff --git a/ui/src/components/ContainerItem.vue b/ui/src/components/ContainerItem.vue index 2d684f5a..5ecfafc7 100644 --- a/ui/src/components/ContainerItem.vue +++ b/ui/src/components/ContainerItem.vue @@ -43,27 +43,30 @@ + + mdi-arrow-right + + + Copy to clipboard + + + - - - Copy to clipboard - {{ showDetail ? "mdi-chevron-up" : "mdi-chevron-down" }} @@ -74,6 +77,14 @@ v-model="tab" ref="tabs" > + + Update + mdi-package-down + + + Error + mdi-alert + Container Image mdi-package-variant-closed - - Update - mdi-package-down - - - Error - mdi-alert - - - - - - - + + + + + + diff --git a/ui/src/components/ContainerUpdate.vue b/ui/src/components/ContainerUpdate.vue index 0c04c4da..74b03ea8 100644 --- a/ui/src/components/ContainerUpdate.vue +++ b/ui/src/components/ContainerUpdate.vue @@ -14,6 +14,31 @@ {{ result.tag }} + + + Copy to clipboard + + + + + + + mdi-link + + + Link + {{ result.link }} @@ -22,8 +47,9 @@ mdi-function-variant - - Digest + Digest + + {{ result.digest }} Copy to clipboard - - - {{ result.digest }} @@ -61,17 +84,6 @@ - - - mdi-link - - - Link - {{ result.link }} - - - No update available