{"action":"created","issue":{"url":"https://api.github.com/repos/samg/timetrap/issues/112","labels_url":"https://api.github.com/repos/samg/timetrap/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/samg/timetrap/issues/112/comments","events_url":"https://api.github.com/repos/samg/timetrap/issues/112/events","html_url":"https://github.com/samg/timetrap/issues/112","id":69606712,"number":112,"title":"Feature request: Search for keywords","user":{"login":"nvaken","id":503360,"avatar_url":"https://avatars.githubusercontent.com/u/503360?v=3","gravatar_id":"","url":"https://api.github.com/users/nvaken","html_url":"https://github.com/nvaken","followers_url":"https://api.github.com/users/nvaken/followers","following_url":"https://api.github.com/users/nvaken/following{/other_user}","gists_url":"https://api.github.com/users/nvaken/gists{/gist_id}","starred_url":"https://api.github.com/users/nvaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvaken/subscriptions","organizations_url":"https://api.github.com/users/nvaken/orgs","repos_url":"https://api.github.com/users/nvaken/repos","events_url":"https://api.github.com/users/nvaken/events{/privacy}","received_events_url":"https://api.github.com/users/nvaken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-20T14:59:22Z","updated_at":"2015-06-25T06:42:27Z","closed_at":null,"body":"I'm labeling my entries as `SUPPORT - Helping customer X with getting task Y done`. Currently I `grep` my today overview to review what time I've spent on `SUPPORT`, eg. `t today | grep SUPPORT`. This gives me a pretty good indication of what I've spent on support, but I'd love to see the total amount of time. So maybe something like `t today --filter SUPPORT` would be a nice addition? Or did I just overlook things in the manual?"},"comment":{"url":"https://api.github.com/repos/samg/timetrap/issues/comments/115125656","html_url":"https://github.com/samg/timetrap/issues/112#issuecomment-115125656","issue_url":"https://api.github.com/repos/samg/timetrap/issues/112","id":115125656,"user":{"login":"nvaken","id":503360,"avatar_url":"https://avatars.githubusercontent.com/u/503360?v=3","gravatar_id":"","url":"https://api.github.com/users/nvaken","html_url":"https://github.com/nvaken","followers_url":"https://api.github.com/users/nvaken/followers","following_url":"https://api.github.com/users/nvaken/following{/other_user}","gists_url":"https://api.github.com/users/nvaken/gists{/gist_id}","starred_url":"https://api.github.com/users/nvaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvaken/subscriptions","organizations_url":"https://api.github.com/users/nvaken/orgs","repos_url":"https://api.github.com/users/nvaken/repos","events_url":"https://api.github.com/users/nvaken/events{/privacy}","received_events_url":"https://api.github.com/users/nvaken/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T06:42:27Z","updated_at":"2015-06-25T06:42:27Z","body":"I would love to see this work just like `grep`, hashtags would imply that I'd have to tag everything I'd like to filter in the future. This might end up in those kind of horrible tweets with way to much concatenated tags like `#awesome #lovemylife #ihavenoideawhatimdoing`. \r\n\r\nMy post above does indeed show my intentions for searching for a tag, though I can imagine that I might want to search for keywords in the message as well. For example, I might want to find every entry that enlists a colleague's name: `t today --filter 'Chuck Norris'` and get all my entries I've added Chuck's name to. This is just a quick example though, filtering like this might have other usecases too. \r\n\r\nI'd also suggest making it possible to add more complex queries like regular expressions."}}