Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent the user from firing device removal multiple times #2629

Closed
darkdh opened this issue Dec 18, 2018 · 3 comments · Fixed by brave/brave-core#1193
Closed

prevent the user from firing device removal multiple times #2629

darkdh opened this issue Dec 18, 2018 · 3 comments · Fixed by brave/brave-core#1193

Comments

@darkdh
Copy link
Member

darkdh commented Dec 18, 2018

Test plan

See brave/brave-core#1193

Description

#2527 (comment)
#2527 (comment)

we need to prevent user from clicking remove multiple times(sending duplicated delete record) while delete record is sending under the hood. we also need to dismiss the remove modal when user click "Remove"

Test Plan:

  1. have 3 devices in a sync chain
  2. once devices are loaded, remove one device by clicking the X button
  3. confirm removal
  4. all buttons should be disabled
  5. a loading spinner should show while the operation is running
  6. modal should self-close once operation is completed
@cezaraugusto
Copy link
Contributor

cc @rossmoody

@bbondy bbondy moved this from Untriaged backlog to P3, P4 & P5 backlog in Sync Dec 20, 2018
@bbondy bbondy added the priority/P3 The next thing for us to work on. It'll ride the trains. label Dec 20, 2018
@bbondy bbondy modified the milestones: 0.59.x - Beta, 1.x Backlog Dec 20, 2018
@rossmoody
Copy link
Contributor

The most up to date design spec for Sync can be found right here.

@cezaraugusto cezaraugusto changed the title Remove device modal refinement prevent user from firing device removal multiple times Jan 2, 2019
@cezaraugusto cezaraugusto changed the title prevent user from firing device removal multiple times prevent the user from firing device removal multiple times Jan 2, 2019
@cezaraugusto cezaraugusto added QA/Yes and removed QA/No labels Jan 2, 2019
Sync automation moved this from P3, P4 & P5 backlog to Completed Jan 4, 2019
@cezaraugusto cezaraugusto modified the milestones: 1.x Backlog, 0.61.x - Nightly Jan 4, 2019
@srirambv
Copy link
Contributor

srirambv commented Jan 8, 2019

Verification passed on

Brave 0.59.20 Chromium: 72.0.3626.28 (Official Build) beta(64-bit)
Revision 997b1040b63bac324e815797ba52be0cd8f616ed-refs/branch-heads/3626@{#461}
OS Linux

screenshot from 2019-01-08 13-00-28

Verification passed on

Brave 0.59.20 Chromium: 72.0.3626.28 (Official Build) beta (64-bit)
Revision 997b1040b63bac324e815797ba52be0cd8f616ed-refs/branch-heads/3626@{#461}
OS Windows

image

Verified passed with

Brave 0.59.20 Chromium: 72.0.3626.28 (Official Build) beta(64-bit)
Revision 997b1040b63bac324e815797ba52be0cd8f616ed-refs/branch-heads/3626@{#461}
OS Mac OS X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants