Commit Graph

94 Commits

Author SHA1 Message Date
Chris Houseknecht
e3cea8ff25 Job detail page re-refactor
Wired up new search fields
2014-07-09 15:26:29 -04:00
Chris Houseknecht
f223113cdc Job detail page re-refactor
Host event viewer now calls event viewer. Added search spinner.
2014-07-09 00:38:07 -04:00
Chris Houseknecht
fb9b5ae43c Job detail page re-refactor
Host events viewer. Search now wired up. HTML re-load working. Table scrolling works.
2014-07-08 16:56:55 -04:00
Chris Houseknecht
d7c84ce54a Job detail page re-refactor
Job host events dialog.
2014-07-08 00:57:07 -04:00
Chris Houseknecht
74834abc00 Fixed JS compile error. 2014-07-07 17:44:28 -04:00
Chris Houseknecht
04357bd471 Job detail page re-refactor
First pass at host events viewer.
2014-07-07 17:44:28 -04:00
Chris Houseknecht
9c3d315bc7 Job detail page
If host_summaries summary_fields.host does not exist, consider host deleted and use <deleted host> for the name. Also, added endless scroll to play list.
2014-07-02 19:23:33 -04:00
Chris Houseknecht
803f0b6d12 Job detail page
Disabled clicking on play or task while live events are happening.
2014-07-02 18:47:08 -04:00
Chris Houseknecht
befffdb8d9 Fixed js lint errors 2014-07-02 18:08:53 -04:00
Chris Houseknecht
ffbd685ae4 Job detail page
Set max number of rows for each table to 200
2014-07-02 17:02:29 -04:00
Chris Houseknecht
1b6a4abf1d Job detail page
Removed malihu POS custom scrollbar widget. Installed new angular directive. Removed the waiting spinner on scroll, replacing it with a subtle, small spinning cog under the scrollbar.
2014-07-02 17:02:29 -04:00
Chris Houseknecht
b6b3869243 Job detail page
Added cancel/delete and relaunch buttons.
2014-07-01 16:26:46 -04:00
Chris Houseknecht
44fdddd345 Job detail page
Improved unreachable host count in tasks status bar. Once a host is unreachable it shows as missing in subsequent tasks, which is the expected result as it is skipped but not really marked as skipped.
2014-07-01 14:29:45 -04:00
Chris Houseknecht
254c552734 Job detail page
Built new event viewer. Based on LogViewer.js that provides a common log viewing dialog.  Event viewer dialog has the same look and feel.
2014-07-01 13:43:24 -04:00
Chris Houseknecht
826f2b681f Job detail page refactor
Job tasks now include an unreachable count and %. Change unreachable color from grey to a different shade of red. While live events are happening host name filter is disabled and status filter is available. Created a custom status filter that accounts for live event processing. While live event processing is active angular filtering on status is disabled for tasks and plays, otherwise no tasks or plays would show up. However, status filtering does apply to host results and host summaries during live event processing.
2014-06-30 17:34:10 -04:00
Chris Houseknecht
64bfd6ce26 Job detail page refactor
Changed 'successful' to 'OK' throughout the page. Also fixed status tool tip text on unreachable hosts to be 'Unreachable' rather than 'failed'. Fixed tool tips on Plays and Tasks so that they updated in sync with status changes.
2014-06-30 13:15:58 -04:00
Chris Houseknecht
878471bb76 Job detail page refactor
Moved drawing frequency to 2 seconds.
2014-06-30 08:52:15 -04:00
Chris Houseknecht
f1b017f0a4 Job detail page refactor
Fixed bug on play counts that caused them to always be zero when loading from API.
2014-06-27 13:44:18 -04:00
Chris Houseknecht
2d642c58d7 Job detail page
Added dialog for viewing host results and a bunch of formatting. Linked host summary to job_host_summaries page (yes, that still exists). Host results now shows 'skipped' hosts with a blue icon rather than green.
2014-06-26 04:40:09 -04:00
Chris Houseknecht
73255eace9 Job detail page refactor / 2.0 style changes
Removed well and index from primary list pages. Job detail page cleanup. Fixed status filter on host summary list. Incresed # rows kept in memory for each list to 100. Showing unreachable host count on the play, mostly to help debugging.
2014-06-25 22:45:16 -04:00
Chris Houseknecht
3516ad4b98 Job detail page refactor
Re-enabling a count of the possible hosts that should report status on each task. As live events happen increment a count stored on the play. Only increment when hosts are reporting for the first task of the play, and only increment if the host status is in: successful, changed, skipped or failed. Added the total to the plays list as 'Reporting Hosts'.
2014-06-25 16:24:30 -04:00
Chris Houseknecht
04f0ea409b Job detail page refactor
Fixed auto-resize. The page now differentiates between plays, tasks and host results when allocating space. The play list gets the least amount of space. Tasks receives slightly less than it used to but more than plays. Host results gets the most space at nearly 2x what it received previously.
2014-06-25 11:58:49 -04:00
Chris Houseknecht
5ee176e451 2.0 style changes
More work on status area of job detail page. It now collapses perfectly as viewport size shrinks.
2014-06-25 11:54:11 -04:00
James Laska
699eef1fbd Correct js typo 2014-06-25 08:32:16 -04:00
Chris Houseknecht
0a829dc610 Job detail page refactor
Restyled status information using horizontal form layout with overrides to make not look like a form. Added a more/less link to hide or show additional details (i.e. job template, project, inventory). Added proper labels for finsished and elapsed. Looking much better.
2014-06-24 17:32:04 -04:00
Chris Houseknecht
b0a03697b6 Job detail page refactor
Fixed failed filter reset.
2014-06-20 13:04:12 -04:00
Chris Houseknecht
e6cf440511 Job detail page refactor
Fixed page filtering. Made tasks and plays selectable again.
2014-06-20 12:59:11 -04:00
Chris Houseknecht
7d91a8ba92 Job detail page refactor
Fixed js compile error
2014-06-20 10:31:05 -04:00
Chris Houseknecht
c074d81c95 Job detail page refactor
When live event processing is happening (job is not in a completed state) infinite scroll is now disabled. This keeps the programmatic scroll to bottom from tripping an API call.
2014-06-20 10:29:00 -04:00
Chris Houseknecht
22a51a18f1 Job detail page refactor
Things being added to the DOM were passed by reference and not value. Fixed that using json stringify/parse. Now the DOM does not update in real time. Added in updated of summary list and graph. Performing updates every 5 sec.
2014-06-20 03:07:47 -04:00
Chris Houseknecht
5cdba539c6 Job detail page refactor
Push DOM update interval out to 12 sec.
2014-06-20 02:16:37 -04:00
Chris Houseknecht
a024de5702 Job detail page refactor
Reconnected scroll bar bits mostly.
2014-06-20 02:00:15 -04:00
Chris Houseknecht
ff1cce8509 Job detail page refactor
Exploring was to make the DOM update less CPU intensive.
2014-06-19 23:22:48 -04:00
Chris Houseknecht
346595854c Job detail page
When UpdateDOM is enabled, the CPU melts. Experimenting with ways to updated the DOM without it being sucha drain.
2014-06-19 23:04:04 -04:00
Chris Houseknecht
0f435eb42c Job detail page refactor
Cleaning up end of job processing to make sure we only reload things 1x at the end. Now drawing graph each time DOM is updated.
2014-06-19 22:20:25 -04:00
Chris Houseknecht
44da2f5cf8 Job detail page refactor
Latest DOM update changes and fixes
2014-06-19 18:16:54 -04:00
Chris Houseknecht
e29a158bec Job detail page refactor
Removed the spinner. Stupid spinner!
2014-06-19 17:26:30 -04:00
Chris Houseknecht
f67f8c7429 Job detail page refactor
Added logic to paint the DOM every 3 seconds. Fingers crossed.
2014-06-19 17:24:51 -04:00
Chris Houseknecht
958e806ddc Job detail page refactor
First pass at aggregating all incoming events without any DOM updates. Lets see if we can just perform simple aggregration in memory without a CPU meltdown.
2014-06-19 16:09:56 -04:00
Chris Houseknecht
3e70bdd831 Job detail page refactor
Latest iteration on event queue processing. Replaced setTimeout with an interval.
2014-06-19 03:34:07 -04:00
Chris Houseknecht
d5838480ba Job detail page refactor
Reverting attempt to use _.throttle and _.defer. They assume we actually want to process every event. We need to stop all processing if the job has finished.
2014-06-19 02:21:13 -04:00
Chris Houseknecht
8ba6366bc9 Job detail page refactor
Experimenting with _.throttle to improve event queue processing.
2014-06-19 01:09:24 -04:00
Chris Houseknecht
29b2b3cecf Job detail page refactor
Fixing scrolling issue on tasks list.
2014-06-19 00:32:39 -04:00
Chris Houseknecht
b7a4ea7801 Job detail page refactor
Endless scrolling queries appear to no longer be firing when programmatically scrolling to the end of list.
2014-06-19 00:17:05 -04:00
Chris Houseknecht
07629cb701 Job detail page refactor
Making sure we never call the endless scroll queries when programmatically scrolling to the bottom of a list. Eliminate repeated calls to lookup credential names.
2014-06-18 23:33:12 -04:00
Chris Houseknecht
a1e28992b0 Job detail page refactor
Improved handling of scrollbar refresh. Handling on via scope.$emit rather than inside the http response. Fixed pie chart drawing at job completion so that totaling of stats on playbook_on_stats event matches the way we're counting hosts during event processing.
2014-06-18 23:04:12 -04:00
Chris Houseknecht
5c34758d2d Job detail page refactor
Performance adjustment. CPU is melting with all the new changes.
2014-06-18 21:17:18 -04:00
Chris Houseknecht
b2d22613c5 Job detail page refactor
Fixed issue with tracking last event id.
2014-06-18 18:48:17 -04:00
Chris Houseknecht
b355211efb Job detail page refactor
Fixing issues related to API endpoint changes and need to paginate tasks and plays.
2014-06-18 18:16:00 -04:00
Chris Houseknecht
ef1ca7be0b Job detail page refactor
Working through testing of task and play pagination changes. Fixed initial errors. More to do once API changes show up.
2014-06-18 10:03:14 -04:00