-
Notifications
You must be signed in to change notification settings - Fork 65
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1020 +/- ##
=======================================
Coverage 100% 100%
=======================================
Files 313 317 +4
Lines 5777 5976 +199
Branches 728 759 +31
=======================================
+ Hits 5777 5976 +199
Continue to review full report at Codecov.
|
Hey @Blackbaud-SteveBrush... just some initial feedback.
Code-wise, nothing stood out to me, but I didn't look at it in great detail yet. |
… into component-tooltip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am making some style tweaks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a few small things.
import { SkyVisualTest } from '../../../config/utils/visual-test-commands'; | ||
|
||
import { | ||
// browser, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is a comment you may have forgotten to delete.
@@ -0,0 +1,39 @@ | |||
.popover-demo-container { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of the other demo components use inline styles. I'm not sure why that was originally, but should we add this scss file as one of the demo files that shows up in the documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first I didn't include the stylesheet because I didn't think it was relevant to the demo, but I suppose I should include it just to be consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure the stylesheet should be included or not. I was just calling it out because it was different from the other documentation components. I might lean towards including it, but I'm not sold either way.
@@ -84,6 +86,7 @@ import { SkyWaitModule } from './modules/wait'; | |||
SkyNavbarModule, | |||
SkyPageSummaryModule, | |||
SkyPagingModule, | |||
SkyPopoverModule, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to export the popover directive down below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch.
@@ -0,0 +1 @@ | |||
export type SkyPopoverPlacement = 'above' | 'below' | 'right' | 'left'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh cool I didn't know typescript had discriminated unions.
added rounded corners and standardized font & spacing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made some style tweaks if you want to double check them.
One potential concern is how to dismiss a popover on mobile if the content fills the screen and there is not enough empty space to tap to close.
@Blackbaud-SteveBrush I added a variable for border radius, which will need to be applied to some other components. Should I include those other updates here or in a separate PR after this is merged? |
Addresses #167