
I'm getting lost in a maze of twisty little passages, all alike. I'm looking at https://gitlab.haskell.org/ghc/ghc/merge_requests/10#note_1877 and https://gitlab.haskell.org/ghc/ghc/merge_requests/10 But the note in the former starting "Another module should reference the symbol..." doesn't show up in the latter, anywhere. How can I see the current state of play on this MR, the ground truth? Simon

GitLab groups posts on lines in MRs as "discussions". A discussion can be *resolved*. When it is resolved, the discussion is collapsed by default when you view the MR. The particular comment you're seeking can be found on the MR if you open the discussion you started at 10:04am this morning (GMT) and that Gabor closed at 2:10pm this afternoon. (I'm already missing comment numbers like in Trac.) I'm still learning my way around, too, so correct me (anyone) if there's a better way to describe all this. Richard
On Jan 4, 2019, at 11:19 AM, Simon Peyton Jones via ghc-devs
wrote: I’m getting lost in a maze of twisty little passages, all alike.
I’m looking at
https://gitlab.haskell.org/ghc/ghc/merge_requests/10#note_1877 https://gitlab.haskell.org/ghc/ghc/merge_requests/10#note_1877 and
https://gitlab.haskell.org/ghc/ghc/merge_requests/10 https://gitlab.haskell.org/ghc/ghc/merge_requests/10
But the note in the former starting “Another module should reference the symbol…” doesn’t show up in the latter, anywhere.
How can I see the current state of play on this MR, the ground truth?
Simon
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org mailto:ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Thanks. But I cannot work out
* How to find this “collapsed” discussion
* How to un-collapse it
* How to search for stuff in collapsed discussions. (Finding them one at a time, uncollapsing, and searching, seems wrong.) How can I un-collapse everything?
Simon
From: Richard Eisenberg

The diff in https://gitlab.haskell.org/ghc/ghc/merge_requests/10/diffs
is the ground truth for the source code. However, it's not ground
truth for comments. You only get to see the ones attached to the
revisions selected in "Changes between x and y", which means they tend
to get lost. The Discussion tab is ground truth for comments in that
you won't miss any if you look through it, but it gets cluttered.
There should be a "skip to first unresolved comment" button, which
helps. I wish it let you cycle them instead of always going to the
first. But the discussion tab is not good for seeing what the change
being discussed actually is, so you have to go back to Changes, at
which point you lose your place in Discussion.
If anyone knows a better way to do comments I'd also like to know... I
use gitlab at work and find it pretty awkward for medium-and-up sized
reviews.
On Sat, Jan 5, 2019 at 12:25 AM Richard Eisenberg
GitLab groups posts on lines in MRs as "discussions". A discussion can be *resolved*. When it is resolved, the discussion is collapsed by default when you view the MR. The particular comment you're seeking can be found on the MR if you open the discussion you started at 10:04am this morning (GMT) and that Gabor closed at 2:10pm this afternoon. (I'm already missing comment numbers like in Trac.)
I'm still learning my way around, too, so correct me (anyone) if there's a better way to describe all this.
Richard
On Jan 4, 2019, at 11:19 AM, Simon Peyton Jones via ghc-devs
wrote: I’m getting lost in a maze of twisty little passages, all alike.
I’m looking at
https://gitlab.haskell.org/ghc/ghc/merge_requests/10#note_1877
and
https://gitlab.haskell.org/ghc/ghc/merge_requests/10
But the note in the former starting “Another module should reference the symbol…” doesn’t show up in the latter, anywhere.
How can I see the current state of play on this MR, the ground truth?
Simon
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

| The Discussion tab is ground truth for comments in that you won't miss any
| if you look through it, but it gets cluttered.
Apparently not. Check out
https://gitlab.haskell.org/ghc/ghc/merge_requests/10
and search for "Another module should reference the symbol" which is definitely in a comment.
Maybe I'm missing something.
Simon
| -----Original Message-----
| From: Evan Laforge

Simon Peyton Jones via ghc-devs
| The Discussion tab is ground truth for comments in that you won't miss any | if you look through it, but it gets cluttered.
Apparently not. Check out https://gitlab.haskell.org/ghc/ghc/merge_requests/10 and search for "Another module should reference the symbol" which is definitely in a comment.
Maybe I'm missing something.
My apologies for the slow reply. I've been a bit under the weather this week; there has been a lot of time spent on the couch. As mentioned by others, discussions that have been marked as "resolved" are collapsed by default. If you search for the text "Toggle discussion" you will find that the collapsed discussions have link on their right-hand side which you can click on to expand the hidden comments. Cheers, - Ben

