Skip to content

Conversation

@adpinola
Copy link

@adpinola adpinola commented Oct 6, 2022

This PR includes the changes in:

Issue: [file_selector_windows] Migrate CPP implementation to Dart. #112212

These changes finish the Migration from CPP to Dart.
The following images show the current functionality tested against the example app located at file_selector_windows/example

eodopentxt
Open File

eodopenimage
Open Image

openmultipleimages
Open Multiple Images

eodfilesaved
Save a File

eodgetdirectorypath
Get Directory Path

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/windows/66584-migrate-FileSelectorApi branch from 39158c0 to 151e185 Compare October 11, 2022 12:33
@adpinola adpinola force-pushed the file_selector/windows/66671-replace-file-selector-api-with-new-implementation branch from 4c72455 to 0110958 Compare October 11, 2022 12:34
}

List<TypeGroup> _typeGroupsFromXTypeGroups(List<XTypeGroup>? xtypes) {
List<XTypeGroup> _getValidFromXTypeGroups(List<XTypeGroup>? xtypes) {

Choose a reason for hiding this comment

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

maybe we can find a better name for this method

@adpinola adpinola force-pushed the file_selector/windows/66584-migrate-FileSelectorApi branch from 151e185 to 73ffb8e Compare October 12, 2022 13:12
@adpinola adpinola force-pushed the file_selector/windows/66671-replace-file-selector-api-with-new-implementation branch from 7171335 to 90ed9c4 Compare October 12, 2022 13:13
@adpinola adpinola force-pushed the file_selector/windows/66584-migrate-FileSelectorApi branch from 73ffb8e to 9a1ca9a Compare October 12, 2022 17:15
@adpinola adpinola force-pushed the file_selector/windows/66671-replace-file-selector-api-with-new-implementation branch 2 times, most recently from 97f0f34 to 54b401c Compare October 12, 2022 17:22
@adpinola adpinola force-pushed the file_selector/windows/66584-migrate-FileSelectorApi branch from 9a1ca9a to 07f6dce Compare October 12, 2022 17:36
eugerossetto and others added 2 commits October 12, 2022 14:37
Remove the old implementation with C++.

use dart implementation

rename method
@adpinola adpinola force-pushed the file_selector/windows/66671-replace-file-selector-api-with-new-implementation branch from bf96c82 to e346432 Compare October 12, 2022 17:38
@adpinola
Copy link
Author

Closing this PR because it will be opened in main repository

@adpinola adpinola closed this Oct 12, 2022
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.

3 participants