Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-17 | Merge 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-18 | Clicking changes tab scrolls the window to show the content | Phil Hughes | |
Closes #15133 | |||
2016-04-20 | Fixed issue when scrolling to element and there is an expander | Phil Hughes | |
2016-04-20 | Fixed issue with incorrect line being highlighted if line is in discussion view | Phil Hughes | |
2016-04-18 | Fixed issue with spinner not hiding on diff changes | Phil Hughes | |
2016-04-14 | Fixed issue with other links being clicked in diffs | Phil Hughes | |
2016-04-14 | Correctly scrolls to the line when clicking | Phil Hughes | |
2016-04-14 | Diff viewer links to correct part of the file | Phil Hughes | |
Added highlight colours to diff rows Closes #13852 | |||
2016-04-12 | Merge branch 'master' into issue_14206 | Alfredo Sumaran | |
2016-04-12 | Rename method and initialize .timeago inside | Alfredo Sumaran | |
2016-04-11 | Use existence operator instead | Alfredo Sumaran | |
2016-04-11 | Check existence of variable method | Alfredo 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-11 | Ignore toggling sidebar for above 1200px resolution | Alfredo Sumaran | |
2016-04-07 | Update datetime in .timeago elements | Alfredo Sumaran | |
This should be done before .timeago() is called on the element | |||
2016-03-18 | Expand the issuable sidebar when coming back from the Changes tab | Robert Speicher | |
Unless the user explicitly requested the collapsed sidebar. | |||
2016-03-10 | Fixes issue with issue sidebar toggle button not working | Phil Hughes | |
Closes #14195 | |||
2016-03-04 | Only save right sidebar position cookie if user did the collapsing. | Jacob Schatz | |
2016-02-29 | Apply nice date when diff page loads | Alfredo Sumaran | |
2016-02-24 | Wait until listeners are set before triggering a 'click' event | Alfredo Sumaran | |
2016-02-24 | Move script inside of MergeRequestTabs class | Alfredo Sumaran | |
2016-02-20 | Update button selector | Alfredo Sumaran | |
2016-02-20 | Change method name for consistency | Alfredo Sumaran | |
2016-02-20 | Make diff view name getter less error prone | Alfredo Sumaran | |
2016-02-19 | Add comment | Alfredo Sumaran | |
2016-02-19 | Expand view container if diff mode is set to paralells | Alfredo Sumaran | |
2016-01-13 | Replace nav-tabs with nav-links | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2015-12-10 | Make selectors more specific when scroll to element | Douglas Barbosa Alexandre | |
2015-12-10 | Make selectors more specific when setting the tab content | Douglas Barbosa Alexandre | |
Reason: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2023 | |||
2015-12-10 | USe innerHtml to avoid slow performance on a MR with very large diff | Douglas Barbosa Alexandre | |
2015-12-09 | Ensure existing notes are highlighted properly on a merge request diff | Douglas Barbosa Alexandre | |
2015-12-09 | Move Builds tab to the end | Douwe Maan | |
2015-12-08 | Add Builds tab to MR detail page | Douwe Maan | |
2015-10-14 | Prevent a JS error in MergeRequestTabs | Robert 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-09 | Make the loading spinner toggle more explicit | Robert 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-05 | Fix anchors to comments in diffs | Valery Sizov | |
2015-07-23 | Fix the "Reload with full diff" URL button | Stan 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-06 | Remove sticky-diff functionality | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2015-06-26 | Trigger sticky_kit:recalc when diffs are pre-loaded | Robert Speicher | |
2015-06-26 | Reorder MergeRequestTabs constructor | Robert 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-22 | Add MergeRequestTabs specs | Robert Speicher | |
2015-06-22 | Minor style fixes in MergeRequestTabs | Robert Speicher | |
2015-06-17 | Extract MergeRequest tab behavior to its own JS class | Robert Speicher | |