summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/right_sidebar.js
Commit message (Collapse)AuthorAgeFilesLines
* Exported JS classes as modulesph-even-more-es-modulesPhil Hughes2017-12-151-218/+220
|
* Rename page-with-sidebar to layout-pagenew-nav-tech-debtAnnabel Dunstone Gray2017-12-081-4/+4
|
* Backport changes from refactor sidebar weight block Vue and move to Issue Boardsce-1379-update-sidebar-weight-to-vue-and-add-to-boardsEric Eastwood2017-12-041-3/+3
| | | | See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3566
* Only trigger loadCheck on open toggle, not close. Update specs and add ↵Luke "Jared" Bennett2017-09-281-20/+23
| | | | right_sidebar_spec test for additions
* Conditionally call loadCheck if lazyLoader is presentLuke "Jared" Bennett2017-09-281-2/+1
|
* Trigger load of lazy images when opening sidebar, or clicking 'more ↵Luke "Jared" Bennett2017-09-281-1/+3
| | | | participants'
* Clean up new navigation templatesPhil Hughes2017-09-061-2/+0
|
* Move "Move to different project" to sidebar34261-move-move-to-sidebarEric Eastwood2017-09-031-2/+7
| | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/34261
* Resolve "Specific Async Script Loading by using a Page Variable"Tim Zallmann2017-08-031-0/+1
|
* Make setSidebarHeight more efficient with SidebarHeightManager.set-sidebar-heightBryce Johnson2017-06-301-22/+3
|
* Fix scroll flicker34407-flickering-scroll-v1Eric Eastwood2017-06-281-3/+5
| | | | | | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/34407 - Revert https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12399 - Update https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12299 throttle/debounce to happen immediately and cleanup
* Remove layout nav from scroll calculationfix-sidebar-scroll-jumpAnnabel Dunstone Gray2017-06-221-3/+1
|
* Fixes scrolling + improves Performance through assigning found $ elements to ↵Tim Zallmann2017-06-201-6/+15
| | | | variables
* remove bind polyfill from right_sidebar.jsMike Greiling2017-05-081-3/+1
|
* Merge branch '30063-builds-sidebar-stutter' into 'master' Filipa Lacerda2017-03-301-1/+1
|\ | | | | | | | | | | | | Add subnav height to sidebar scroll calculation Closes #30063 See merge request !10262
| * Add subnav height to sidebar scroll calculationAnnabel Dunstone Gray2017-03-281-1/+1
| |
* | Added specs for collapsed sidebarPhil Hughes2017-03-271-9/+9
| |
* | Updated todos sidebar iconPhil Hughes2017-03-241-19/+30
| | | | | | | | | | Refactored slightly so that the same logic is shared between both the expanded & the collapsed.
* | adds todo functionality to closed issuable sidebar and changes todo bell ↵dimitrieh2017-03-241-2/+2
|/ | | | icon to check-square
* Switch to check scrollTop of windowAnnabel Dunstone Gray2017-03-231-1/+1
|
* remove Cookies class from global spaceMike Greiling2017-03-221-1/+2
|
* replace implicit this == window with explicit bindingMike Greiling2017-02-171-1/+1
|
* Cache js selectors; fix css26200-convert-sidebar-to-dropdownAnnabel Dunstone Gray2017-02-161-5/+9
|
* Move necessary sidebar code to right_sidebar.js; delete sidebar.jsAnnabel Dunstone Gray2017-02-151-0/+12
|
* resolve all x-spacing and no-spaced-x eslint violationsMike Greiling2017-01-181-2/+2
|
* resolve all padded-blocks eslint violationsMike Greiling2017-01-181-3/+1
|
* resolve all semi and no-extra-semi eslint violationsMike Greiling2017-01-181-2/+2
|
* resolve all instances of no-undef eslint rule violationsclean-no-undefMike Greiling2016-12-141-1/+3
|
* explicitly disable eslint inlineexplicitly-disable-eslint-inlineLuke "Jared" Bennett2016-11-151-1/+1
|
* Merge branch 'add-todo-toggle-event' into 'master' remove-tooltip-text-truncation-from-pipeline-graph-build-node-tooltipsFatih Acet2016-10-271-8/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add todo toggle event ## What does this MR do? Adds a custom jQuery event `todo:toggle` to detect when a new todo is added so that the respective todo counters (header navigation and sidebar) can update as needed ## Are there points in the code the reviewer needs to double check? * I wasn't sure whether each `spec` should be modularized based on the html templates or whether they should be separated based on function. There are some crossovers between the `dashboard_spec` and the `header_spec`. * The naming conventions for `sidebar` and `right_sidebar` were a little confusing since they were named the opposite in their `specs`. I made a few assumptions and named a few files based on what I thought they should be named. I'd be happy to change it to something else though :smile: ## Why was this MR needed? This resolves an existing issue where the todo count on the sidebar would not update (until refresh) and refactors the existing methods that are used to update the todo counters (header navigation and sidebar) ## What are the relevant issue numbers? Closes #20140 ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [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) See merge request !5724
| * Add todo toggle eventClement Ho2016-10-261-8/+3
| |
* | Merge branch 'eslint' into 'master' Fatih Acet2016-10-261-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ESLint ## What does this MR do? - create `package.json` - add ESLint dependencies to `package.json` - add JavaScript linting to CI - add Rake task `lint:javascript`as alias for `eslint` (which itself is an alias for `npm run eslint`) ## Are there points in the code the reviewer needs to double check? Probably not. ## Why was this MR needed? My hovercraft was full of eels. ## What are the relevant issue numbers? - https://gitlab.com/gitlab-org/gitlab-ce/issues/13224#note_12537431 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5006#note_13255658 See merge request !5445
| * | disable ESLint for all JavaScript fileswinniehell2016-10-261-0/+1
| | |
* | | Merge branch 'master' into issue-board-sidebarissue-board-sidebarPhil Hughes2016-10-261-3/+1
|\ \ \ | |/ /
| * | remove manual Cookie.set "path" option in favor of global settingMike Greiling2016-10-241-3/+1
| | |
| * | replace jquery.cookie vendor script with js.cookieMike Greiling2016-10-241-1/+1
| |/
* | Show clicked issue data in the sidebarPhil Hughes2016-10-071-1/+10
|/
* use gitlab global root url as canonical base url for all javascript set ↵Mike Greiling2016-08-241-1/+1
| | | | cookies (closes #20435)
* ES6ify all the things!Fatih Acet2016-07-241-0/+201