Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

adpinola
Copy link
Contributor

@adpinola adpinola commented Oct 14, 2022

This PR adds the Linux implementation for retrieving multiple directories paths from a select folder dialog.

Issue: Support for selection of multiple directories, through desktop's native open panel, in 'file_selector' package #74323

VirtualBoxVM_rwSR7C6lcO
New option on example application

image
GetDirectoriesPaths

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@adpinola adpinola force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch 3 times, most recently from 0cf7ba6 to fe8c0e5 Compare October 17, 2022 16:15
@adpinola
Copy link
Contributor Author

Changes applied, thanks

@VanesaOshiro VanesaOshiro force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch from fe8c0e5 to 5b904ba Compare October 18, 2022 15:24
@adpinola adpinola changed the title [file_selector] add getDirectoriesPaths implementation on Linux [file_selector] add getDirectoryPaths implementation on Linux Oct 18, 2022
@adpinola adpinola force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch 2 times, most recently from 898579f to be33cb1 Compare October 19, 2022 20:53
@adpinola adpinola force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch from be33cb1 to 12039d1 Compare November 2, 2022 12:36
@adpinola adpinola force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch 3 times, most recently from e677837 to bb55a74 Compare November 11, 2022 13:46
@adpinola adpinola force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch 6 times, most recently from 35a3574 to 387d68e Compare November 18, 2022 12:43
@adpinola adpinola marked this pull request as ready for review November 18, 2022 12:57
Add getDirectoriesPaths to method channel.

Increment version to 2.3.0

apply feedback

extract assertion method
@adpinola adpinola force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch from 387d68e to 332d8dc Compare November 22, 2022 13:46
@adpinola adpinola force-pushed the file_selector/linux/74323-add-get-directories-paths-implementation branch from 332d8dc to ae9ab80 Compare November 22, 2022 14:05
@stuartmorgan
Copy link
Contributor

What's the state of this PR? Is it ready for re-review?

@adpinola
Copy link
Contributor Author

adpinola commented Dec 16, 2022

What's the state of this PR? Is it ready for re-review?

Yes, it is.

Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cbracken for second review.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM stamp from a Japanese personal seal

@@ -0,0 +1,2 @@
CMakeCache.txt
CMakeFiles/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extremely pedantic nitpick: add a trailing newline. :)

@stuartmorgan
Copy link
Contributor

I'm going to land this as-is so we're not doing a new test run just for the newline; if we ever need to touch that file again we can always add the missing newline then.

@stuartmorgan
Copy link
Contributor

submit-queue status is stale, so landing manually.

@stuartmorgan stuartmorgan merged commit db4d20c into flutter:main Jan 22, 2023
@adpinola adpinola deleted the file_selector/linux/74323-add-get-directories-paths-implementation branch January 23, 2023 12:23
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
…r#6573)

* Add getDirectoriesPaths method to the file_selector_platform_interface

Add getDirectoriesPaths to method channel.

Increment version to 2.3.0

apply feedback

extract assertion method

* add getDirectoryPaths Linux implementation

* apply rebase

* update version to 0.9.1

Co-authored-by: eugerossetto <eugenio.rossetto@southworks.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants