Simon Hunt
66f9e6e116
GUI -- glyph.js - removed unnecessary precision from path data.
...
Change-Id: I4d13e7f3a50f2bcca7c098179de10a6caa1de3f4
2015-01-19 20:05:29 -08:00
Simon Hunt
cd258a12ba
GUI -- Reworked onos.js to only require the list of view IDs to be injected. Module dependencies and routing configuration are both derived from the list of IDs.
...
Change-Id: If7bd7fe5c5c42f5c557e39c8ccb53847f2527be9
2015-01-19 19:20:13 -08:00
Simon Hunt
d169deb0e5
GUI -- Removed @author tags from all .js/.css etc. to match our code style choice.
...
Change-Id: I4d0f572678a01a582226d99ef43cfedd1c559402
2015-01-19 17:45:26 -08:00
Bri Prebilic Cole
17a18b21a5
GUI -- Added some test files to practice Angular and link with the IconService. WIP
...
Change-Id: Ifcacc107b99c6ff6c983c3d3821084947657dcd3
2015-01-19 17:15:59 -08:00
Bri Prebilic Cole
94a856e7eb
GUI -- Added new icons to glyphs library.
...
- Edited glyph-spec and icon-spec to test the changes.
Change-Id: I23472b7f6699a46da1728c49a9d72f826244c739
2015-01-19 15:16:40 -08:00
Simon Hunt
64b60cd35b
GUI -- Do not display IconLibDefs SVG element.
...
Change-Id: I883b512a86a509afdb14352ef340d9bce9a09349
2015-01-19 13:51:30 -08:00
Simon Hunt
9722538ab6
GUI -- Completed icon directive definition, and wired up device view.
...
Change-Id: Ia3cf0655fb17d47adc54f9f4540bb25eacbaaa62
2015-01-19 13:33:09 -08:00
Simon Hunt
7f172cc053
GUI -- Implemented loadIcon() in the IconService.
...
Change-Id: Ib19e9ee01d0c015a2ba6f0431bc0d84adf530efd
2015-01-16 17:43:00 -08:00
Simon Hunt
58f23bbf01
GUI -- Working towards embedding icons in tables. WIP.
...
- Skeleton of icon directive added.
- icons embedded in table - test HTML file.
- Augmented GlyphService.loadDefs() to allow subset of glyph ids to be specified.
Change-Id: I775a958ef9dc35b0b89a126d5c0497f72a721b71
2015-01-16 16:32:24 -08:00
Simon Hunt
4367abc99b
GUI -- DeviceResource: minor improvement.
...
Change-Id: I591aa4cca09fb51e2e92df8c479d80d2d3aed94e
2015-01-16 15:14:11 -08:00
Simon Hunt
1f170b8fc7
GUI -- Simpler version of DeviceGuiResource for the UI.
...
D'Oh -- has to have public-no-args constructor!
Change-Id: Ib586f74bdd109385fd1772e53122e096bdd7e8d5
2015-01-16 23:03:32 +00:00
Bri Prebilic Cole
4fab8af1e4
GUI -- Added mechanism to test device view.
...
Themed device view.
Change-Id: I471ec56b94c927d834f8067d06efce33ddfa4596
2015-01-15 16:40:59 -08:00
Bri Prebilic Cole
eb28b0bb9c
GUI -- Created UrlFunction service
...
Commented out broken device code WIP
Change-Id: I7ccdc1c841277cf6895738eec056741693de5603
2015-01-15 14:21:06 -08:00
Simon Hunt
e6720443b3
GUI -- Created the RestService in the Remote module.
...
- implemented get() function (with unit tests).
Change-Id: I65edb5422ed3719d8bdc262e398673e0a1db3f0b
2015-01-15 12:21:06 -08:00
Simon Hunt
5ee36e041b
GUI -- Added dark theming for the topology view.
...
Change-Id: I13c7bbbff65007fed162a4ea80dbf6042ff04c07
2015-01-15 10:33:20 -08:00
Simon Hunt
0541fb8d47
GUI -- Finally got map resize working correctly, including the resized callback in topo code.
...
- Created directives.js file to hold custom directives definitions.
Change-Id: Iecdbfe81fd8c5719f6da4f67fd9986ffa70c35df
2015-01-14 18:59:57 -08:00
Simon Hunt
426bd86e02
GUI -- Further tweaking of the background map loading code, to properly align the map in the view.
...
- still WIP, as we need to invoke a resized() callback in the controller so that the view can also respond to the event.
Change-Id: I55fa5e52c70e208924ad22d389e2002c66cb37ef
2015-01-15 01:35:58 +00:00
Simon Hunt
a7b6a6b92f
GUI -- Further work on MapService and GeoDataService. Still WIP.
...
Change-Id: I92e826cc15cc1a07238cc4b4eac20583260a3c84
2015-01-13 19:53:20 -08:00
Simon Hunt
f8173387a1
GUI -- Split MapService into GeoDataService and MapService. WIP.
...
Change-Id: Ibfe5b35ecdfaaf39b9d48abd29d0a44327dec130
2015-01-13 14:12:15 -08:00
Bri Prebilic Cole
7c92a3d003
GUI -- Created initial device view
...
Change-Id: Ie9b2a4e743d7a8070c3dfe736ad5a953547bd2f9
2015-01-09 16:50:03 -08:00
Simon Hunt
86388b15b2
GUI -- Created NavService and implemented simple navigation (click on the bird!)
...
Change-Id: I2bda5a3a1b279167194a84564408760eebcb59fd
2015-01-09 14:23:34 -08:00
Simon Hunt
404e54c6ed
GUI -- MapService: rework API and internal code for loading map. WIP.
...
Change-Id: I74458a3ef615d67a0fe9869926ef230990cd902f
2015-01-09 11:58:49 -08:00
Simon Hunt
1e8eff4d02
GUI -- MapService: changed to cache promises with attached meta data.
...
- unit tests for cached promises still WIP.
Change-Id: Ibe52cf3e83ed5753ccc12581b52fa1f640354e60
2015-01-08 17:19:02 -08:00
Simon Hunt
f044d8a708
GUI -- Sketched out MapService.
...
- implemented ID to URL adjustment, and object caching behaviors.
Change-Id: I5a30b59be01761d9a6475f7707db947dd2304dc5
2015-01-07 17:53:17 -08:00
Bri Prebilic Cole
09e464bc62
Starting GUI server-side code
...
Change-Id: Id3d5e198a2326f50ef2661f6971cf23271bf7644
2015-01-07 17:13:54 -08:00
Simon Hunt
cacce3442b
GUI -- Implemented ZoomService, with unit tests.
...
- Added zoomer to topo.js; we are at least generating the events.
- Added GlyphService.clear()
Change-Id: I5400e52b58ee584866d8ffbb20d5bde70b336985
2015-01-07 16:13:05 -08:00
Simon Hunt
6cc536945e
GUI -- Topo View: define SVG layer; inject (sample) key bindings and install glyph definitions.
...
Change-Id: I1c063b0484a9cedcf8e57a35cc51c3c4b35c9329
2015-01-07 11:36:44 -08:00
Simon Hunt
670e825628
GUI -- implemeted GlyphService.loadDefs().
...
Change-Id: I2d93164dd6d1968982d3034b8c7bc50041d9bad9
2015-01-06 18:31:30 -08:00
Simon Hunt
bc39f6d87d
GUI -- implemeted GlyphService.register().
...
Change-Id: I769294b428d9eb5414b45d1099baee1ab3814528
2015-01-06 17:34:35 -08:00
Simon Hunt
6e4598029d
GUI -- implementation and unit test for loading base set of glyphs into GlyphService.
...
Change-Id: I0c742ab6a58f607a6c3a812767dc26df82f74827
2015-01-06 15:05:54 -08:00
Simon Hunt
51fc40b05b
GUI -- Sketching out GlyphService.
...
- Added areFunctions() to FnService.
- First unit test for GlyphService.
- Added note about debugging unit tests.
Change-Id: I377b6a1cf1845fb57e506e1a935970b49dbf0bbb
2015-01-06 13:56:33 -08:00
Simon Hunt
8ead3a2edc
GUI -- Updated copyright year for GUI source files.
...
- updated the unit test README file.
Change-Id: I050a343851d2445b29b846384aca5bfa82e43690
2015-01-06 11:00:15 -08:00
Simon Hunt
7ac7be9799
GUI -- Added skeleton factories for SVG module.
...
Change-Id: Iba32faef86d95327fd70bc8fc57a716d543551db
2015-01-06 10:47:56 -08:00
Simon Hunt
5d12dc2b8a
GUI -- Added missing dependency to karma.conf.js
...
Change-Id: Id6cff0cae2847c387b1e20597ea112c7126f755f
2015-01-05 16:56:22 -08:00
Simon Hunt
ef31fb2664
GUI -- Sketched out structure for multi-views; each with own controller, template html and css.
...
- routes currently hard-coded... some thought needed to handle views contributed at runtime.
Change-Id: Ied012744d74e46c5072143283364557f9485056c
2014-12-19 13:16:44 -08:00
Simon Hunt
7256d0842b
GUI -- removed commented out tests.
...
Change-Id: I3b37263edefbf947846dd2f9b2d7cbd4295e0c0f
2014-12-18 21:43:28 -08:00
Yuta HIGUCHI
4f39bcd8b7
GUI -- implemented Theme Service.
...
- moved body class handling into Theme Service, (out of Key Service).
Change-Id: Ied0d22523fec36cadef8b9669194089585f73959
2014-12-18 21:31:00 -08:00
Simon Hunt
dc6362aaef
GUI -- reworking code to eliminate unnecessary 'ONOS' global.
...
- re-package fn and keys factories into util module.
Change-Id: I3d9f50b9a91468140845e862aff3fdb518948774
2014-12-18 19:55:23 -08:00
Simon Hunt
7aeffa017c
GUI -- refactored key service test to spy on $log service, instead of implementing our own mock.
...
Change-Id: I166972eed147ccf3d50d65454103922939b87e06
2014-12-18 14:58:26 -08:00
Simon Hunt
af32207ec4
GUI -- augmented Key Service unit tests to include masked key test, and gesture notes test.
...
Change-Id: I4797cbb5baec6f05835b3fbc77952e47c059c5d1
2014-12-18 13:23:40 -08:00
Simon Hunt
59df0b2d6a
GUI -- Added keyBindings() and gestureNotes() to Key Service.
...
- Cleaned up fn.js and added contains().
- Unit tests added too.
Change-Id: Id310675836e592af7a4a763f6624c0ee31adfbf5
2014-12-17 10:32:36 -08:00
Simon Hunt
420691ac20
GUI -- Initial unit tests for Key Handler service. Still more to be done here.
...
Change-Id: I36e1504c571daebbcd2a147c1dffb37ef6c6beb6
2014-12-16 20:16:28 -08:00
Simon Hunt
f306972de0
GUI -- Jasmine Unit Tests for fn.js.
...
Change-Id: I8a187dd04413329e6ab2884319deddc25344e3a0
2014-12-16 18:19:14 -08:00
Simon Hunt
1eecfa29ce
GUI -- Added KeyService and FnService; implemented 'T' key for toggle theme.
...
Change-Id: I6ae3cb76aaa5c72422eac180cb46d604ead21afc
2014-12-16 14:46:29 -08:00
Simon Hunt
c2202d52ef
GUI -- Beginnings of new file structure / Angular implementation. WIP.
...
Change-Id: Ic79347b41292432605cd30bf1d4920063f6602e8
2014-12-16 13:37:03 -08:00
Simon Hunt
07adc48f28
GUI - Angular:: Added routing modules (with a simple example).
...
Change-Id: Ia7811694c8577c4e38e2ffe061139944e5f8e9c6
2014-12-12 16:21:08 -08:00
Simon Hunt
3ddb2e5831
GUI - Angular:: Example unit test for custom filter.
...
Change-Id: I82863bebe2f9e89097f2d2cedcc866cb884e304d
2014-12-12 13:59:54 -08:00
Simon Hunt
df03d8de36
GUI - Angular:: More sample code; this time, filters.
...
Change-Id: I03a98d3d6e54426a2a67d662e9bc887fa1ce7170
2014-12-12 11:37:13 -08:00
Simon Hunt
c02277548e
GUI - Angular:: More sample code; this time, services.
...
Change-Id: I91422074870722e6a58b096d411e64b5a46c7cc0
2014-12-11 16:46:57 -08:00
Simon Hunt
d7c203ccd7
GUI - Angular:: More sample HTML for form widgets etc.
...
Change-Id: Ibfc83aae8282e3d99b53a03ab0e13ef2579e990c
2014-12-09 16:51:49 -08:00