1. 03 Oct, 2016 24 commits
  2. 02 Oct, 2016 9 commits
  3. 01 Oct, 2016 7 commits
    • Luke Howell's avatar
      Fix page scrolling to top on sidebar toggle · cdf44d9f
      Luke Howell authored
      Added preventDefault for toggling sidebar off as well as for pinning
      and unpinning the sidebar.
      
      Closes #22851
      cdf44d9f
    • Annabel Dunstone Gray's avatar
      Merge branch 'AshleyDumaine/gitlab-ce-22494-wide-custom-header-logos-arent-centered' into 'master' · 1fed9753
      Annabel Dunstone Gray authored
      Center the header logo
      
      _Originally opened at !6507 by @AshleyDumaine._
      
      - - -
      
      ## What does this MR do?
      
      * Centers the header logo using `relative` positioning on the svg or img in the header-logo
      
      ## Are there points in the code the reviewer needs to double check?
      
      ## Why was this MR needed?
      
      The custom wide header logos aren't centered after logging in as seen in #22494
      
      ## Screenshots (if relevant)
      
      | Before | After |
      | --------- | ------ |
      | ![Screen_Shot_2016-09-24_at_3.35.26_PM](/uploads/576db77e0eb299b06d2a5abf341f058f/Screen_Shot_2016-09-24_at_3.35.26_PM.png) | ![Screen_Shot_2016-09-24_at_3.35.51_PM](/uploads/47237b6c28d438a6f255dffb8b3d39d4/Screen_Shot_2016-09-24_at_3.35.51_PM.png) |
      
      Signout (for centering comparison):
      ![Screen_Shot_2016-09-24_at_3.35.59_PM](/uploads/4484313ff5841774769c4737584af7fc/Screen_Shot_2016-09-24_at_3.35.59_PM.png)
      
      ## Does this MR meet the acceptance criteria?
      
      - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
      - Tests
        - [x] All builds are passing
      - [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
      - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
      - [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
      - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
      
      ## What are the relevant issue numbers?
      
      Closes #22494
      
      See merge request !6610
      1fed9753
    • Jacob Schatz's avatar
      Merge branch 'fix-calendar-spec' into 'master' · 0088420a
      Jacob Schatz authored
      Changed zero padded days to no padded days in date_format
      
      ## What does this MR do?
      Changed zero padded days to no padded days in date_format so that calendar spec tests will pass.
      
      Specs were failing because it was looking for `Saturday Oct 01, 2016` when it should have been looking for `Saturday Oct 1, 2016`
      
      ## Are there points in the code the reviewer needs to double check?
      None
      
      ## Why was this MR needed?
      Fixes failing test
      
      ## Screenshots (if relevant)
      None
      
      ## Does this MR meet the acceptance criteria?
      
      - Tests
        - [x] All builds are passing
      - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
      - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
      - [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
      - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
      
      ## What are the relevant issue numbers?
      Closes #22861
      
      See merge request !6634
      0088420a
    • Clement Ho's avatar
      89e66312
    • Fatih Acet's avatar
      Merge branch '22221-tags-are-not-available-from-repository-compare-view' into 'master' · 60b92c55
      Fatih Acet authored
      Changed compare dropdowns to dropdowns with search input
      
      ## What does this MR do?
      
      This changes the compare dropdowns from text inputs, that when clicked, open a dropdown of branches/tags to dropdowns that have a dropdown toggle and an isolated search input.
      
      ## Are there points in the code the reviewer needs to double check?
      
      ## Why was this MR needed?
      
      This was needed to fix the poor UX highlighted in #22221, where opening the dropdown showed an initially filtered set of results because the dropdown toggle was the dropdown filter itself. The compare page is always loaded with `master` as each branch/tag selection, so when opening the dropdown, it would only show results matching `master`.
      
      ## Screenshots (if relevant)
      
      ![2016-09-27_18.28.10](/uploads/0ea1d91cb592c6e140ed62c336e77227/2016-09-27_18.28.10.gif)
      
      ## Does this MR meet the acceptance criteria?
      
      - [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
      - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
      - [ ] API support added
      - Tests
        - [ ] Added for this feature/bug
        - [ ] All builds are passing
      - [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
      - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
      - [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
      - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
      
      ## What are the relevant issue numbers?
      
      
      Closes #22221
      
      See merge request !6550
      60b92c55
    • Fatih Acet's avatar
      Merge branch 'create-mr-banner' into 'master' · fc90db7c
      Fatih Acet authored
      MR banner & flash notices updates
      
      ### What does this MR do?
      * Moves the create MR banner below subnav
      * Changes MR banner background to white
      * Moves flash notices underneath subnav
      * Adds container within flash notices to align with content
      
      Closes #22767 
      ### Why was this MR needed?
      It looked a bit out of place between the two navs & had unneeded spacing.
      
      ### Screenshots (if relevant)
      Before:   
      <img src="/uploads/c1676a1923893a7ba7e1c6d6a50d4ea6/Screen_Shot_2016-09-09_at_7.17.31_PM.png" width="800px">
      After:   
      <img src="/uploads/74a2d6c8c43b9a15cd535a2a7adb2685/Screen_Shot_2016-09-28_at_3.41.29_PM.png" width="800px">
      
      Before:   
      <img src="/uploads/285e3de31326c48de43bb48abd4d907c/Screen_Shot_2016-09-29_at_10.57.55_AM.png" width="800px">
      After:    
      <img src="/uploads/0877e3e45755e5ca36694c52ad2e6198/Screen_Shot_2016-09-29_at_10.56.04_AM.png" width="800px">
      
      With both alert and broadcast message:
      ![Screen_Shot_2016-09-29_at_11.06.51_AM](/uploads/ba3963a73b5c82940533c369ec54ec50/Screen_Shot_2016-09-29_at_11.06.51_AM.png)
      
      
      See merge request !6581
      fc90db7c
    • Jacob Schatz's avatar
      Merge branch 'cs-frontend-guidelines' into 'master' · df100ca2
      Jacob Schatz authored
      Add Frontend Development Guidelines to the Developer Documentation
      
      ## What does this MR do?
      
      WIP incomplete draft of some Frontend Development Guidelines for contributors to the project, new hires, and for other projects and persons to look to for guidance.
      
      These are all subject to removal, modification, etc. If you disagree with any of these, please feel free to voice your concerns :)
      
      ## Why was this MR needed?
      
      There are a number of guidelines we currently follow implicitly, this makes them more official and available for reference/discussion.
      
      It also exists as a reference for certain patterns we use which may be unfamiliar to new contributors, e.g. the per-page JS.
      
      Feel free to give feedback on wording, missing sections/guidelines, whether a guideline should even exist, etc.
      
      See merge request !5477
      df100ca2