Show issue reactions #421

Merged
6543 merged 4 commits from noerw/tea:show-reactions into master 2021-10-01 08:13:32 +00:00
Member
$ tea issue 230

   #230 issue/pull details: show reactions (open)                                                                     
                                                                                                                      
  @6543 created 2020-10-22 16:39                                                                                      
                                                                                                                      
  since reactions are utf8 now and most terminals too, we can display them nicely :)                                  
                                                                                                                      
  https://gitea.com/api/v1/repos/gitea/tea/issues/230/reactions                                                       
                                                                                                                      
  --------                                                                                                            
                                                                                                                      
  1x :hooray:  |  1x ?  |  1x :gitea:  |  1x ?  |  1x ?  |  1x :laugh:  |  1x ?  |  1x ❤️                         

caveats:

  • reactions are not returned as UTF8 (as was claimed in #230), so they need to be parsed. the library I use doesn't (and can't → :gitea:) support all reactions available in gitea
  • currently only for issues, as reactions for comments mean an additional API request for each comment..

fixes #230

``` $ tea issue 230 #230 issue/pull details: show reactions (open) @6543 created 2020-10-22 16:39 since reactions are utf8 now and most terminals too, we can display them nicely :) https://gitea.com/api/v1/repos/gitea/tea/issues/230/reactions -------- 1x :hooray: | 1x ? | 1x :gitea: | 1x ? | 1x ? | 1x :laugh: | 1x ? | 1x ❤️ ``` caveats: - reactions are not returned as UTF8 (as was claimed in #230), so they need to be parsed. the library I use doesn't (and can't → :gitea:) support all reactions available in gitea - currently only for issues, as reactions for comments mean an additional API request for each comment.. fixes #230
noerw added 1 commit 2021-09-28 11:45:00 +00:00
1130e195cd show issue reactions
only for issues, as reactions for comments mean an additional request for each comment..
noerw added the
kind
enhancement
label 2021-09-28 11:45:06 +00:00
lunny approved these changes 2021-09-28 13:44:20 +00:00
noerw added 1 commit 2021-09-28 21:06:43 +00:00
techknowlogick approved these changes 2021-09-29 03:28:47 +00:00
noerw added 1 commit 2021-09-29 10:41:10 +00:00
noerw added 1 commit 2021-09-30 13:33:02 +00:00
noerw closed this pull request 2021-09-30 13:41:01 +00:00
noerw reopened this pull request 2021-09-30 13:41:16 +00:00
6543 merged commit 58aaa17e7e into master 2021-10-01 08:13:32 +00:00
6543 deleted branch show-reactions 2021-10-01 08:13:38 +00:00
6543 referenced this issue from a commit 2021-10-01 17:16:04 +00:00
Sign in to join this conversation.
No description provided.