Skip to content

Conversation

@infeo
Copy link
Member

@infeo infeo commented Jan 10, 2023

This PR adds the RevealPathsService to the library.

The service is intended to open for a given path the system default file manager with the path in the file manager selection.

Until commit 53f7b57 (exlcuding), there was also a function to reveal several paths, but this part needs more work.

@infeo infeo added the enhancement New feature or request label Jan 10, 2023
@infeo infeo added this to the 1.2.0 milestone Jan 10, 2023
@infeo infeo requested a review from tobihagemann January 10, 2023 13:31
@infeo infeo self-assigned this Jan 10, 2023
@infeo infeo requested a review from tobihagemann January 11, 2023 09:01
* for files, select file in file manager
* for directory, just open dir in file manager
@infeo
Copy link
Member Author

infeo commented Jan 11, 2023

After a discussion the spec is now changed:

The API requires to differentiate between files and folders:

  • a file has to be selected in the file manager window
  • a folder has to be opened in the file manager window

This ensures a clear API without any exceptions or "unspecified" behaviour.

Co-authored-by: Tobias Hagemann <tobias.hagemann@skymatic.de>
@infeo infeo merged commit 4e572d7 into release/1.2.0 Jan 11, 2023
@infeo infeo deleted the feature/reveal-files-service branch January 11, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants