这是indexloc提供的服务,不要输入任何密码
Skip to content

Don't show diff for specific file types #217

@damies13

Description

@damies13

Background:

I'm working on a project where I need to create a windows .exe file for a python project, most of the development is done on a dev machine and then I need to logon to a windows machine to create the exe with pyinstaller.

Issue:

When I got to check in the exe file into the repro, as the exe file is the only change gitlab auto selects it for preview and then hangs on trying to create a preview for this exe file, so I'm not able to commit the change as the commit button never becomes active (I am able to type the commit message though)

Idea's for possible solutions:

  • Make the GUI not wait for the diff to complete, i.e. allow commit or switch between files when the diff progress circle animation is showing.
  • have a configuration option to disable preview for specific file types (this could be via a file like the .gitignore file, e.g. .diffignore or via a UI setting. show a message for these file types saying "diff has been disabled for this file type" or "unable to diff file" so the user is not confused.

Oh after typing all this, the diff did eventually load, took ~30 min, which to most users is the same as the application hanging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions