Commit Graph

13 Commits

Author SHA1 Message Date
Chris Houseknecht
d34bf8675d Jobstdout bug fix
Forced scroll to bottom during live event processing fixed. Bottom spinner right margin fixed.
2014-07-03 14:46:14 -04:00
Chris Houseknecht
ac3e76236a Job stdout
Replaced scrolling widget with new angular directive and simplified approach to endless scroll. Fixed non-response to job failing before any job_events actually received. Now if playbook run completely fails, the stdout gets displayed without having to refresh browser.
2014-07-03 12:37:48 -04:00
Chris Houseknecht
3bfd29a631 Job stdout page
Fixed endless scroll, both up and down. It now models the Jenkins behavior. If live events are happening, it captures and displays them, always auto-scrolling down. If user srolls up, live events continue to be captured but auto-scrolling is suspended. If user scrolls all the way back down to bottom, auto-scrolling resumes.
2014-06-26 17:12:38 -04:00
Chris Houseknecht
745eb00b3f Job stdout scrolling
Started adding bits to detect when user scrolls up. When that happens stop showing live events.
2014-06-26 11:02:40 -04:00
Chris Houseknecht
f78197970e 2.0 Styling changes
Removed breadcrumbs from lists. Removed breadcrumbs from job tab. Added some space to top of jobs tab content. Fixed auto-sizing on jobs page.
2014-06-24 13:25:39 -04:00
Chris Houseknecht
540f10bfbc Job stdout refactor
More infinite scrolling. Mostly seems to be working. However, we're not removing content, just continually adding as user scrolls back up.
2014-06-24 11:34:25 -04:00
Chris Houseknecht
c60fb7a58f Job stdout refactor
Infinit scroll in the upward (or back in time) direction works.
2014-06-24 04:04:46 -04:00
Chris Houseknecht
8752c71e38 Job stdout refactor
Fixed stdout container to use the the new stdout style sheet. Controller for stdout now correctly calcs height of the content container.
2014-06-23 16:57:11 -04:00
Chris Houseknecht
2c0e0324f6 Job stdout refactor
Switching to new stdout endpoint and restyling.
2014-06-23 13:42:15 -04:00
Chris Houseknecht
58b40422c3 Job stdout - Safari support
Safari's DOMParser object does not support parsing HTML. When the app initializes we now detect the browser type and define $rootScope.browser accordingly. If the browser is Safari, then we do some ugly looping and regex'ing to separate out the html and style sheet from the stdout API response.
2014-06-17 11:53:33 -04:00
chouseknecht
e5ee7e5383 AC-1294 reworked standard out page to support custom scroll bar. Removed use of <pre> elment by parsing the inbound HTML and isolating the style sheet and the job output. Those are now inserted into styled <div> elements, giving the UI better control. The page now listens to the web socket server and refreshes whenver an event happens for the job. On an event the <div> element refreshes and automatically scrolls to the bottom. 2014-05-21 17:29:16 -04:00
chouseknecht
cc350dde68 Moved stdout to an iframe and improved auto-sizing. 2014-05-14 11:46:07 -04:00
chouseknecht
38503b9087 Wired up stdout to job detail page. More to do, but you can at least get to it now. 2014-05-13 18:32:38 -04:00