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

feat(BreadcrumbSwitcher): creating a BreadcrumbSwitcher component #1109

Merged
merged 1 commit into from
Mar 29, 2019

Conversation

glekner
Copy link
Contributor

@glekner glekner commented Dec 30, 2018

What:
creating a BreadcrumbSwitcher component
screenshot 2018-12-30 15 59 30

Additional issues:

@patternfly-build
Copy link
Contributor

patternfly-build commented Dec 30, 2018

Deploy preview for patternfly-react-gone ready!

Built with commit e4e1b9f

https://deploy-preview-1109--patternfly-react-gone.netlify.com

@patternfly-build
Copy link
Contributor

PatternFly-React preview: https://1109-pr-patternfly-react-patternfly.surge.sh

@coveralls
Copy link

coveralls commented Dec 30, 2018

Pull Request Test Coverage Report for Build 4230

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 80.196%

Totals Coverage Status
Change from base Build 4223: 0.0%
Covered Lines: 4624
Relevant Lines: 5416

💛 - Coveralls

dlabaj
dlabaj previously approved these changes Jan 3, 2019
@glekner
Copy link
Contributor Author

glekner commented Jan 6, 2019

@jeff-phillips-18 notice new dependencies.

@ohadlevy
Copy link
Member

bump? :)

@jeff-phillips-18
Copy link
Member

@patternfly/patternfly-react-ux

Copy link
Member

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

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

@glekner can you explain what the arrow buttons are for here?

@serenamarie125
Copy link
Member

serenamarie125 commented Jan 17, 2019

@glekner can you address a few visual issues here?

  1. colors used for hover and selected states seem to be reversed
  2. the filter component should be wider - the left side of the filter component should be left aligned with the menu items
  3. the left/right margins should match. right now, the long items bleeds into the margin

here's a screenshot of the design: screen shot 2019-01-17 at 3 15 52 pm

@serenamarie125
Copy link
Member

i think the reference to where this came from should be removed from the storybook, thoughts on that @jeff-phillips-18 ?
screen shot 2019-01-17 at 3 15 33 pm

@serenamarie125
Copy link
Member

One more thing - our PF design doesn't have the "X" in it, although i think that's super helpful. Should it be selectable and enabled when nothing is in the text field ? Thoughts @maryclarke @lizsurette @Rohoover

@Rohoover
Copy link
Member

Agreed - keep the "x". @serenamarie125

@glekner glekner force-pushed the feature-bc-switcher branch 3 times, most recently from 14d9e15 to c291f04 Compare January 31, 2019 13:25
@glekner
Copy link
Contributor Author

glekner commented Jan 31, 2019

  • Pagination is now optional
  • Filter component is wider, long text won't overlap icons anymore
  • Fixed margins

@serenamarie125 about the selected states, I believe once an option is selected the popover automatically closes and the user won't even see the colors. The hover colors are matching your screen shot?

@codecov-io
Copy link

codecov-io commented Mar 12, 2019

Codecov Report

Merging #1109 into master will increase coverage by 0.03%.
The diff coverage is 87.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1109      +/-   ##
==========================================
+ Coverage   82.89%   82.92%   +0.03%     
==========================================
  Files         573      579       +6     
  Lines        6249     6296      +47     
  Branches       75       75              
==========================================
+ Hits         5180     5221      +41     
- Misses       1039     1045       +6     
  Partials       30       30
Flag Coverage Δ
#patternfly3 84.78% <87.23%> (+0.03%) ⬆️
#patternfly4 79.58% <ø> (ø) ⬆️
#patternflymisc 95.68% <ø> (ø) ⬆️
Impacted Files Coverage Δ
.../BreadcrumbSwitcher/BreadcrumbSwitcher.fixtures.js 100% <100%> (ø)
...dcrumbSwitcher/components/BreadcrumbSearchInput.js 100% <100%> (ø)
...nts/BreadcrumbSwitcher/BreadcrumbSwitcherHelper.js 100% <100%> (ø)
...mbSwitcher/components/BreadcrumbSwitcherToggler.js 100% <100%> (ø)
...omponents/BreadcrumbSwitcher/BreadcrumbSwitcher.js 72.72% <72.72%> (ø)
...mbSwitcher/components/BreadcrumbSwitcherPopover.js 83.33% <83.33%> (ø)
... and 2 more

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 a466069...d96a867. Read the comment docs.

@glekner glekner force-pushed the feature-bc-switcher branch 2 times, most recently from 514b75f to 784b098 Compare March 12, 2019 09:44
@glekner glekner force-pushed the feature-bc-switcher branch 2 times, most recently from c1b8f09 to 7d0f871 Compare March 14, 2019 14:00
serenamarie125
serenamarie125 previously approved these changes Mar 15, 2019
Copy link
Member

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

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

thanks for your contribution @glekner !

@glekner
Copy link
Contributor Author

glekner commented Mar 17, 2019

@jeff-phillips-18 @serenamarie125 added functionality test, I guess this pr is ready :)

@jeff-phillips-18
Copy link
Member

@dlabaj Can you take another look?

@jeff-phillips-18
Copy link
Member

@glekner Could you rebase please? I believe that should fix the test failure.

@glekner
Copy link
Contributor Author

glekner commented Mar 21, 2019

@jeff-phillips-18 rebased

@jeff-phillips-18
Copy link
Member

@dlabaj @dgutride Can someone take a look please?

@glekner
Copy link
Contributor Author

glekner commented Mar 24, 2019

@dlabaj
Copy link
Contributor

dlabaj commented Mar 29, 2019

LGTM

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

Successfully merging this pull request may close these issues.

10 participants