Commit Graph

74 Commits

Author SHA1 Message Date
Filipa Lacerda b67bb566b3 Improves support for long build traces: 2017-04-18 12:27:10 +00:00
Phil Hughes 2dab724583 Added back in the CI status favicon
Looks like it was removed with a bad merge conflict resolution
2017-04-10 10:08:59 +01:00
Filipa Lacerda 8ca5afdf27 FE: Resolve "Performance issues when processing large build traces with Ansi2html" 2017-04-07 11:13:23 +00:00
Kamil Trzciński 828d81ee1f Optimise trace handling code to use streaming instead of full read 2017-04-06 16:20:27 +00:00
Kushal Pandya 28a4e9d8d0 Show CI status as Favicon on Pipelines, Job and MR pages 2017-04-06 10:40:39 +00:00
Mike Greiling 8796d17a26 remove IIFEs in preparation for ES module refactor 2017-03-13 14:41:32 -05:00
Clement Ho d1d69fc641 Merge branch '28723-consistent-handling-indexof' into 'master'
Keep consistent in handling indexOf results

Closes #28723

See merge request !9531
2017-02-27 18:23:48 +00:00
Takuya Noguchi 9960c7610e Keep consistent in handling indexOf results 2017-02-25 23:34:17 +09:00
Takuya Noguchi 2ab322ebc7 Replace setInterval with setTimeout to prevent highly frequent requests 2017-02-25 19:54:16 +09:00
Mike Greiling 0f31c5a92b replace implicit this == window with explicit binding 2017-02-17 16:58:32 -06:00
Annabel Dunstone Gray bc6ad4f0fd Fix build sidebar scrolling 2017-02-10 15:09:08 -06:00
Annabel Dunstone Gray 19cb7b0a3d Remove navbar height offsets 2017-02-10 15:09:08 -06:00
Annabel Dunstone Gray a11e798aa0 Keep sidebars absolute until fixed at top; remove unneeded JS 2017-02-10 15:09:08 -06:00
Annabel Dunstone Gray eefbc2bf73 Fix sidebar scrolling 2017-02-10 15:09:08 -06:00
Bryce Johnson fbd09871ca Remove turbolinks. 2017-02-02 14:03:12 -05:00
Mike Greiling 04eff5fdb0 resolve all x-spacing and no-spaced-x eslint violations 2017-01-18 17:18:40 -06:00
Mike Greiling ccada28f30 resolve all padded-blocks eslint violations 2017-01-18 17:16:41 -06:00
Mike Greiling e7b5945c59 resolve all semi and no-extra-semi eslint violations 2017-01-18 17:15:27 -06:00
Kushal Pandya c254d05953 Use string constant variable for `#down-build-trace` 2017-01-12 10:49:49 -05:00
Kushal Pandya c69931f0f0 Use better approach to access hash 2017-01-12 10:31:04 -05:00
Kushal Pandya 2b63470f4e Scroll to bottom on build completion if autoscroll was active 2017-01-12 10:31:04 -05:00
Kushal Pandya c21df973b0 Hide Scroll Top for failed build 2016-12-23 18:55:49 +05:30
Kushal Pandya 11ba7a8856 Move comments to next line 2016-12-21 13:42:11 +05:30
Kushal Pandya b4aabafaa4 Replace `$.fadeIn()` usage with `$.show()` 2016-12-21 13:31:51 +05:30
Kushal Pandya 7dfd5aa69e Use cached element references 2016-12-21 13:16:18 +05:30
Kushal Pandya 5bab7c57e3 Set offset via constant variable 2016-12-21 13:16:18 +05:30
Kushal Pandya 09738ad098 Use `get(0)` instead of direct array index access 2016-12-21 13:16:18 +05:30
Kushal Pandya 3817daa37a Fix scroll top button overlapping 2016-12-21 13:16:18 +05:30
Kushal Pandya 3f2fd48c7c Prevent scroll bottom button and scroll indicator clashes 2016-12-21 13:16:18 +05:30
Kushal Pandya cc62a41656 Fix case where Autoscroll indicator overlays scroll bottom button 2016-12-21 13:16:18 +05:30
Kushal Pandya dfd156972d Refactor build log scroll button logic to prevent icon overlaps 2016-12-21 13:16:18 +05:30
Kushal Pandya 3ed1f6dca7 Cache common references to `.status-text` element 2016-12-21 13:16:18 +05:30
Kushal Pandya 45220e310c Use `bind` instead of currying to access outer context 2016-12-21 13:16:18 +05:30
Kushal Pandya 95d5359212 ESLint: use outer `this` by currying function 2016-12-21 13:16:17 +05:30
Kushal Pandya ad0b81872a Fix incorrect scroll button appearance in certain cases 2016-12-21 13:16:17 +05:30
Kushal Pandya df0aeae7da Move `isInViewport` to `gl.utils`, make scroll buttons sticky always 2016-12-21 13:16:17 +05:30
Kushal Pandya c02945ac95 Cache commonly referenced DOM elements, cleaning up 2016-12-21 13:16:17 +05:30
Kushal Pandya 94fd6cf74b Update selector for build status text 2016-12-21 13:16:17 +05:30
Kushal Pandya f06678cb1a Fix Autoscroll status icon misalignment on page reload 2016-12-21 13:16:17 +05:30
Kushal Pandya 1549db6471 Add animation to autoscroll indicator when activated 2016-12-21 13:16:17 +05:30
Kushal Pandya 8d7d6bcbd0 Fix rebase conflicts 2016-12-21 13:16:17 +05:30
Kushal Pandya cf669e5d5a ESLint: remove extra indentation 2016-12-21 13:16:17 +05:30
Kushal Pandya daa08cbe04 ESLint: Clean up nested if blocks 2016-12-21 13:16:17 +05:30
Kushal Pandya 3d134c50b3 Improve isInViewport impl, autoscroll behavior
- Improve isInViewport impementation to be robust.
- Autoscroll is now a status indicator instead of toggle button
- Scrolling build log enables autoscroll itself when scrolled to bottom.
2016-12-21 13:16:17 +05:30
Kushal Pandya 3ea8d17e87 ESLint: remove extra indentation 2016-12-21 13:16:17 +05:30
Kushal Pandya 394d0fd3c8 ESLint: Clean up nested if blocks 2016-12-21 13:16:17 +05:30
Kushal Pandya f1f45d4a6f Improve isInViewport impl, autoscroll behavior
- Improve isInViewport impementation to be robust.
- Autoscroll is now a status indicator instead of toggle button
- Scrolling build log enables autoscroll itself when scrolled to bottom.
2016-12-21 13:16:17 +05:30
Kushal Pandya 071745141d Enable build log autoscroll when page scrolls to bottom 2016-12-21 13:16:17 +05:30
Mike Greiling 8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Grzegorz Bizon de24902852 Improve name of build log state data attribute 2016-11-22 14:48:14 +01:00