Updating renderer is a big oof. The value sometimes depends on the window dimensions on the client.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Apr 17 2020
There is currently no storage unique to a <user, changeset> pair, or a <user, diff> pair, or a <user, revision> pair.
keyboard shortcut for "Open in Editor".
Apr 15 2020
I get the sense that most of this discussion is around diffs, but we've been having issues with the default size of 8 showing in code blocks in Phriction causing more wrapping than we would like.
Feb 27 2020
Perhaps another approach that could be considered, doing the colorizing in the browser using something like highlight.js (https://highlightjs.org/). This, of course, puts the CPU burden on the end user instead of the server.
Feb 24 2020
One minor issue with this is that there's some duplication when the commit Fixes Txxx and the associated revision already has the edge (which is very common if the commit Fixes Txxx, because the revision almost always also Fixes Txxx):
Feb 13 2020
Feb 12 2020
Feb 4 2020
Feb 3 2020
I just wanted to hold it across the release cut, it's headed to master shortly.
@epriestley what's blocking landing this diff?
Jan 30 2020
Sounds good. It felt slightly odd to me at first, too, but I think I also got used to it.
It wasn't a major UI issue to start with and yes, you get used to it. I would ignore.
The empty space means "this is a normal commit with no special audit state", and the column collapses if no commits have issues (see this task for an example). That seems fairly reasonable to me?
The underlying code is still a bit shaky, so let me know if you catch other issues.
In DifferentialHunkParser->generateVisibleLinesMask(), we pass a 0-based array in and get a 1-based ("line number") array out. The loop condition stops us from reaching the last line of the 0-based array.
Nov 21 2019
I don't currently plan to pursue this.
Nov 13 2019
Nov 8 2019
Nov 4 2019
Layout looks very neat but a strange too with that big space gap between the icon on each row and the actual text in this case:
Nov 1 2019
Oct 31 2019
Oct 29 2019
After D20877, we'll forcefully override this option when generating diffs internally.
Oct 26 2019
Oct 25 2019
Oct 24 2019
One change we can make here is to explicitly specify -c diff.suppressBlankEmpty false in the arc diff command, as we currently use --src-prefix and --dst-prefix to override diff.mnemonicprefix. This is likely desirable, but it would be good to also parse these diffs properly if they arrive through --raw or copy/pasting, etc.
Oct 2 2019
Sep 30 2019
Context isn't automatically unfolding around inlines, but should.
Oh, and maybe lack of source code intraline diffs, although that's likely not too much work.
I think the major remaining issues are:
Sep 28 2019
Sep 27 2019
Sep 26 2019
Sep 25 2019
??? it just works ???
Jupyter as blocks, no diffing or inlines yet:
- Differential shows a "this file is big, so syntax highlighting is disabled by default" warning even when a document engine which does not use syntax highlighting renders the document.
- There's also no "render as native source" option, but there is a "View as Source" option, which doesn't work. Gotcha!
- The options in the "View As..." dropdown are exhaustive, and most do not work, because they aren't based on the changeset being rendered (so we'll give you an option to render a Jupyter notebook as audio, for example). This isn't trivial to fix and it isn't terribly important for this to function as an escape hatch back to old behavior.
- Since we expect most documents to have a relatively small number of options here, a list of clickable options might be better than a <select /> dropdown.
In an effort to "do no harm", I'm planning to add a "Render with Document Engine..." option to the View Options dropdown next. This will let you (for example) view a Jupyter notebook as a raw source diff if you want, if the "fancy" diff is broken or unhelpful for some reason, so you always have an escape hatch back to a lower level representation.
- TwoUp image comments aren't triggering (also in master).
- OneUp image comments need some cell span adjustments.
Aug 22 2019
sourceMachine is currently exposed only in the UI.

