From f8033f4083fb9c961273ee16410dea75e29bb92f Mon Sep 17 00:00:00 2001 From: Sanjana Kapur Date: Wed, 12 Oct 2022 21:57:05 -0700 Subject: [PATCH 1/5] Fix AB#686: Add suggestion for Configure Proxy box --- .../manual-proxy-configuration-window.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/proxy/manual-proxy-configuration-window/manual-proxy-configuration-window.html b/src/client/proxy/manual-proxy-configuration-window/manual-proxy-configuration-window.html index e7cb8f0383..fdd01be6ee 100644 --- a/src/client/proxy/manual-proxy-configuration-window/manual-proxy-configuration-window.html +++ b/src/client/proxy/manual-proxy-configuration-window/manual-proxy-configuration-window.html @@ -52,15 +52,15 @@

Enter proxy configuration for BatchExplorer

- +
- +
- +

From b7529298e936d1eee0219a9f1c3d7c4f8c355d89 Mon Sep 17 00:00:00 2001 From: Sanjana Kapur Date: Wed, 12 Oct 2022 22:01:44 -0700 Subject: [PATCH 2/5] Fix AB#790: Make callout accessible via keyboard --- src/@batch-flask/ui/callout/callout.directive.ts | 12 ++++++++++++ src/@batch-flask/ui/callout/callout.html | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/@batch-flask/ui/callout/callout.directive.ts b/src/@batch-flask/ui/callout/callout.directive.ts index baa9111077..0cba29710b 100644 --- a/src/@batch-flask/ui/callout/callout.directive.ts +++ b/src/@batch-flask/ui/callout/callout.directive.ts @@ -3,6 +3,7 @@ import { TemplatePortal } from "@angular/cdk/portal"; import { Directive, ElementRef, HostListener, Input, ViewContainerRef } from "@angular/core"; import { Subscription } from "rxjs"; import { CalloutComponent } from "./callout.component"; +import { ENTER, SPACE } from "@batch-flask/core/keys"; @Directive({ selector: "[blCallout]", @@ -25,6 +26,17 @@ export class CalloutDirective { } } + @HostListener("keydown", ["$event"]) + public onkeydown(event: KeyboardEvent) { + if (event.key === SPACE || event.key === ENTER) { + if (this._overlayRef) { + this.close(); + } else { + this.open(); + } + } + } + public open() { this._overlayRef = this.overlay.create(this._getOverlayConfig()); this._backDropClickSub = this._overlayRef.backdropClick().subscribe(() => { diff --git a/src/@batch-flask/ui/callout/callout.html b/src/@batch-flask/ui/callout/callout.html index 0c084b3f5f..f23afbbec7 100644 --- a/src/@batch-flask/ui/callout/callout.html +++ b/src/@batch-flask/ui/callout/callout.html @@ -1,5 +1,5 @@ -
+
From 427c84241cb10eb036accc409d710b3e63ef0b25 Mon Sep 17 00:00:00 2001 From: Sanjana Kapur Date: Wed, 12 Oct 2022 22:10:45 -0700 Subject: [PATCH 3/5] Fix AB#883: Make graph parts keyboard accessible --- .../account-monitoring-section.html | 6 +++--- .../monitoring/monitor-chart/monitor-chart.html | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/components/account/details/account-monitoring-section/account-monitoring-section.html b/src/app/components/account/details/account-monitoring-section/account-monitoring-section.html index 7286385b4b..5918a832ae 100644 --- a/src/app/components/account/details/account-monitoring-section/account-monitoring-section.html +++ b/src/app/components/account/details/account-monitoring-section/account-monitoring-section.html @@ -22,9 +22,9 @@

{{'account-details.monitoring' | i18n }}

role="application"> -
-

{{'account-monitoring.currentNodeStates' | i18n }}

- +
+

{{'account-monitoring.currentNodeStates' | i18n }}

+
diff --git a/src/app/components/account/monitoring/monitor-chart/monitor-chart.html b/src/app/components/account/monitoring/monitor-chart/monitor-chart.html index abfbb10e97..64d32815b7 100644 --- a/src/app/components/account/monitoring/monitor-chart/monitor-chart.html +++ b/src/app/components/account/monitoring/monitor-chart/monitor-chart.html @@ -1,20 +1,20 @@
-

+

{{ 'account-monitoring.' + metrics | i18n }}

-
+
{{aggregation}}
-
+
-
+
{{total[index]}}
@@ -23,7 +23,7 @@

-
+
{{'account-monitoring.aggregatedOver' | i18n: {interval: interval} }}
From ec14a4872b07758481a1308ee3b22288b2bda773 Mon Sep 17 00:00:00 2001 From: Sanjana Kapur Date: Wed, 12 Oct 2022 22:18:32 -0700 Subject: [PATCH 4/5] Fix AB#999: Add keyboard focus for Job Status pane --- src/app/components/account/details/account-details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/account/details/account-details.html b/src/app/components/account/details/account-details.html index 0b506d9d13..afcaf53945 100644 --- a/src/app/components/account/details/account-details.html +++ b/src/app/components/account/details/account-details.html @@ -9,7 +9,7 @@

{{'account-details.resources' | i18n }}