atom-project-plus icon indicating copy to clipboard operation
atom-project-plus copied to clipboard

Better (mostly visual) support for multiple paths

Open mehcode opened this issue 8 years ago • 2 comments

  • [ ] Adding/Removing a path to a project makes a new project with the current path set joined with the new path. It leaves the old project in the project finder.

This is intended behavior in the state store of atom (as states are keyed by the path array). This is not necessarily a bad thing for crash restore.. but it's a bit odd.

Still mulling about how to fix this nicely. My current idea is to add a listener to when a path gets added/removed to the project and archive the old state. This would mean it still exists for atom (and crash restore) but it wouldn't exist for the finder. We could add a property to the project state ("+archive": true perhaps).


  • [x] Projects that share paths could look similar in finder. The finder just uses project.paths[0] for the visual part of it.

We should at least indicate that it contains multiple projects in the primary title.

mehcode avatar Feb 25 '16 07:02 mehcode

Would love some ideas on how to make the finder look nice for multi-path projects.

mehcode avatar Mar 03 '16 10:03 mehcode

Here is one idea.

In order to keep the simplicity of the display, you add a little indicator like "(and N more)" on the right of the basepath. If the user want to see the full list of path, a command (bind to the right arrow ?) will expand the tile to display all the paths. A tree view could be use to improve readability.

VincentGuinaudeau avatar Mar 06 '16 11:03 VincentGuinaudeau