{"action":"created","issue":{"url":"https://api.github.com/repos/beancount/fava/issues/633","repository_url":"https://api.github.com/repos/beancount/fava","labels_url":"https://api.github.com/repos/beancount/fava/issues/633/labels{/name}","comments_url":"https://api.github.com/repos/beancount/fava/issues/633/comments","events_url":"https://api.github.com/repos/beancount/fava/issues/633/events","html_url":"https://github.com/beancount/fava/issues/633","id":287029326,"node_id":"MDU6SXNzdWUyODcwMjkzMjY=","number":633,"title":"link metadata to filter expressions in journal views","user":{"login":"zacchiro","id":216766,"node_id":"MDQ6VXNlcjIxNjc2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/216766?v=4","gravatar_id":"","url":"https://api.github.com/users/zacchiro","html_url":"https://github.com/zacchiro","followers_url":"https://api.github.com/users/zacchiro/followers","following_url":"https://api.github.com/users/zacchiro/following{/other_user}","gists_url":"https://api.github.com/users/zacchiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zacchiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacchiro/subscriptions","organizations_url":"https://api.github.com/users/zacchiro/orgs","repos_url":"https://api.github.com/users/zacchiro/repos","events_url":"https://api.github.com/users/zacchiro/events{/privacy}","received_events_url":"https://api.github.com/users/zacchiro/received_events","type":"User","site_admin":false},"labels":[{"id":295428266,"node_id":"MDU6TGFiZWwyOTU0MjgyNjY=","url":"https://api.github.com/repos/beancount/fava/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-09T09:54:36Z","updated_at":"2018-08-21T13:31:37Z","closed_at":"2018-01-09T11:48:30Z","author_association":"CONTRIBUTOR","body":"Now that we have filtering on metadata values (YAY #603 !), it seems sensible to link metadata values rendered in individual journal transactions to filter updates.\r\n\r\nFor instance, if I've a transaction like this:\r\n```\r\n2018-01-01 * coffee\r\n    trip: \"2017-12-20-beijing-holiday\"\r\n    Expenses:Dining:Bar  2.00 EUR\r\n    Expenses:Cash\r\n```\r\nClicking on the trip line should update the current filter and add `trip: \"2017-12-20-beijing-holiday\"` as a condition. This would be consistent with what happens when clicking on account names.\r\n\r\nThe current behavior is to simply fold/unfold the transaction details."},"comment":{"url":"https://api.github.com/repos/beancount/fava/issues/comments/414674570","html_url":"https://github.com/beancount/fava/issues/633#issuecomment-414674570","issue_url":"https://api.github.com/repos/beancount/fava/issues/633","id":414674570,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDY3NDU3MA==","user":{"login":"zacchiro","id":216766,"node_id":"MDQ6VXNlcjIxNjc2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/216766?v=4","gravatar_id":"","url":"https://api.github.com/users/zacchiro","html_url":"https://github.com/zacchiro","followers_url":"https://api.github.com/users/zacchiro/followers","following_url":"https://api.github.com/users/zacchiro/following{/other_user}","gists_url":"https://api.github.com/users/zacchiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zacchiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacchiro/subscriptions","organizations_url":"https://api.github.com/users/zacchiro/orgs","repos_url":"https://api.github.com/users/zacchiro/repos","events_url":"https://api.github.com/users/zacchiro/events{/privacy}","received_events_url":"https://api.github.com/users/zacchiro/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T13:31:37Z","updated_at":"2018-08-21T13:31:37Z","author_association":"CONTRIBUTOR","body":"On Tue, Aug 21, 2018 at 05:57:38AM -0700, Jakob Schnitzer wrote:\n> You need to click the \"Metadata\" button to show metadata below the\n> entry line - those are clickable, the little round ones are just there\n> to show on a quick glance which entries have metadata. This part of\n> the journal hasn't changed since this issue was closed though if I\n> recall correctly ;)\n\nWeird, I'm pretty sure I did try this when you fixed this issue, but I\ncouldn't find this time before your tip. Oh well, it was PEBKAC anyway.\nThanks for your quick feedback and my apologies for the noise! :-)\n"}}
{"actor":{"display_login":"zacchiro"}}