report: more attractive table/URL rendering#4190
Merged
Conversation
patrickhulce
reviewed
Jan 8, 2018
Collaborator
patrickhulce
left a comment
There was a problem hiding this comment.
nice! so good
do you know how this impacts cells that are in the url column but are actually other types like code? i'm thinking of the css usage audit in particular
| element.appendChild(this._renderText({ | ||
| text: displayedPath, | ||
| })); | ||
| const hostElem = this._renderText({ |
Collaborator
There was a problem hiding this comment.
does this need to be conditional on displayedHost?
|
|
||
| const MAX_LENGTH = 64; | ||
| // Always elide hash | ||
| // Always elide git hash |
Collaborator
There was a problem hiding this comment.
how about just hex hash :)
| // Also elide long number sequences | ||
| name = name.replace(/(\d{3})\d{6,}/g, `$1${ELLIPSIS}`); | ||
| // Merge any adjacent ellipses | ||
| name = name.replace(/\u2026+/g, '\u2026'); |
Collaborator
There was a problem hiding this comment.
\u2026 is ellipsis right, so just pass ELLIPSIS here like the others? :)
c66a63b to
c54014a
Compare
Member
Author
Member
Author
|
awaiting CI results. when green, land away. |
Collaborator
|
geez since when did "Unable to connect to Chrome" start failing 100% of the time?? |
This was referenced Jan 11, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Before and after
partial fix for #3827 but its not totally complete.