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

Framework: Create new <SitesDropdown> component. #379

Merged
merged 10 commits into from
Dec 14, 2015
Merged

Commits on Dec 14, 2015

  1. Create new <SitesDropdown> component.

    This should replace all usages of "me/select-site" and
    standardize all site selection with our core picker patterns.
    mtias committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d6d84de View commit details
    Browse the repository at this point in the history
  2. Update SiteSelector to allow non link actions on selection.

    Pass site slug onSiteSelect as the prop callback.
    mtias committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    0440da8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f713ade View commit details
    Browse the repository at this point in the history
  4. Site Selector: significant styles refactor.

    - Move all basic styles to site-selector.
    - Move all the sidebar specific styling under the sidebar namespace.
    - Clean up resets in sites-popover.
    mtias committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    53d9646 View commit details
    Browse the repository at this point in the history
  5. Sites: allow not showing the current selected site.

    - Add a "hideSelected" prop that allows hiding the selected site from the list.
    - If not set, the site is shown and highlighted.
    mtias committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    57cf9fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53a8a73 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5be7f09 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bc46a72 View commit details
    Browse the repository at this point in the history
  9. Make dropdown open overflowing content below.

    Animate chevron icon when opening.
    
    Disable site-indicator in dropdown header.
    mtias committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e087e15 View commit details
    Browse the repository at this point in the history
  10. SitesDropdown: support onSiteSelect prop.

    props @ockham.
    
    Avoid redundand getPrimary() call.
    mtias committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    888e7f6 View commit details
    Browse the repository at this point in the history