Joe Fiorini
43d6124153
Add target for ci to minify with tests
2015-02-09 09:45:23 -05:00
Joe Fiorini
8c3ea4f8da
Merge pull request #66 from joefiorini/broccoli-build
...
Improved build workflow for UI client
2015-02-09 09:18:07 -05:00
Joe Fiorini
6dbfba7f69
jshint fixes
2015-02-06 18:04:10 -05:00
Joe Fiorini
4134857794
Point Makefile to local broccoli-cli install for jenkins
2015-02-06 16:52:41 -05:00
Joe Fiorini
1854f74e0d
Update static file in manifest
2015-02-06 12:49:04 -05:00
Joe Fiorini
54b5a89748
Move Brocfile to packaging
2015-02-06 12:49:04 -05:00
Joe Fiorini
81c940e36b
Use broccoli for ui make tasks
2015-02-06 12:49:04 -05:00
Joe Fiorini
13998e2898
Use broccoli to build tests
2015-02-06 12:49:04 -05:00
Joe Fiorini
a9e0de98d7
Use broccoli to build app
2015-02-06 12:49:04 -05:00
Joe Fiorini
2eb16eb04e
Clean up broccoli build
2015-02-06 12:47:39 -05:00
Joe Fiorini
30a3de4198
Compile less with broccoli as well
2015-02-06 12:47:39 -05:00
Joe Fiorini
42f6f4fbb6
Fix concat order to make things work
2015-02-06 12:47:39 -05:00
Joe Fiorini
c81681cc1a
Write final output to awx/ui/static/dist
2015-02-06 12:47:39 -05:00
Joe Fiorini
f4350f4a28
Kill strict mode in favor of doing it once
2015-02-06 12:47:39 -05:00
Joe Fiorini
a70d6b80aa
Initial setup of broccoli build
2015-02-06 12:47:39 -05:00
Joe Fiorini
8d1898e4ae
Fix failing tests
2015-02-06 10:21:25 -05:00
Joe Fiorini
2f9dc2b4ef
Merge pull request #63 from ansible/fix-dashboard-errors
...
Do not try to render home template on login/logout
2015-02-06 09:26:47 -05:00
Joe Fiorini
9bab35937c
Fix cleanup of host-count-graph
2015-02-05 13:30:30 -05:00
Joe Fiorini
f512cdf79d
Add missing partial
2015-02-05 12:58:45 -05:00
Joe Fiorini
109c9d8832
Do not try to render home template on login/logout
2015-02-04 17:11:27 -05:00
Joe Fiorini
16119114dc
Fix jshint errors
2015-02-04 16:15:39 -05:00
Joe Fiorini
6e0399379d
Cleanup the hack
2015-02-04 14:33:10 -05:00
Joe Fiorini
487f652abe
Use correct module declaration files in index template
2015-02-04 09:41:29 -05:00
Joe Fiorini
ed15bdeb63
Fix build order with new module files
...
The two renamed files represent files that merely define angular
modules. Unfortunately, in minification mode, they were getting
processed out of order with files that depend on them. Since we don't
have any sort of native module or dependency resolution (YET), I'm
hacking it to make sure they come first asciibetically.
2015-02-03 16:51:18 -05:00
Joe Fiorini
6a4104e913
Merge pull request #42 from joefiorini/job-status-graph
...
Fixes responsiveness of graphs on dashboard
2015-01-30 15:50:59 -05:00
Joe Fiorini
4775523764
Updates jshint settings
2015-01-30 15:43:22 -05:00
Joe Fiorini
2464d68b38
Fix jshint errors in my updates
2015-01-30 15:42:50 -05:00
Joe Fiorini
ffc12c3065
Don't show dashboard until we have a user signed in
2015-01-30 15:42:50 -05:00
Joe Fiorini
2814300e1e
Consistency fixes
2015-01-30 15:42:50 -05:00
Joe Fiorini
6b509e2814
Handle edge cases for auto resize module directive
2015-01-30 15:42:50 -05:00
Joe Fiorini
e28869c63d
Fix cleanup of resize events
2015-01-30 15:42:50 -05:00
Joe Fiorini
f1f15f1670
Generate chart model from the start
2015-01-30 15:42:50 -05:00
Joe Fiorini
98a4f195c2
Add grunt task for running plato reports
2015-01-30 15:42:50 -05:00
Joe Fiorini
1809fec52e
Setup testing for ci and development
2015-01-30 15:42:49 -05:00
Joe Fiorini
2e87454e5a
More unused code
2015-01-30 15:42:49 -05:00
Joe Fiorini
1113337cdc
Fix initial load resize for module
2015-01-30 15:42:49 -05:00
Joe Fiorini
03e5e42dae
Fix include order for tests
2015-01-30 15:42:49 -05:00
Joe Fiorini
4fc86e30ea
Fix displaying graphs with no content
2015-01-30 15:42:49 -05:00
Joe Fiorini
6e2c9f5eda
Remove Debug helper
2015-01-30 15:42:49 -05:00
Joe Fiorini
7b92bf1b88
Document the graph resizing calculations
2015-01-30 15:42:49 -05:00
Joe Fiorini
f2dbf7a559
Fix issue with graph modules causing vertical scroll
2015-01-30 15:42:49 -05:00
Joe Fiorini
5ab6ed91fa
Keep bottom margins consistent on line graphs
2015-01-30 15:42:49 -05:00
Joe Fiorini
34e29a0421
Correctly select axes on graphs
2015-01-30 15:42:49 -05:00
Joe Fiorini
f3b1bd0a75
Rename new-dashboard less template
2015-01-30 15:42:49 -05:00
Joe Fiorini
38b8ed4e9e
Remove extraneous unused code/comments
2015-01-30 15:42:49 -05:00
Joe Fiorini
e567386c69
Fix errors resizing job status graph
2015-01-30 15:42:48 -05:00
Joe Fiorini
896433300d
Fix double modal issue on 401 error
2015-01-30 15:42:48 -05:00
Joe Fiorini
d3a6fac5f9
Extract data loading for host count graph
2015-01-30 15:42:48 -05:00
Joe Fiorini
50d9c11419
Ensure we always catch errors on Rest calls
2015-01-30 15:42:48 -05:00
Joe Fiorini
64484c4054
Use jquery for resize binding
2015-01-30 15:42:48 -05:00
Joe Fiorini
6046419e2d
Kill eager unbind on window resize event
...
This severly breaks any window resize bindings in directives. That is
double plus bad. I made the executive decision to remove them because
they exist for cleanup that should be done already, assuming we are
following good practices. We aren't yet, so it _could_ cause some
problems, but not likely. I've already pinged @jlaska to keep an eye on
resizing behavior & memory usage in his testing.
2015-01-30 15:42:48 -05:00
Joe Fiorini
7ddb695afc
Remove HostGraph widget
2015-01-30 15:42:48 -05:00
Joe Fiorini
ad5c12fa49
Use responsive helper in host count graph
2015-01-30 15:42:48 -05:00
Joe Fiorini
408d9bf136
Move host count graph into directive
2015-01-30 15:42:48 -05:00
Joe Fiorini
f98e9ce0c7
Update size of host pie chart on window resize
2015-01-30 15:42:48 -05:00
Joe Fiorini
116e7b2118
Take toolbar height into account on job status graph
2015-01-30 15:42:48 -05:00
Joe Fiorini
1c4b8c0676
Move HostPieChart into directive
2015-01-30 15:42:47 -05:00
Joe Fiorini
42fbcf3454
Implement responsiveness in graph
2015-01-30 15:42:47 -05:00
Joe Fiorini
3db561141e
Add Debug.log helper for easy logging
2015-01-30 15:42:47 -05:00
Joe Fiorini
8e092714fb
Switch to using element instead of attribute
2015-01-30 15:42:47 -05:00
Joe Fiorini
7f291c91b5
Fix click handlers for filters
2015-01-30 15:42:47 -05:00
Joe Fiorini
8d29b170bc
Extract html string to template
2015-01-30 15:42:47 -05:00
Joe Fiorini
b0dcafca8c
Display job status graph in directive instead of widget
2015-01-30 15:42:47 -05:00
Joe Fiorini
95ad326c29
Use new service in job status graph widget
2015-01-30 15:42:47 -05:00
Joe Fiorini
e0efc11ef5
Add error handling to retrieval service
2015-01-30 15:42:47 -05:00
Joe Fiorini
d7a150befe
Extract graph data retrieval to a service
2015-01-30 15:42:47 -05:00
Joe Fiorini
1697aff309
Setup karma for testing with mocha & sinon for doubles
2015-01-30 15:42:47 -05:00
Joe Fiorini
cd367395f4
Fix incorrectly-cased file in gitignore
2015-01-30 15:42:47 -05:00