Skip to content

Truncate long directory names in working set#2311

Closed
devvaannsh wants to merge 4 commits intomainfrom
pluto/wk-fix
Closed

Truncate long directory names in working set#2311
devvaannsh wants to merge 4 commits intomainfrom
pluto/wk-fix

Conversation

@devvaannsh
Copy link
Copy Markdown
Member

@devvaannsh devvaannsh commented Jun 28, 2025

In the working set, when files from external folders were opened, we used to show the full directory path. This often made the path unnecessarily long.

Fixed it — now, if a file is nested more than 3 levels deep, we display the path in a shortened format: root folder/.../parent folder.

Issue reference: #2187

Visual reference
Before
Screenshot 2025-06-28 181642

After
Screenshot 2025-06-28 181721

Comment thread src/project/WorkingSetView.js
Comment thread test/spec/WorkingSetView-integ-test.js Outdated
Comment thread test/spec/WorkingSetView-integ-test.js Outdated
Comment thread src/project/WorkingSetView.js Outdated
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Jul 4, 2025

@devvaannsh
Copy link
Copy Markdown
Member Author

Closing. Will reopen a new PR for this

@devvaannsh devvaannsh closed this Jul 5, 2025
@devvaannsh devvaannsh deleted the pluto/wk-fix branch July 15, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants