Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-17Merge branch 'diff-scroll-point' into 'master' Jacob Schatz
Fixed issue when opening a highlighted line diff ## What does this MR do? With the new project nav being fixed, the diff page is scrolling the highlighted under the nav meaning you cant see what is highlighted. This corrects that by added the height of the new project nav into the offset. See merge request !4597
2016-05-18Clicking changes tab scrolls the window to show the contentPhil Hughes
Closes #15133
2016-04-20Fixed issue when scrolling to element and there is an expanderPhil Hughes
2016-04-20Fixed issue with incorrect line being highlighted if line is in discussion viewPhil Hughes
2016-04-18Fixed issue with spinner not hiding on diff changesPhil Hughes
2016-04-14Fixed issue with other links being clicked in diffsPhil Hughes
2016-04-14Correctly scrolls to the line when clickingPhil Hughes
2016-04-14Diff viewer links to correct part of the filePhil Hughes
Added highlight colours to diff rows Closes #13852
2016-04-12Merge branch 'master' into issue_14206Alfredo Sumaran
2016-04-12Rename method and initialize .timeago insideAlfredo Sumaran
2016-04-11Use existence operator insteadAlfredo Sumaran
2016-04-11Check existence of variable methodAlfredo Sumaran
This happens because tab's `shown` event is triggered first if we enter directly to the diff page therefore Breakpoints class is not initialized yet.
2016-04-11Ignore toggling sidebar for above 1200px resolutionAlfredo Sumaran
2016-04-07Update datetime in .timeago elementsAlfredo Sumaran
This should be done before .timeago() is called on the element
2016-03-18Expand the issuable sidebar when coming back from the Changes tabRobert Speicher
Unless the user explicitly requested the collapsed sidebar.
2016-03-10Fixes issue with issue sidebar toggle button not workingPhil Hughes
Closes #14195
2016-03-04Only save right sidebar position cookie if user did the collapsing.Jacob Schatz
2016-02-29Apply nice date when diff page loadsAlfredo Sumaran
2016-02-24Wait until listeners are set before triggering a 'click' eventAlfredo Sumaran
2016-02-24Move script inside of MergeRequestTabs classAlfredo Sumaran
2016-02-20Update button selectorAlfredo Sumaran
2016-02-20Change method name for consistencyAlfredo Sumaran
2016-02-20Make diff view name getter less error proneAlfredo Sumaran
2016-02-19Add commentAlfredo Sumaran
2016-02-19Expand view container if diff mode is set to paralellsAlfredo Sumaran
2016-01-13Replace nav-tabs with nav-linksDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-12-10Make selectors more specific when scroll to elementDouglas Barbosa Alexandre
2015-12-10Make selectors more specific when setting the tab contentDouglas Barbosa Alexandre
Reason: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2023
2015-12-10USe innerHtml to avoid slow performance on a MR with very large diffDouglas Barbosa Alexandre
2015-12-09Ensure existing notes are highlighted properly on a merge request diffDouglas Barbosa Alexandre
2015-12-09Move Builds tab to the endDouwe Maan
2015-12-08Add Builds tab to MR detail pageDouwe Maan
2015-10-14Prevent a JS error in MergeRequestTabsRobert Speicher
When `window.location.hash` is pointing to a note, e.g. `#note_1234`, `scrollToElement` would throw an error because a selector such as `.commits #note_1234` doesn't exist, so `offset()` returned `undefined`. This error would prevent subsequent calls from running, which caused the loading spinner to never be hidden. Now we ensure the selector returns a valid element before trying to scroll to it.
2015-10-09Make the loading spinner toggle more explicitRobert Speicher
Occasionally the loading spinner would stay visible after the tab finished loading. This change makes the toggle explicit so that it's always shown on `beforeSend`, and always hidden on `complete`. Plus a bonus semi-colon eradication! :boom:
2015-10-05Fix anchors to comments in diffsValery Sizov
2015-07-23Fix the "Reload with full diff" URL buttonStan Hu
On the first load, the merge request tabs would be requested in JSON format to render the HTML. This would cause the "Reload with full diff" button to create a link to diff.json. Closes #2041
2015-07-06Remove sticky-diff functionalityDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26Trigger sticky_kit:recalc when diffs are pre-loadedRobert Speicher
2015-06-26Reorder MergeRequestTabs constructorRobert Speicher
The tab was being activated before we set the `[commits|diffs]Loaded` variable, so even when the `/diffs` route is accessed directly, like from the "Side-by-side" link, the tab was being loaded from its default source. Fixes #1887
2015-06-22Add MergeRequestTabs specsRobert Speicher
2015-06-22Minor style fixes in MergeRequestTabsRobert Speicher
2015-06-17Extract MergeRequest tab behavior to its own JS classRobert Speicher