Repository navigation
improve the displaying of renames and copies - #902
Conversation
Previewing a copied changeAs this was There's also the same When you enable Renames and Copies are coloured slightly differentI've used the "new" colour for the copied change as this is a new file, and the "modified" for the rename (which isn't coloured currently): This also is available in the history view: |
PathLabel supports undefined, so making this available for PathText means callers can choose to avoid these sizing and let the defaults take over
|
Some little visual tweaks to call out here:
Here's what it looks like with excessively long paths: I've opened #917 to track the long rename/copies overflowing (this is occuring on |
|
Ready for review ⚙️ |
joshaber
left a comment
There was a problem hiding this comment.
This looks good to me 👍 One question and needs a merge.
| readonly status: FileStatus | ||
|
|
||
| readonly availableWidth: number | ||
| readonly availableWidth?: number |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
🐩 |






Fixes #900
Fixes #605
A bunch of related visual issues:
PathLabelusage and see if it can be simplified