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

[5.x] Introduce custom modal confirmation dialogs #9958

Merged
merged 1 commit into from Jan 19, 2017

Conversation

elastic-jasper
Copy link
Contributor

Introduce custom modal confirmation dialogs

Backports PR #9859

Commit 1:
Introduce custom modal confirmation dialogs

Commit 2:
address code review comments

and implement new angular style suggestions from Joe

Commit 3:
refactor

no point making vanilla code that's really only going to work with angular i guess...

also broke apart the confirm modal from the injector, and made safeConfirm just use the confirm modal

Commit 4:
Clean up from merge

  • Move safe_confirm into modals folder
  • make data-test-subj camelCase.
  • get rid of $timeout call, doesn’t seem necessary anymore, now that
    window.confirm is not being used.

Commit 5:
Fix tests

Commit 6:
Use ui-framework styles

Commit 7:
Address latest round of comments and remove adoption of new patterns.

Commit 8:
Improve error message. Use sinon in tests.

Commit 9:
Focus on the confirm button by default

Commit 10:
Indent message

Backports PR #9859

**Commit 1:**
Introduce custom modal confirmation dialogs

* Original sha: 6b727df
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-13T15:56:44Z

**Commit 2:**
address code review comments

and implement new angular style suggestions from Joe

* Original sha: 5ca36df
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-13T22:12:44Z

**Commit 3:**
refactor

no point making vanilla code that's really only going to work with angular i guess...

also broke apart the confirm modal from the injector, and made safeConfirm just use the confirm modal

* Original sha: ce783b2
* Authored by Joe Fleming <joe.fleming@gmail.com> on 2017-01-14T01:09:52Z
* Committed by Stacey Gammon <gammon@elastic.co> on 2017-01-17T14:30:21Z

**Commit 4:**
Clean up from merge

 - Move safe_confirm into modals folder
 - make data-test-subj camelCase.
 - get rid of $timeout call, doesn’t seem necessary anymore, now that
window.confirm is not being used.

* Original sha: c91fbc6
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-16T15:00:14Z

**Commit 5:**
Fix tests

* Original sha: e581374
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-16T15:42:41Z

**Commit 6:**
Use ui-framework styles

* Original sha: d1e2b12
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-17T15:22:52Z

**Commit 7:**
Address latest round of comments and remove adoption of new patterns.

* Original sha: 0b690f1
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-17T20:00:52Z

**Commit 8:**
Improve error message. Use sinon in tests.

* Original sha: 92f815d
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-17T20:07:22Z

**Commit 9:**
Focus on the confirm button by default

* Original sha: 27be4df
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-18T14:17:44Z

**Commit 10:**
Indent message

* Original sha: 3dc6c93
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-18T22:04:49Z
@stacey-gammon stacey-gammon merged commit 09a20f5 into 5.x Jan 19, 2017
@stacey-gammon stacey-gammon deleted the jasper/backport/9859/5.x branch January 19, 2017 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants