From 13af2848fe56f457f0fc1ec2886761457991093e Mon Sep 17 00:00:00 2001 From: "Erin E. Sullivan" Date: Mon, 11 Sep 2023 16:10:50 -0400 Subject: [PATCH 1/2] Disabling `text` action. - Added styling and a message saying that texting records is temporarily unavailable. --- src/modules/lists/components/ActionsList/index.js | 2 ++ src/stylesheets/main.css | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/src/modules/lists/components/ActionsList/index.js b/src/modules/lists/components/ActionsList/index.js index 6140062b2..16bdde8d5 100644 --- a/src/modules/lists/components/ActionsList/index.js +++ b/src/modules/lists/components/ActionsList/index.js @@ -159,6 +159,7 @@ class ActionsList extends Component { return this.handleClick(action, data.viewType); }} aria-pressed={isActive} + disabled={action.uid === 'text'} > {action.icon_d @@ -174,6 +175,7 @@ class ActionsList extends Component { {this.state.alert && ( {this.state.alert.text} )} + {!active &&

Texting records to your mobile device is temporarily unavailable.

} ); }} diff --git a/src/stylesheets/main.css b/src/stylesheets/main.css index 9e3224676..70ed0dba0 100644 --- a/src/stylesheets/main.css +++ b/src/stylesheets/main.css @@ -3135,6 +3135,15 @@ input.get-this-field-input-year { text-decoration: underline; } +.lists-action-button:disabled { + background: #F2F2F2; + color: #4E4E4E; +} + +.lists-action-button:disabled:hover { + text-decoration: none; +} + .lists-action-button .icon { margin-bottom: 0.2rem; color: #4E4E4E; From 40a59f9c9ae922438c1ca1832e0da77bfc294584 Mon Sep 17 00:00:00 2001 From: "Erin E. Sullivan" Date: Mon, 11 Sep 2023 16:14:54 -0400 Subject: [PATCH 2/2] Adding `not-allowed` cursor on `:hover`. --- src/stylesheets/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stylesheets/main.css b/src/stylesheets/main.css index 70ed0dba0..532d54ca4 100644 --- a/src/stylesheets/main.css +++ b/src/stylesheets/main.css @@ -3138,6 +3138,7 @@ input.get-this-field-input-year { .lists-action-button:disabled { background: #F2F2F2; color: #4E4E4E; + cursor: not-allowed; } .lists-action-button:disabled:hover {