Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Add tiledBody option to modal component. #1039

Merged
merged 26 commits into from
Sep 15, 2017

Conversation

Blackbaud-TomRamsey
Copy link
Contributor

Issue #1038

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: cf7e129
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/270824812

(Please note that this is a fully automated comment.)

@codecov-io
Copy link

codecov-io commented Sep 1, 2017

Codecov Report

Merging #1039 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1039   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files         317     317           
  Lines        5976    5980    +4     
  Branches      759     759           
======================================
+ Hits         5976    5980    +4
Impacted Files Coverage Δ
src/modules/modal/modal-configuration.ts 100% <ø> (ø) ⬆️
src/modules/modal/modal.component.ts 100% <100%> (ø) ⬆️
src/modules/modal/modal.service.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b903dc...788fede. Read the comment docs.

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: efa00e8
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/270838342

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 51aac99
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/270945022

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: e9550bf
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/272095810

(Please note that this is a fully automated comment.)

Fixed typo of SkyModalConfigurationInterface and exporting in default…
Copy link
Contributor

@Blackbaud-ToddRoberts Blackbaud-ToddRoberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from the UX side

Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd feel better if we also had a visual test to represent the tiled body.

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: bae5229
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/272984624

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 50bed43
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/272984649

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 7aab722
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/272984999

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: bddaa91
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/273272496

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 4e2b86c
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/273365218

(Please note that this is a fully automated comment.)

export class ModalTiledDemoComponent implements OnInit {
public title = 'Hello world';

public ngOnInit() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to include ngOnInit for the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Blackbaud-SteveBrush I was just mirroring the other tests -do you want me to remove it from all of the modal tests?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, you're right. Don't worry about it, we can clean these up in a different PR.

@@ -0,0 +1,26 @@
<sky-modal [tiledBody]=true>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[tiledBody]="true"

defaultValue="false"
isOptional="true"
>
When set to true, the modal will be styled for use with sky-tile sections.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blackbaud-johnly: Got any feedback on the docs portion?

Copy link
Contributor

@blackbaud-johnly blackbaud-johnly Sep 13, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd reword this to be consistent with other descriptions for Boolean properties: "Indicates whether to style the modal for use with sky-tile sections." Or more simply, "Indicates whether the modal uses tiles." (Formatting "sky-style" as a code snippet, and doing the same with "true" if we don't reword this.)

Also, I think it would be useful to flesh this out. Based on the description in the issue this addresses (#1038), I'd suggest a second sentence like: "When set to true, the modal's background switches to $sky-background-color-neutral-light, and tile headings are styled as subsection headings."

@@ -0,0 +1,32 @@
<sky-modal [tiledBody]=true>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[tiledBody]="true"

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 37eed29
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/274737559

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 56cdba7
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/274759750

(Please note that this is a fully automated comment.)

@Blackbaud-SteveBrush Blackbaud-SteveBrush dismissed their stale review September 13, 2017 14:36

Visual test looks good. Waiting for @blackbaud-johnly review.

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 047d745
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275063469

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 317675f
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275074412

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: b0e0e34
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275100996

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 8de4041
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275109390

(Please note that this is a fully automated comment.)

<button type="button" class="sky-btn sky-btn-secondary" (click)="openModal('fullScreenModal')">
Open Full Screen modal
<button type="button" class="sky-btn sky-btn-primary" (click)="openModal('fullScreenModal')">
Open full screen modal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"full-screen" should be hyphenated

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 0d069cf
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275160881

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 0b548f6
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275176892

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 0fae2cd
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275210476

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 00f555d
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275551816

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 4ae5422
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/275613102

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 788fede
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/276018401

(Please note that this is a fully automated comment.)

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit e8b41a0 into blackbaud:master Sep 15, 2017
@Blackbaud-TomRamsey Blackbaud-TomRamsey deleted the modal-tiled branch September 29, 2017 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants