Adding first rudimentary version of tagging and filtering. New users get three tags: morning, afternoon and evening. At the moment, one can not change these tags or add new ones. There are also some problems: tagging a newly added task, also tags one of the existing tasks. Also, when having an active filter and removing the corresponding tag from a task, that task is immediately hidden, although you are still editing it.

This commit is contained in:
Tyler Renelle
2013-02-28 10:59:39 -05:00
parent 39a98446b9
commit 4614e48cdc
11 changed files with 92 additions and 8 deletions
+2 -2
View File
@@ -28,7 +28,7 @@
<p>This is highly discouraged because you'll lose historical data, which is useful for graphing your progress over time. However, some people find it useful in the beginning after playing with the app for a while.</p>
<@footer>
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button data-dismiss="modal" x-bind=click:reset class="btn btn-danger btn-large">Reset</button>
<button data-dismiss="modal" x-bind=click:reset class="btn btn-danger">Reset</button>
</@footer>
</app:modals:modal>
@@ -103,7 +103,7 @@
{#unless _loggedIn}
<a href="#" class="btn btn-small btn-info" data-target="#login-modal" data-toggle="modal">Login / Register</a>
{else}
<div class="btn-group">
<div class="btn-group user-actions">
<button class="btn btn-small">
{#if _user.party.invitation}<span class="badge badge-success">1</span>{/}
{username(_user.auth)}