Move collapsed partial into a diff viewer
We have a concept of diff viewers, which renders diff file differently depending on the type of this diff file
Following this concept, we can move rendering of a collapsed diff file into a diff viewer and avoid unnecessary calculation of a diff file type