From d6db67e3fe7e43da6ed149fbb115e271696e47d7 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Wed, 29 May 2024 16:22:15 +0800 Subject: [PATCH 1/2] few ux improvements --- addon/components/api-event/details.hbs | 16 ++++++- addon/components/api-request-log/details.hbs | 17 ++++++- .../api-request-log/request-body.hbs | 8 +++- addon/components/modals/api-key-form.hbs | 14 +++--- .../modals/listen-custom-channel.hbs | 6 ++- .../components/modals/rename-api-key-form.hbs | 8 +++- addon/components/modals/roll-api-key-form.hbs | 21 ++++++-- addon/components/modals/webhook-form.hbs | 48 +++++++++++++++---- addon/components/webhook/attempts.hbs | 17 +++++-- addon/controllers/api-keys/index.js | 29 ++++++++--- addon/controllers/events/index.js | 14 ++++++ addon/controllers/logs/index.js | 14 ++++++ addon/controllers/sockets/index.js | 14 ++++++ addon/controllers/webhooks/index.js | 14 ++++++ addon/templates/api-keys/index.hbs | 25 ++++++++-- addon/templates/application.hbs | 2 +- addon/templates/events/index.hbs | 23 +++++++-- addon/templates/logs/index.hbs | 23 +++++++-- addon/templates/sockets/index.hbs | 3 +- addon/templates/sockets/view.hbs | 10 +++- addon/templates/webhooks/index.hbs | 14 +++++- translations/en-us.yaml | 2 + 22 files changed, 294 insertions(+), 48 deletions(-) diff --git a/addon/components/api-event/details.hbs b/addon/components/api-event/details.hbs index 155b92e..9824ce6 100644 --- a/addon/components/api-event/details.hbs +++ b/addon/components/api-event/details.hbs @@ -1,4 +1,18 @@ - + diff --git a/addon/components/api-request-log/details.hbs b/addon/components/api-request-log/details.hbs index a85a5e5..644d14d 100644 --- a/addon/components/api-request-log/details.hbs +++ b/addon/components/api-request-log/details.hbs @@ -1,4 +1,19 @@ - +
diff --git a/addon/components/api-request-log/request-body.hbs b/addon/components/api-request-log/request-body.hbs index c4e6ce3..ae78fca 100644 --- a/addon/components/api-request-log/request-body.hbs +++ b/addon/components/api-request-log/request-body.hbs @@ -1,4 +1,10 @@ - + {{#if @apiRequest.request_body}} {{else}} diff --git a/addon/components/modals/api-key-form.hbs b/addon/components/modals/api-key-form.hbs index a7b2aaf..f189a41 100644 --- a/addon/components/modals/api-key-form.hbs +++ b/addon/components/modals/api-key-form.hbs @@ -4,7 +4,13 @@ - +
@@ -24,12 +30,6 @@

-
- - - -
-
{{#if @options.testMode}} diff --git a/addon/components/modals/listen-custom-channel.hbs b/addon/components/modals/listen-custom-channel.hbs index 965c5d1..4dd6a52 100644 --- a/addon/components/modals/listen-custom-channel.hbs +++ b/addon/components/modals/listen-custom-channel.hbs @@ -1,5 +1,9 @@ \ No newline at end of file diff --git a/addon/components/modals/rename-api-key-form.hbs b/addon/components/modals/rename-api-key-form.hbs index 405e7e9..c8c089a 100644 --- a/addon/components/modals/rename-api-key-form.hbs +++ b/addon/components/modals/rename-api-key-form.hbs @@ -4,7 +4,13 @@ - +
\ No newline at end of file diff --git a/addon/components/modals/roll-api-key-form.hbs b/addon/components/modals/roll-api-key-form.hbs index df1fa8b..d2732f5 100644 --- a/addon/components/modals/roll-api-key-form.hbs +++ b/addon/components/modals/roll-api-key-form.hbs @@ -10,7 +10,12 @@
{{@options.apiKey.key}}
-