question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Ignore file" uses confusing verbiage

See original GitHub issue

Please describe the problem you think should be solved

When right-clicking a changed file, a context menu shows up with several options, two of which are “Ignore file” and “Ignore all files”. It’s not readily apparent what’s actually going to happen when you click either of those. Is it going to just ignore them in Desktop? Does it add the files to your .gitignore? It’s only apparent that it’s the latter after you’ve clicked them.

screen shot 2019-01-22 at 1 53 20 pm

[Optional] Do you have any potential solutions in mind?

We discussed this internally and threw out a few options that attempt to more explicitly describe what’s happening for both beginners and more advanced Git users.

  1. “Ignore file with .gitignore” / “Ignore all .gradle files with .gitignore”
  2. “Ignore file (add to .gitignore)” / “Ignore all .gradle files (add to .gitignore)”
  3. “Ignore file in Git” / “Ignore all .gradle files in Git”

I think all of them are improvements over what we have today, but I’m curious if there are any other thoughts or considerations. The length of the “Ignore all…” for (1) and (2) above doesn’t feel great, but maybe ok?

When we settle on something, this feels like something that could be a good-first-issue.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
PaulViolacommented, Jan 22, 2019

I’m happy to help! Here are the screenshots.

“Ignore file with .gitignore” / “Ignore all .gradle files with .gitignore” image


“Ignore file (add to .gitignore)” / “Ignore all .gradle files (add to .gitignore)” option_2


“Ignore file in Git” / “Ignore all .gradle files in Git” option_3

1reaction
billygriffincommented, Jan 23, 2019

@PaulViola As long as you’re ok with folks potentially pushing back in the PR, feel free to go forth with option 2 since it seems like folks generally think that’s a good idea. It doesn’t strike me as wildly long to where it’s problematic visually. Thanks for showing us the options!

One thing for the PR - please ensure the capitalization is correct based on whether it’s macOS (labeled as Darwin in the code base) or not (macOS is title case and otherwise it’s sentence case).

Read more comments on GitHub >

github_iconTop Results From Across the Web

.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Git ignore patterns are used to exclude certain files in your working directory from your Git history. They can be local, global, or...
Read more >
Ignoring files - GitHub Docs
Configuring ignored files for a single repository. You can create a .gitignore file in your repository's root directory to tell Git which files...
Read more >
Make .gitignore ignore everything except a few files
To ignore some files in a directory, you have to do this in the correct order: For example, ignore everything in folder "application"...
Read more >
Git: Ignore Files with .gitignore - Stack Abuse
Why use .gitignore? Manually ignoring files that you don't want to track is manageable on a small-scale project, but as soon as your...
Read more >
Confused why files in .gitignore are still showing as ...
This is really confusing me because the files that SHOULD be ignored are showing with the files that SHOULD be added: For example...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found