On Fri, Jan 4, 2019 at 1:02 PM Ben Gamari
As mentioned by others, discussions that have been marked as "resolved" are collapsed by default. If you search for the text "Toggle discussion" you will find that the collapsed discussions have link on their right-hand side which you can click on to expand the hidden comments.
The problem there being there's a lot of such, and no way to tell which one is relevant unless you have both original links and enough context. Finding stuff like that absent context doesn't look at all easy. :/ -- brandon s allbery kf8nh allbery.b@gmail.com

Quite right. I will bring this up with upstream.
On January 4, 2019 1:04:43 PM EST, Brandon Allbery
On Fri, Jan 4, 2019 at 1:02 PM Ben Gamari
wrote: As mentioned by others, discussions that have been marked as "resolved" are collapsed by default. If you search for the text "Toggle discussion" you will find that the collapsed discussions have link on their right-hand side which you can click on to expand the hidden comments.
The problem there being there's a lot of such, and no way to tell which one is relevant unless you have both original links and enough context. Finding stuff like that absent context doesn't look at all easy. :/
-- brandon s allbery kf8nh allbery.b@gmail.com
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

It seems you'd want the "Toggle All" button. There is an issue for that:
https://gitlab.com/gitlab-org/gitlab-ce/issues/19149
There is even a beautiful workaround given there with typing the following
command in the JavaScript console in a browser:
$(".discussion-toggle-button:has(i.fa-chevron-down)").click()
After that, indeed, I could Ctrl+F the phrase referenced by Simon ("Another
module should reference the symbol") while before I could not.
--
Best, Artem
On Fri, 4 Jan 2019 at 21:48 Ben Gamari
Quite right. I will bring this up with upstream.
On January 4, 2019 1:04:43 PM EST, Brandon Allbery
wrote: On Fri, Jan 4, 2019 at 1:02 PM Ben Gamari
wrote: As mentioned by others, discussions that have been marked as "resolved" are collapsed by default. If you search for the text "Toggle discussion" you will find that the collapsed discussions have link on their right-hand side which you can click on to expand the hidden comments.
The problem there being there's a lot of such, and no way to tell which one is relevant unless you have both original links and enough context. Finding stuff like that absent context doesn't look at all easy. :/
-- brandon s allbery kf8nh allbery.b@gmail.com
-- Sent from my Android device with K-9 Mail. Please excuse my brevity. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

On January 4, 2019 2:17:45 PM EST, Artem Pelenitsyn
It seems you'd want the "Toggle All" button. There is an issue for that:
Precisely. Thank you for finding this. Cheers, - Ben -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

I have just tried putting following URL into the discussion tab's URL bar
javascript: $(".discussion-toggle-button:has(i.fa-chevron-down)").click()
and it seems to work.
Cheers,
Gabor
On 1/4/19, Artem Pelenitsyn
It seems you'd want the "Toggle All" button. There is an issue for that:
https://gitlab.com/gitlab-org/gitlab-ce/issues/19149
There is even a beautiful workaround given there with typing the following command in the JavaScript console in a browser: $(".discussion-toggle-button:has(i.fa-chevron-down)").click() After that, indeed, I could Ctrl+F the phrase referenced by Simon ("Another module should reference the symbol") while before I could not.
-- Best, Artem
On Fri, 4 Jan 2019 at 21:48 Ben Gamari
wrote: Quite right. I will bring this up with upstream.
On January 4, 2019 1:04:43 PM EST, Brandon Allbery
wrote: On Fri, Jan 4, 2019 at 1:02 PM Ben Gamari
wrote: As mentioned by others, discussions that have been marked as "resolved" are collapsed by default. If you search for the text "Toggle discussion" you will find that the collapsed discussions have link on their right-hand side which you can click on to expand the hidden comments.
The problem there being there's a lot of such, and no way to tell which one is relevant unless you have both original links and enough context. Finding stuff like that absent context doesn't look at all easy. :/
-- brandon s allbery kf8nh allbery.b@gmail.com
-- Sent from my Android device with K-9 Mail. Please excuse my brevity. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (8)
-
Artem Pelenitsyn
-
Ben Gamari
-
Ben Gamari
-
Brandon Allbery
-
Evan Laforge
-
Gabor Greif
-
Richard Eisenberg
-
Simon Peyton Jones