add framework for blocking user interaction 76/109876/6
authorTed Humphrey <Thomas.Humphrey@att.com>
Mon, 6 Jul 2020 20:59:47 +0000 (16:59 -0400)
committerTed Humphrey <Thomas.Humphrey@att.com>
Wed, 8 Jul 2020 12:52:58 +0000 (08:52 -0400)
commit4fb32395392c3c65ad8dcadc42d7804d2e656c63
tree415efefee1058f2c30c56260d9f0d7cc0651e9cc
parent0a796ee7cd7aaea4225d4d8b137f5056e40f9ec9
add framework for blocking user interaction

this adds two new methods to LoopUI.js, setBusyLoading and
clearBusyLoading, and one new state variable, busyLoadingCount, for
supporting the blocking of user clicking during async back end calls
that might take a bit of time to return. Blocking the user from clicking
on a component box is implemented as an important first case use, as
well as all PerformAction calls.

Issue-ID: CLAMP-894
Change-Id: I28660afe26b6cc8184b9392aee42157f44601bf6
Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
ui-react/src/LoopUI.js
ui-react/src/__snapshots__/LoopUI.test.js.snap
ui-react/src/__snapshots__/OnapClamp.test.js.snap
ui-react/src/components/dialogs/PerformActions.js
ui-react/src/components/dialogs/PerformActions.test.js
ui-react/src/components/loop_viewer/svg/SvgGenerator.js