GHC | Some refactoring in tcInferApps (!116)

Simon Peyton Jones simonpj at microsoft.com
Mon Jan 14 17:11:21 UTC 2019


Thanks.  But none of the pictures arrived, so I can’t interpret what you say.

I think I did see Richards face here and there (and mine), if that’s want avatars means. Hovering showed a snippet of a comment; but clicking did nothing.

I’m also terribly reluctant to scroll through thousands of lines of diff looking for avarars.

Simon

From: ghc-devs <ghc-devs-bounces at haskell.org> On Behalf Of Sylvain Henry
Sent: 14 January 2019 16:21
To: ghc-devs at haskell.org
Subject: Re: GHC | Some refactoring in tcInferApps (!116)


Hi Simon,

In the diff view, you can click on the avatars on the left to expand discussions:

[cid:part1.E17582DB.274298F8 at haskus.fr]

Or you can click on the "toggle comments for this file" button:

[cid:part2.D9953BB2.A74D4E27 at haskus.fr]





If you are willing to use GreaseMonkey (Firefox extension) or TamperMonkey (Chrome/Chromium extension), you can use the attached script to add new buttons to GitLab UI:

[cid:part3.9CF91D30.FC1AF3DA at haskus.fr]

[cid:part4.5144A0AF.98359F8A at haskus.fr]



Tested on Firefox and Chromium on Linux.

Sylvain





On 14/01/2019 11:58, Simon Peyton Jones via ghc-devs wrote:

|  (without the 'diff' at the end) you can see the collapsed discussion items?



Yes, in the discussion tab I can.  But of course that is out of context; you just get a little (non-expandable) snippet.



Simon



|  -----Original Message-----

|  From: Mikolaj Konarski <mikolaj at well-typed.com><mailto:mikolaj at well-typed.com>

|  Sent: 14 January 2019 10:30

|  To: Simon Peyton Jones <simonpj at microsoft.com><mailto:simonpj at microsoft.com>

|  Cc: ghc-devs <ghc-devs at haskell.org><mailto:ghc-devs at haskell.org>

|  Subject: Re: GHC | Some refactoring in tcInferApps (!116)

|

|  > Looking here

|  > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitl

|  > ab.haskell.org%2Fghc%2Fghc%2Fmerge_requests%2F116%2F%2Fdiffs&data=

|  > 02%7C01%7Csimonpj%40microsoft.com%7Cb565eeb2f6fe445fc64f08d67a0b40fe%7

|  > C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636830586093208883&sda

|  > ta=qAcz0zoXCCQHFeJ39ABKAVwtN5a2pIwyRSbfJcLSurk%3D&reserved=0

|  > I see literally NO discussions with a "toggle discussion" button.  Indeed

|  if I search for "toggle" I get no hits.

|

|  Oh, I see, you are right with respect to the link you cited now.

|  None of the buttons help, just as you say. I have to navigate back from the

|  "Changes" to the "Discussion" tab, which gets me to the link you gave

|  initially

|  (https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.h

|  askell.org%2Fghc%2Fghc%2Fmerge_requests%2F116&data=02%7C01%7Csimonpj%40

|  microsoft.com%7Cb565eeb2f6fe445fc64f08d67a0b40fe%7C72f988bf86f141af91ab2d7c

|  d011db47%7C1%7C0%7C636830586093208883&sdata=1pFmcwPyptWE8XOs%2FdnykEqsm

|  4ag7%2BqBi3c4qpAE7sE%3D&reserved=0)

|  where the discussions are available, but I can't see them in the context of

|  the whole diff and none of the buttons there let me extend the view of the

|  diff. That's quite suboptimal.

|

|  Could you confirm that at

|

|  https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.ha

|  skell.org%2Fghc%2Fghc%2Fmerge_requests%2F116&data=02%7C01%7Csimonpj%40m

|  icrosoft.com%7Cb565eeb2f6fe445fc64f08d67a0b40fe%7C72f988bf86f141af91ab2d7cd

|  011db47%7C1%7C0%7C636830586093208883&sdata=1pFmcwPyptWE8XOs%2FdnykEqsm4

|  ag7%2BqBi3c4qpAE7sE%3D&reserved=0

|

|  (without the 'diff' at the end) you can see the collapsed discussion items?

_______________________________________________

ghc-devs mailing list

ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>

http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C93db6e03da4842eeb08c08d67a3c434c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636830796575788410&sdata=NbKU6m%2BsIuL4XGKQdOOa5Q%2FTOMYGqa1q8e1lJ3Wyk%2F0%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190114/6ff08c76/attachment.html>


More information about the ghc-devs mailing list