Skip to content

Commit

Permalink
Added UI impact details to specification
Browse files Browse the repository at this point in the history
tendrl-bug-id: Tendrl#252
Signed-off-by: Shubhendu <shtripat@redhat.com>
  • Loading branch information
Shubhendu committed Feb 7, 2018
1 parent 1d02616 commit 241d52c
Showing 1 changed file with 75 additions and 2 deletions.
77 changes: 75 additions & 2 deletions specs/unmanage_cluster.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,76 @@ None

==== Tendrl Dashboard impact:

* UX requirements for invoking an un-manage cluster flow for an existing cluster
is captured at https://redhat.invisionapp.com/share/8QCOEVEY9
* Following changes required in UI dashboards based on UX designs mentioned at
https://redhat.invisionapp.com/share/8QCOEVEY9

** Add an option namely `Unmanage` under kebab menu for each successfully
imported and managed cluster

** Add a dialog box which opens up on click event of `Unmanage` option from
kebab menu of the cluster. This dialog box is for confirmation from user to
start un-manage flow for the cluster

===== Workflow

* User clicks the `Unmanage` option from the kebab menu for a managed cluster

* The clikc event triggers a dialog box with appropriate message. A sample
message is available at
https://redhat.invisionapp.com/share/8QCOEVEY9#/screens/273239640

* There are 3 possible actions on this dialog

** `Close` icon to close the dialog and no action performed for un-managing the
cluster. User would be directed back to clusters list page

** `Cancel` button to close the dialog and no action performed for un-managing the
cluster. User would be directed back to clusters list page

** `Unmanage` button to start the un-manage cluster task in backend. A message
with task details gets displayed on dialog box. Sample message available at
https://redhat.invisionapp.com/share/8QCOEVEY9#/screens/273239844

** This final message after submission of the task for un-managing cluster would
also provide a button to view the task details. A button `View Task Progress` is
available for the same. User can opt to close this dialog and later user context
menus to check the task updates

** Once a cluster is being moved to un-managed state, the changes in properties
listed for cluster are as below

*** `Import Status` changed to `Unmanaging`

*** `Is Managed` changed to `no`

*** The columns `Volume Profiling`, `Volumes` and `Alerts` would be hidden

*** `View Details` link would be available to check the task details

*** `Dashboard` button would be disabled

*** Kebab menu for the un-managed cluster would be hidden

** Once the un-manage cluster task gets complted a global notification gets
received

** If task was successful, the state of the cluster would be changed to ready to
import

If task failed due to some issues, the cluster details would listed as below in

*** `Import Status` changed to `Unmanage failed`

*** `Is managed` changed to `no`

*** The columns `Volume Profiling`, `Volumes` and `Alerts` would be hidden

*** `View Details` link would be available to check the errors

*** `Dashboard` button would be disabled

*** Kebab menu for the un-managed cluster would be hidden


=== Security impact:

Expand Down Expand Up @@ -167,6 +235,7 @@ None
Primary assignee:
shtripat
mbukatov
a2batic

=== Work Items:

Expand Down Expand Up @@ -224,3 +293,7 @@ clearly mentioned in documents
* https://github.com/Tendrl/commons/pull/798

* https://github.com/Tendrl/monitoring-integration/pull/317

* https://github.com/Tendrl/ui/issues/801

* https://github.com/Tendrl/api/issues/349

0 comments on commit 241d52c

Please sign in to comment.