Incorrect file path display in tree view for unassigned/uncommitted files
Version
0.16.8
Operating System
macOS
Distribution Method
dmg (Mac OS - Apple Silicon)
Describe the issue
❯ gst
On branch gitbutler/workspace
Untracked files:
(use "git add <file>..." to include in what will be committed)
.github/actions/run-frontend-tests
In the GUI, the tree view for unassigned/uncommitted files sometimes displays file paths incorrectly. For example, the path is rendered as github/actions./run-frontend-tests when it should be .github/actions/run-frontend-tests.
Steps to reproduce:
- Make changes that result in unassigned or uncommitted files.
- Open the tree view for these files in the GitButler desktop app.
- Observe the file paths displayed—note if any paths are shown incorrectly, such as misplaced slashes or dots.
Actual result: Incorrect path such as github/actions./run-frontend-tests.
Expected result: Correct path .github/actions/run-frontend-tests.
This may relate to frontend path rendering code such as in UnassignedView.svelte and uncommittedService.svelte.ts.
How to reproduce (Optional)
- Make changes that result in unassigned or uncommitted files.
- Open the tree view for these files in the GitButler desktop app.
- Observe the file paths displayed—note if any paths are shown incorrectly, such as misplaced slashes or dots.
Expected behavior (Optional)
Paths should be displayed as .github/actions/run-frontend-tests.
Relevant log output (Optional)
Hi @estib-vega, I thought I'd ping you as this issue might be a candidate for inclusion in some frontend tests, as somehow I was convinced this was already fixed. Thanks again 🙏