Commit Graph

32 Commits

Author SHA1 Message Date
Simo Kinnunen
06573f7f6f Fix device sometimes showing up twice on the list if coming back from the device page while releasing the device. Caused by websocket telling us about the release before we got the device data. 2014-06-28 18:17:34 +09:00
Simo Kinnunen
f7a8257259 The new table now works, but columns are not selectable and there's no interactive sorting or filtering. Also, icon view has been disabled for now. 2014-06-27 11:49:17 +09:00
Gunther Brunner
7e1296d1da $broadcast is slow so refactored to a service. 2014-06-18 20:27:09 +09:00
Gunther Brunner
7982e2bcbe Started enhancing device list details with prefiltered information.
Moved enhanced data away from device service.
2014-06-18 01:25:22 +09:00
Gunther Brunner
e2c65a83fc Typo. 2014-06-17 15:42:57 +09:00
Gunther Brunner
31899b9939 Device Icon view now is very fast:
- No filters
- Data enhanced
- ng-bind instead of {{}}
- Bind once
- ng-if for Devices List
2014-06-16 18:45:14 +09:00
Gunther Brunner
f56d70cebb Performance: Starting to remove biggest bottlenecks from digest cycle, filters.
Biggest are releasedAt and showAll, both consuming more than 1000ms (!).
2014-06-11 16:02:04 +09:00
Gunther Brunner
3798b72401 Performance: Only digest in requestAnimationFrame 2014-06-11 15:14:17 +09:00
Gunther Brunner
e7eeb985a7 Added default Device List ordering by name also.
Hide devices without a model name (this may be changed later).
2014-06-03 17:50:32 +09:00
Gunther Brunner
d87c780068 Changed device list sort priority.
Changed device list control button styles.
2014-06-03 17:50:32 +09:00
Gunther Brunner
12fc884f78 Fixed device redirect when not usable. 2014-05-29 05:01:42 +09:00
Gunther Brunner
cb6c7a1b5c Device List now properly sorts by status. 2014-05-29 01:40:38 +09:00
Simo Kinnunen
71188b2e50 Don't make too many low priority updates at once. 2014-05-29 01:10:22 +09:00
Simo Kinnunen
13e3fe6624 Fix array merging in the device service. 2014-05-01 20:23:39 +09:00
Simo Kinnunen
a915aea9ea Update with new service features. 2014-05-01 17:05:21 +09:00
Gunther Brunner
e10a58c881 Removing $rootScope for device and control, not needed anymore. 2014-04-08 20:50:35 +09:00
Simo Kinnunen
fa7437a445 Add more advanced filtering to the device tracker. Make the group tracker work properly. 2014-04-08 13:48:46 +09:00
Simo Kinnunen
b6a81df776 Probably fix "using" issues. 2014-04-04 18:20:53 +09:00
Simo Kinnunen
8b13a1c945 Fix various JSHint warnings in client-side code. 2014-03-26 16:06:49 +09:00
Gunther Brunner
e1feb20df6 -Adding table ui for styling with style.
-Added device.update event so the table can reload it's data (watch would be an overkill).
2014-03-24 18:20:31 +09:00
Gunther Brunner
ea13232f10 - Update ng-table to master.
- Device list icon view works now.
2014-03-19 18:42:15 +09:00
Simo Kinnunen
e4cd3eb91a Add virtual 'state' property to all devices. 2014-03-19 18:31:51 +09:00
Simo Kinnunen
1945ae26a7 Tracker needs options. 2014-03-19 17:30:05 +09:00
Simo Kinnunen
2555168345 Replace groupService's outdated member tracker with deviceService.trackGroup(). 2014-03-19 16:45:30 +09:00
Simo Kinnunen
022977886c Rename "isOwnedByUser" to "using". 2014-03-18 15:19:39 +09:00
Simo Kinnunen
30b04ab2d2 Add convenience flags for knowing if a device is usable, ready, and owned by us. 2014-03-18 15:06:02 +09:00
Simo Kinnunen
238d5d6f4e Keep device data up to date on device page. 2014-03-17 20:01:07 +09:00
Simo Kinnunen
2a7ed2d436 Don't remove device from tracker list when it leaves. Just set it absent. 2014-02-27 15:56:55 +09:00
Simo Kinnunen
2692f71219 Only track devices when we need to. 2014-02-27 15:05:50 +09:00
Simo Kinnunen
8769b8040c Initial version of transactions. Shell command implemented as an example. Still needs channel cleanup on app side, handling a device dying in the middle of a transaction, and getting device list back to normal. 2014-02-21 15:55:23 +09:00
Gunther Brunner
16f484dbca Fix screen controller 2014-02-19 16:12:27 +09:00
Gunther Brunner
347d9e9a55 Added stf namespace. 2014-02-18 20:32:45 +09:00