Simon Hunt
5064c2223e
GUI -- fixed broken unit tests.
...
Change-Id: I6563d9965d1d4fd47b0302b090f09431eb25a49a
2015-02-03 20:49:10 -08:00
Simon Hunt
ac4c6f732a
GUI -- Migrating the add/update device functionality to the Topology View. (WIP)
...
- still a lot of work to do.
Change-Id: I0453b7e2ec20a8a8149fd9d6440a13a3d43fbfd6
2015-02-04 04:33:50 +00:00
Bri Prebilic Cole
dee466269f
GUI -- Icon service work:
...
- Changed color of check and xmark icons for dark and light themes.
- Only appends glyphs that don't have a "-" as the name.
- Wrote unit tests for new icons.
Change-Id: Ia21fa33673e3adcfd8717f899d226b0d24dfcc51
2015-02-04 01:08:00 +00:00
Simon Hunt
7c8ab8ddae
GUI -- Added "No Devices Connected" layer; (themed too).
...
Change-Id: I80e3cc20c426c9c9781ad73a891e0f2fe93594b9
2015-02-03 15:05:21 -08:00
Bri Prebilic Cole
1dc32e64cd
GUI -- Created new icon badges of up and down arrows for tables, and edited tests to account for new glyphs.
...
Change-Id: I609f45ad434b8a3f92ce605ba1a9056f9584b11f
2015-02-03 09:44:39 -08:00
Simon Hunt
45c9fe5402
GUI -- Updated 'simple' scenario, and minor enhancement to mock server.
...
Change-Id: I08b015ad81d5b356d63edaa779418a5445d24edf
2015-02-02 19:06:29 -08:00
Simon Hunt
27e153aeac
GUI -- Fixed broken unit test, and amended case of color specs.
...
Change-Id: I0bd0fcc0139d264a56f8035a0a823a6aafb57ea5
2015-02-02 18:45:44 -08:00
Simon Hunt
a57d6815fe
GUI -- Instance Colors tuned for dark theme.
...
Change-Id: I173fcf8c8683dbef148d0506e8a9436dc518e0b9
2015-02-02 18:34:04 -08:00
Bri Prebilic Cole
e4d5c6c6fd
GUI -- Tables with the "onos-fixed-header" directive automatically resize to fit the window (as well as having a fixed header row with scrolling body).
...
Change-Id: I230a9577f9a83ab9342414054e64afa181f4f1e9
2015-02-03 01:00:46 +00:00
Simon Hunt
b72b1191e7
GUI -- ThemeService: Unit tests for add/remove listeners.
...
Change-Id: I427398fa02c9d4b7c7dd892872a02e6faecf9121
2015-02-02 14:42:16 -08:00
Simon Hunt
245a88e124
GUI -- Added theme listeners, so the instance panel can update the instances on a theme change.
...
Change-Id: If26d5a6ce9fadc02c7184c5ad4d252fc168300a8
2015-02-02 13:26:04 -08:00
Simon Hunt
36c936b134
GUI -- Added unit tests for FnService.find().
...
Change-Id: I17ec1abe4024c761b2f88f03e783eeb1e55f24e9
2015-01-30 16:07:25 -08:00
Simon Hunt
48e61678e9
GUI -- Completed implementation of Instance events (add, update, remove)
...
- fixed instance color selection (using cat7() function)
- miscellaneous additions to utility functions.
- etc. and so on...
Change-Id: I61895489ccc60fa17beda9e920e65742e0f2c526
2015-01-30 14:48:36 -08:00
Simon Hunt
7492830d50
GUI -- Augmented mock server to allow descriptive names for events.
...
- also, lists scenarios at startup.
Change-Id: I6f32d15e7ed4ec2ade4546d68d2e245001c394ec
2015-01-30 12:42:15 -08:00
Simon Hunt
4b66859f8d
GUI -- Implemented Instance Panel.
...
- handling addInstance event.
Change-Id: Ic98a3291bd37ecf1155dbe1696167d0635a31972
2015-01-29 17:35:47 -08:00
Bri Prebilic Cole
9ca0f9cb46
GUI -- Tables with the "fixed-header" directive using ng-repeat will have fixed headers while the body will scroll.
...
Change-Id: Ia1fed45e8da28375df3c34c068104802739e3c11
2015-01-29 15:44:27 -08:00
Simon Hunt
edf5c0ee71
GUI -- Topology view... Minor cleanup.
...
Change-Id: I86e1bab3815b8dfabdfbd1e5f3f773b37b2f1ca9
2015-01-29 15:00:53 -08:00
Simon Hunt
c9b7316610
GUI -- Completed Show Summary panel.
...
- added GlyphService.addGlyph().
- added SvgUtilService.translate().
Change-Id: I0bbc51a8f1d9c24b8b4f1377236570070da6f160
2015-01-29 14:02:15 -08:00
Simon Hunt
626d210f29
GUI -- Implemented showSummary event (Icon still to do..) WIP
...
- included CSS for light/dark themes.
- Removed height from panel default settings.
- Fixed 'restart' bug in mock server - (renamed to mockserver.js)
Change-Id: I615299e6f8f07843edb074050b7450eea501bfbb
2015-01-29 11:54:59 -08:00
Simon Hunt
b0ec1e55fc
GUI -- Added TopoPanelService to encapsulate summary, detail and instance panels.
...
- Rudimentary handling of 'showSummary' event implemented.
- Fixed resize behavior of topo SVG.
- Created 'migrate' mock-server scenario.
- Added 'restart' command to mock-server.
Change-Id: I90ac93dbc9efb8f17ef95825d3159030145267a2
2015-01-28 18:13:49 -08:00
Simon Hunt
a11b4ebec0
GUI -- Continued porting topology behavior over to the new codebase. WIP.
...
- added FnService.windowSize() function.
- added MastService and mastHeight() function.
- implemented SvgUtilService.createDragBehavior().
Change-Id: I5dae35244ab8220e1b95ddfd55b180e6adcb7a00
2015-01-29 00:24:11 +00:00
Bri Prebilic Cole
159830132b
GUI -- summary-list table CSS edited to look cleaner.
...
Code to integrate directive into d3 created table -- WIP
Change-Id: I182ad1c66fdce36bb4097459e55a5271d47b700c
2015-01-28 15:57:07 -08:00
Simon Hunt
737c89fb53
GUI -- Starting to migrate the 'force layout' functionality from the old GUI.
...
Change-Id: I38c5e5cd45a3bdc9cf6f0ec68736f3b5fbcb289f
2015-01-28 12:23:30 -08:00
Bri Prebilic Cole
4c89177cd0
GUI -- Updated TableService to use d3 table creation methods.
...
Change-Id: I318ee4e81624118a82c52efe380213c661b743c5
2015-01-27 12:01:39 -08:00
Simon Hunt
fd1231a0a6
GUI -- Refactored Topo View to move websocket code into TopoEventService.
...
- now it is more properly encapsulated.
Change-Id: Ib5cb88acf63e78be648ff45e737c76041b53e44b
2015-01-26 22:14:51 -08:00
Simon Hunt
bb596362db
GUI -- First pass at TopoEventService - to encapsulate sending/receiving events from server.
...
Change-Id: I604d63a715f1ee25ca7ed05bacccb9eb8d65a0f4
2015-01-26 21:27:42 -08:00
Bri Prebilic Cole
5c2cab98ab
GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
...
Change-Id: I585cee8331612be984ca7ead2829525af7f3d3e5
2015-01-26 15:42:42 -08:00
Simon Hunt
c4ae83038d
GUI -- Fixed broken table-spec unit tests.
...
Change-Id: I3b4d777a3f514759a2b19e442ad320280f46e5b4
2015-01-26 14:22:48 -08:00
Simon Hunt
54442fac5f
GUI -- Implemented Panel Service.
...
Change-Id: I5e60c6ffa5676bc11f7312681af7bca85b4f8036
2015-01-26 14:17:45 -08:00
Bri Prebilic Cole
aa8d2ed957
GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
...
Change-Id: I95f82108d7bb4f84a701b49e0e419afbdbac6f14
2015-01-26 10:18:16 -08:00
Thomas Vachuska
c31d9f1dcc
ONOS-745 Refactoring topology to compute only broadcast tree and not pre-compute paths.
...
ONOS-744 Refactoring graph search to allow requesting max number of paths.
Change-Id: I28467246b92df32ebb3155c45774ecc051fdd3dd
2015-01-23 12:57:34 -08:00
Simon Hunt
988934ec2d
GUI -- Start of implementation of Panel Service.
...
Change-Id: I2729acc88c7130172587856f1af80ca0d66e4c5b
2015-01-23 11:49:24 -08:00
Simon Hunt
3b0916b2e7
GUI -- Implemented sendEvent() in WsEventService.
...
Change-Id: Iac4833e66e7688e490b24b4cbaca3514a59ce618
2015-01-23 11:06:56 -08:00
Bri Prebilic Cole
093739a751
GUI -- Created onosWidget module and TableService with respective Karma Test file.
...
Change-Id: I0b164877bcd70503d126ccfe19e03a96d6b84b56
2015-01-23 10:29:51 -08:00
Simon Hunt
acf410ba9d
GUI -- Cleaned up websocket callback wrapping and beefed up unit tests.
...
Change-Id: I3457e7d8009d0c7ebb900d06ae01c59cf7370cba
2015-01-23 10:05:54 -08:00
Simon Hunt
970e7fda20
GUI -- WebSocket object now decodes message payload as JSON on behalf of the consumer.
...
Change-Id: If27679b2c4d3beaed6aee96233ca4856b673ab72
2015-01-22 17:46:28 -08:00
Simon Hunt
bb920fdd5a
GUI -- Added ability to define an alternate port for WS - used to connect to mock web-socket server. Topo view can use query string '?wsport=8123' for example.
...
Change-Id: Ie34d557b9580d58239380010e8d58233998a78ca
2015-01-22 17:06:39 -08:00
Simon Hunt
a7a129cd08
GUI -- Oops! Location of map data changed...
...
Change-Id: I4a7ed7c9797a791d4b6ca42b5fb6532c6d032dc6
2015-01-23 00:55:37 +00:00
Bri Prebilic Cole
e7399f3bd3
GUI -- Cleaned up code for practice scrollable table, added tableHeight as a parameter to the directive.
...
Change-Id: I2f2187e0b1a8a4fdb2d05187bb1d708724aeca99
2015-01-23 00:54:42 +00:00
Bri Prebilic Cole
d36a90fa41
GUI -- Scrollable table working!
...
Change-Id: I77eb1a620cfa64e44996e8eed09a6be9c9cda202
2015-01-22 16:19:27 -08:00
Simon Hunt
354c8c9df5
GUI -- Mock WebSocket server : fixed bug where args were not repeated.
...
Change-Id: Ie6c6e0e1bf0b29b6182cac9d0cf5a4ee450024d6
2015-01-22 15:33:34 -08:00
Simon Hunt
711ee247a8
GUI -- Mock WebSocket server now serves up scenario events.
...
Change-Id: I469550362b2215bbc054cb58a157c2ef5f4479ca
2015-01-22 23:12:03 +00:00
Bri Prebilic Cole
4f0d977e1d
GUI -- Device table now scrolls with a fixed height.
...
Created a table scrolling test page to try out having a fixed table header. - WIP
Change-Id: Ia957173d0cb46c526af3da311b441802ac5cb292
2015-01-22 23:11:57 +00:00
Simon Hunt
a25cdcde31
GUI -- Created Mock WebSocket Server (runs with node.js)
...
- moved test scenario events to directory in test branch.
Change-Id: I1f94a9b4c844be1ea2633de0c74d49ebf5a770a7
2015-01-22 13:13:00 -08:00
Simon Hunt
584122a63a
GUI -- Further work on web socket service. Still WIP.
...
Change-Id: Ib787a72abed3d8bd1cce7efe110c584a04fe0cd4
2015-01-21 15:32:50 -08:00
Simon Hunt
404f6b21c2
GUI -- Removed dependence on jQuery -- it turns out that angular implements extend().
...
Change-Id: I0cca98975873aa6fa1bf8258a2bedbc508d3c7d7
2015-01-21 22:18:04 +00:00
Simon Hunt
1e4a0017b1
GUI -- Created skeleton for WebSocketService.
...
- re-worked UrlFnService.
Change-Id: Ia1184dfd5639a7e1ef2dad54580057e74b1d9fd2
2015-01-21 20:27:54 +00:00
Bri Prebilic Cole
c006eef515
GUI -- Finished icons test page. Displays all icons and glyphs using Angular constructs.
...
Change-Id: I65d9195eb5434a49e5d8e6fac7ce3205a72d22dd
2015-01-20 16:24:25 -08:00
Simon Hunt
aa26adf980
GUI -- Corrected path prefix for ui/rs calls.
...
- fixed broken unit tests.
Change-Id: I52c3f54853a19d7d7d46a7453f540b241593d138
2015-01-20 18:35:43 +00:00
Bri Prebilic Cole
b07c279b03
GUI -- show-icons.html test file is successfully linked with its module and controller
...
Change-Id: I4d76994949b8cbf834d355e529be4d1a29d31462
2015-01-20 09:58:15 -08:00