Skip to content

Fix package selection in the new Finder #1128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: Pharo13
Choose a base branch
from

Conversation

jecisc
Copy link
Member

@jecisc jecisc commented May 19, 2025

Fixes #1126

Now we can select a package we did not select originaly

I also did a refeactoring so that all of the environment search behavior is in StFinderEnvironmentBar and not in StFinderPresenter. This should make the code simpler and not mix the management of the environment in two classes

Fixes pharo-spec#1126

Now we can select a package we did not select originaly

I also did a refeactoring so that all of the environment search behavior is in StFinderEnvironmentBar and not in StFinderPresenter.
This should make the code simpler and not mix the management of the environment in two classes
Comment on lines +68 to +70
| globalEnv |
globalEnv := RBBrowserEnvironment new.
^ (globalEnv forPackages: globalEnv packages) packages collect: [ :package | package name ] as: OrderedCollection
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the main change of the PR. Most of the other changes are to move the behavior of environment selection in StFinderEnvironmentBar instead of StFinderPresenter.

Before we looked in a filtered environment, now we look in an environment having all the packages of the image

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.

[Finder] Unselected packages cannot be reselected
1 participant