[go: up one dir, main page]

Skip to content

Configurable appearance of "large files" warning messages.

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The "collapsed files" messages take up a lot of space. Please allow users or organizations to disable this messaging.

At the top of the MR Changes window there is a large banner which says "Some changes are not shown" and "For a faster browsing experience, some files are collapsed by default." Then there's an "Expand all files" button.

In each file that's tagged in .gitattributes as gitlab-generated, I also get a big message for each file that "Generated files are collapsed by default. To change this behavior, edit the .gitattributes file." with a link to "Learn more" and a button on another line to "Expand file".

I've been using Gitlab for a year now and know how it works. I recently started using Ent with Go and it creates a ridiculous number of generated files and changes those files pretty much continuously. I edit a dozen files but over a hundred are in the Changes list, and using Ent basically means that any interesting change touches a lot of files... and this warning message takes up a lot of space.

What I would like to happen is to have these warnings completely go away. There's not a ton of point to collapse the files and put this message on every file and allow me to expand them all. I can expand the file with the little !chevron... but that's dodgy maybe in part because so many of these files have this warning message on them? (Today I tried to expand a file and found that the collapsed/warned entry stayed but the diff was actually open mid way up in the list of changes.)

gitlab-collapsed

Edited by 🤖 GitLab Bot 🤖