Can Older Comment label link to the original revision then?
At the moment I can't see a way to get to the original revision the comment was added on. If you click on the comment inside the Comments secction, the comment is shown on the current diff, not the original one as previously,
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
May 4 2015
Are people who have had chance to use the auto-folding inlines finding that they're an improvement?
See discussion in T7447.
Access is automatically set to require access to the containing repository if Phabricator knows about the repository (use arc which to check).
@oujesky, you can use my repo fork https://github.com/aik099/arcanist , that has such functionality via --cl argument arc diff, arc export and arc lint commands.
Any updates on this feature? We are also quite a heavy svn changelist users as it helps a lot when creating more than one change on our working copy.
@epriestley, any advice on how to tackle this?
May 3 2015
May 2 2015
One possibility here is to reopen a Maniphest task if a "fixes" commit is reverted. I'm not sure whether this behavior is desirable.
May 1 2015
Reopen if this crops up again.
It was a case of operator error in this situation in following workaround T2465: Context not available for revisions created on Windows by @raman.rathod. (The path has to be in double-quotes, and spaces were omitted in "Program Files (x86). Simple case of everybody knows, so nobody knows.
There is no relevant "explain why" link because there is no transaction for someone added a commit: rPPfd5a74ad3fa1 on D19839 or someone added a differential revision: D19839 on rPPfd5a74ad3fa1.
Apr 30 2015
Does clicking "Explain Why" explain why?
In T7447#110476, @joshuaspence wrote:In T7447#110475, @scohen wrote:I don't know @epriestley, I found it really confusing to have my comment on a different line entirely.
+1
I'm sorry to say I don't for the life of me understand how "this feature (as it exists today) is a net improvement to Differential". See this screenshot from one of our reviews, which both hightlights the fact that the diff is terribly difficult to read, and even more important, has major issues with where the forward-moving comments appear:
At HEAD, the messages are folded individually.
I don't see any examples anywhere that have a whole inline "conversation" on an older diff. Do those conversations get folded to one line, or does each message get folded individually?
To me it seems confusing either way, but in those cases we usually over-inform. If we remove them, someone will come and complain on the other side. Are there precedents maybe in other review platforms?
In T7447#110475, @scohen wrote:I don't know @epriestley, I found it really confusing to have my comment on a different line entirely.
I don't know @epriestley, I found it really confusing to have my comment on a different line entirely. Coupled with the "I can't mark this as done" thing, it made for a confusing experience.
The comments persist even when the code that you're talking about is deleted.
Looking at @chad's comment, I see that we do code reviews vastly differently than you guys do. I don't think I've ever rejected an entire diff in my 3 years here.
@jparise Our thoughts on that are if an individual piece of code is "bad", the entire diff is "bad" and should be rejected as a whole - to keep things simple.
Perhaps a reviewer could flag a comment as "Changes Requested" or similar to indicate whether the comment should be inherited by future revisions (until it is marked "Done" by the owner).
@alancrisp - I'd rather have whole history of what was requested and done. That's why minimal ui for showing old done inlines is better in the long run: If I don't care, it's just one line I can skip. If I care it's visible and I can click to expand :-)
If I'm a reviewer that has previously requested a change it can be useful to see the "Done" comments. If I'm a second reviewer coming along after two or more diffs it's not terribly useful to me and serves more as a distraction from the code I'm trying to review. That seems to be the consensus amongst my team anyway.
In T7447#110375, @epriestley wrote:As a reviewer, I think bringing "Done" comments forward is quite important: it makes it a lot easier for me to verify that they're really done. This is the #1 benefit I've reaped from this feature so far.
As a reviewer, I think bringing "Done" comments forward is quite important: it makes it a lot easier for me to verify that they're really done. This is the #1 benefit I've reaped from this feature so far.
- T7999 suggested something along the lines of the "minimal UI".
- Via IRC, "(btw, the 'moving comments over' feature has been a big hit here.)"
- Via Twitter, our heroism was recognized.
Apr 29 2015
Anyone is welcome to contribute this, it would be a nice addition. Easiest UI wise to use https://secure.phabricator.com/uiexample/view/PhabricatorStatusUIExample/.
I vote for minimal ui.
I think my vote would be "minimal ui (with keyboard support)" if done comments are carried over, and "always show" if they stop where are (because while not done, it's relevant).
I'm just looking for feedback at this point, I have a "minimal" UI in a local branch, but I felt it best to get some real feedback first. So if you have an opinion, shoot!
Will comments marked as "Done" still be brought forward?
Which would best suit your needs browsing diffs in Differential?
Maybe collapsing older comments when you get past some threshold similar to what is done in the section of the review and providing a per-thread "show older comments" control or something similar would make sense here?
Maybe collapsing older comments when you get past some threshold similar to what is done in the section of the review and providing a per-thread "show older comments" control or something similar would make sense here?
I'd have to agree that diffs seem much noisier now. For the way we use Differential at least, we generally find that older comments aren't all that useful and can actually get in the way depending on where they're placed (inside if blocks, for example).
Apr 28 2015
From a high level I can see benefit to having this feature:
- Changes which span multiple repositories would lend to discussions in a review spanning across multiple revisions.
- From a reporting/auditing standpoint having a single revision to refer to instead of multiple.
If we return rule as follows
Apr 27 2015
In T1460#109400, @asteinlein wrote:In T1460#108778, @avivey wrote:Very much +1 to this.
In T7447#109397, @epriestley wrote:In T1460#109396, @asteinlein wrote:We're liking the new feature to mark inline comments as done, however, we dislike the change that makes old comments "stick" to updated diffs. This makes it much harder to read the new updated diff when there are lots of inline comments. Any plans to improve this somehow?
Can you explain your use case a little more? Why are there lots of inline comments? (See discussion earlier in this task.)
Apr 26 2015
@asteinlein, would a 'minimal' UI be better for your team (see mocks above) or turning them off altogether (maybe via a keyboard shortcut) be most inline with your needs?
In T1460#108778, @avivey wrote:
See T7447.
@asteinlein, this is the task for porting comments across diffs.
We're liking the new feature to mark inline comments as done, however, we dislike the change that makes old comments "stick" to updated diffs. This makes it much harder to read the new updated diff when there are lots of inline comments. Any plans to improve this somehow?
Apr 24 2015
The Done state should maybe propagate to the replies of the comment?
This is a bug in Phabricator.
Oh, maybe I wasn't clear, sorry! Basically, please update to HEAD and verify you still see a bug. That is all I am asking from you.
But it works for any older branch that can be found here in any older revision. And it worked for us before migration (I don't know which version was before). And now it doesn't work for us, and it doesn't work here for any recent branch.
It's exceedingly rare that we have branches in Phabricator. I think I've seen it twice. We just use master.
@chad, I've just tried to search for herald_queryrules which is a Phabricator branch and no results too. Or please provide me a what you call "a branch on this server/repository" to test, I'll try.
go-unit-engine isn't a branch on this server/repository, at least, I don't expect it to return a result.
Apr 23 2015
In case it helps: I set debug.time-limit to 25s and got this stacktrace.
Ideally these large files would be collections of smaller files, and we have made progress towards this, but I suspect it will be a while before all such cases are completely fixed.
(Our largest human-facing source file is PhabricatorApplicationTransactionEditor.php and weighs in at a paltry 78KB.)
In an ideal world, would the regularly edited human-facing 537KB file still be a single 537KB file (rather than, e.g., a collection of smaller files, or a code-generated file, or some other kind of resource)?
Sorry, I'll make sure to describe problems in the future!
@jhurwitz - please don't forget https://secure.phabricator.com/book/phabcontrib/article/feature_requests/#describe-problems in light of your new powers. :D
And, if your desired value is larger, would making it easier to activate highlighting be a reasonable alternative approach? Currently you can highlight with:
If it was configurable, what value would you set it to?
Apr 22 2015
Apr 21 2015
D12497 doesn't directly fix any of this, but it makes links to other diffs much less common.