Commit Graph

473 Commits

Author SHA1 Message Date
0de52d4fa3 BaseTask: move register/unregister to onPre/PostExecute 2016-04-04 05:42:27 -04:00
c51b1fd399 Remove progress bar; switch to BaseTask 2016-04-03 07:51:54 -04:00
eb8dd1d450 Simplify and optimize loading time of ShowHabitFragment 2016-04-03 07:46:08 -04:00
357646152f Use postInvalidate instead of invalidate 2016-04-03 07:27:37 -04:00
ae5be202b2 Add convenience methods for tracing 2016-04-03 07:27:16 -04:00
cc3e2153d0 Allow BaseTask to publish integer progress 2016-04-03 07:26:40 -04:00
7433a2413d Refactor BaseTask interface 2016-04-03 06:45:10 -04:00
1cd8eb6849 NumberView: do not request layout on setNumber 2016-04-03 05:11:45 -04:00
7f009e2365 Create indexes in database 2016-04-03 05:10:13 -04:00
2d2bb8b4ed Render widgets in background 2016-04-02 13:32:04 -04:00
e476096ae1 Fix view tests 2016-04-02 11:47:28 -04:00
e2c814a982 Fix ShowHabitFragment and HistoryEditorDialog 2016-04-02 10:48:33 -04:00
4fcaa68baf Throw exception when slow methods are executed on the main thread 2016-04-02 10:27:45 -04:00
02e45dbe27 Rename DialogHelper to UIHelper 2016-04-02 10:14:21 -04:00
bf6562f854 Update views on background thread 2016-04-01 17:50:14 -04:00
3c927e009a Improve performance of Score computation 2016-04-01 17:49:17 -04:00
a9bcae0f2f Clean up CheckmarkView 2016-04-01 17:24:12 -04:00
bc54f3f916 Improve performance of toggleCheckmark 2016-04-01 16:21:22 -04:00
5e0422848b Add tests for EditHabitCommand 2016-03-31 07:54:00 -04:00
b2f2d4ad28 Add tests for UnarchiveHabitsCommand 2016-03-31 07:24:43 -04:00
4dc8201dcb Add tests for CreateHabitCommand 2016-03-31 07:20:20 -04:00
f24e300b40 Implement tests for Archive and ChangeColor commands 2016-03-31 07:11:24 -04:00
72f5ca5531 Add tests for NumberView 2016-03-31 06:03:16 -04:00
f9da90a93a Add tests for HabitStreakView 2016-03-30 21:02:05 -04:00
96c6a97ad0 Add tests for HabitScoreView 2016-03-30 19:46:37 -04:00
20469789ea Add tests for HabitFrequencyView 2016-03-30 18:41:00 -04:00
d45a4445cc Minor changes to HabitHistoryView rendering; enable haptic feedback 2016-03-30 12:25:24 -04:00
bc331d0a4d Write tests for HabitHistoryView 2016-03-30 08:28:21 -04:00
2ba7246e5f Refactor Tasks for better testability 2016-03-30 08:28:06 -04:00
e0b637e84d Merge branch 'feature/unit-test-views' into dev 2016-03-28 21:14:42 -04:00
e14d73cf32 Add translator 2016-03-28 21:00:07 -04:00
16b9584868 Minor changes to strings.xml 2016-03-28 20:20:18 -04:00
c091116105 Compute padding/margins more precisely on CheckmarkView 2016-03-28 20:06:32 -04:00
285f79ed95 Add tests for CheckmarkView 2016-03-26 20:11:17 -04:00
2c62e1578a Create base test class for custom views 2016-03-26 19:25:50 -04:00
b4c2d2237a Draw month name on the following column.
This reverts commit f9377e17. See #55 for reason.
2016-03-26 08:57:18 -04:00
d14fbbd130 Make streak colors consistent 2016-03-26 08:49:02 -04:00
e2c99d745e Improve visualization of streaks
Closes #20
2016-03-26 08:27:23 -04:00
dfe41176bc Reintroduce vibrate permission 2016-03-25 17:01:41 -04:00
1ef4f8d456 Use system haptic feedback instead of custom vibration; enable on short press
Closes #66
2016-03-25 14:39:57 -04:00
6c810ee7a3 Allow user to send bug report from settings screen 2016-03-25 14:39:57 -04:00
5115379fdd Merge branch 'feature/import-data' into dev 2016-03-25 09:21:47 -04:00
62df660079 Implement UI tests for import/export and help 2016-03-25 08:10:10 -04:00
790beb185a Do not save backup when importing Loop DB 2016-03-25 08:09:33 -04:00
59c0af17d7 Use application context to initialize ActiveAndroid 2016-03-25 07:09:41 -04:00
28dad560a6 Write tests for CSV exporter 2016-03-25 07:09:06 -04:00
9e410f8395 Refactor and write tests for IO tasks 2016-03-25 06:18:07 -04:00
3c595bc79d Add null check on DatabaseHelper 2016-03-24 21:51:02 -04:00
1120f56dd4 Write tests for CSV export 2016-03-24 21:36:41 -04:00
90a3964f0f Close database 2016-03-24 18:39:49 -04:00