{"action":"created","issue":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/559","repository_url":"https://api.github.com/repos/michael-lazar/rtv","labels_url":"https://api.github.com/repos/michael-lazar/rtv/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/michael-lazar/rtv/issues/559/comments","events_url":"https://api.github.com/repos/michael-lazar/rtv/issues/559/events","html_url":"https://github.com/michael-lazar/rtv/issues/559","id":328831202,"node_id":"MDU6SXNzdWUzMjg4MzEyMDI=","number":559,"title":"Change the format of post/comment entries.","user":{"login":"pthfdr-42","id":31236558,"node_id":"MDQ6VXNlcjMxMjM2NTU4","avatar_url":"https://avatars2.githubusercontent.com/u/31236558?v=4","gravatar_id":"","url":"https://api.github.com/users/pthfdr-42","html_url":"https://github.com/pthfdr-42","followers_url":"https://api.github.com/users/pthfdr-42/followers","following_url":"https://api.github.com/users/pthfdr-42/following{/other_user}","gists_url":"https://api.github.com/users/pthfdr-42/gists{/gist_id}","starred_url":"https://api.github.com/users/pthfdr-42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pthfdr-42/subscriptions","organizations_url":"https://api.github.com/users/pthfdr-42/orgs","repos_url":"https://api.github.com/users/pthfdr-42/repos","events_url":"https://api.github.com/users/pthfdr-42/events{/privacy}","received_events_url":"https://api.github.com/users/pthfdr-42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-03T14:00:48Z","updated_at":"2018-06-04T02:46:38Z","closed_at":null,"author_association":"NONE","body":"I think that the format of post/comment listing of `rtv` is not compact enough.\r\nRemember that most terminals are 80\\*25 by default in size, and your layout takes too much space.\r\nCurrent:\r\n\r\n    1. Post title\r\n    hxxps://URL\r\n    123 pts v 10hr - 456 comments\r\n    Username /r/subreddit [Flair]\r\nIt used 4 lines, including a line of URL that is useless.\r\nI have talked about it in issue #556.\r\n\r\n    2. [Comment] First line of comment content.\r\n    Second line of comment content.\r\n    hxxps://URL\r\n    -24 pts ^ 39min\r\n    Username /r/subreddit\r\nNo information about which post the comment is replying to, and make the user thinks that it is a post.Plus the first line is not aligned.\r\nMy suggestion:\r\n\r\n    <123-|456C> [Post flair] Post title\r\n    Post at 06-03 08:00 by [User flair] Username in /r/subreddit\r\nOnly occupies 2 lines.Use \".\" for neutral, \"+\" for upvoted and \"-\" for downvoted.\r\nYou can fetch the exact time, so do it.If less than a year, use `MM-DD hh:mm` format, otherwise `YYYY-MM-DD`.\r\n\r\n    <123+|456C> [Post flair] Title of related post.\r\n    <-24+> Cmnt at 2015-06-03 by [User flair] Username in /r/subreddit\r\n    First line of comment content.\r\n    Second line of comment content.\r\nThis includes the original post title, and comment lines are aligned."},"comment":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/comments/394220342","html_url":"https://github.com/michael-lazar/rtv/issues/559#issuecomment-394220342","issue_url":"https://api.github.com/repos/michael-lazar/rtv/issues/559","id":394220342,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDIyMDM0Mg==","user":{"login":"pthfdr-42","id":31236558,"node_id":"MDQ6VXNlcjMxMjM2NTU4","avatar_url":"https://avatars2.githubusercontent.com/u/31236558?v=4","gravatar_id":"","url":"https://api.github.com/users/pthfdr-42","html_url":"https://github.com/pthfdr-42","followers_url":"https://api.github.com/users/pthfdr-42/followers","following_url":"https://api.github.com/users/pthfdr-42/following{/other_user}","gists_url":"https://api.github.com/users/pthfdr-42/gists{/gist_id}","starred_url":"https://api.github.com/users/pthfdr-42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pthfdr-42/subscriptions","organizations_url":"https://api.github.com/users/pthfdr-42/orgs","repos_url":"https://api.github.com/users/pthfdr-42/repos","events_url":"https://api.github.com/users/pthfdr-42/events{/privacy}","received_events_url":"https://api.github.com/users/pthfdr-42/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T02:46:38Z","updated_at":"2018-06-04T02:46:38Z","author_association":"NONE","body":"My suggestion is mainly from the old design of Reddit, without the buttons and such:\r\n![2018-06-04-104004_1152x864_scrot](https://user-images.githubusercontent.com/31236558/40895756-b8f73370-67a0-11e8-847c-0ac418161687.png)\r\n>copied from a Reddit phone app\r\n\r\nI think that you should drop your smartphone mentality. A TUI program is very different from a smartphone application.\r\nSmartphones have high resolutions and touch input is very inaccurate, so it has to add margins and paddings to make each entry large enough for the user to touch reliably.\r\nA TUI program is mainly keyboard-driven (sometimes with a mouse that can place the cursor precisely), so readability is not a concern, plus my suggestion is fairly readable even without color.\r\nRemember that you cannot expect that you could stretch the terminal when you are using a minimal WM. Also, the Linux console's fallback text-mode resolution is 80\\*25, you should consider that.\r\nAbout the reverse video: The Linux console cannot process bold, italic or underlined text as-is, but the reverse video is supported."}}
{"actor":{"display_login":"pthfdr-42"}}