Skip to content

Custom scopes can be browsed in Calypso#16771

Merged
tesonep merged 4 commits intopharo-project:Pharo13from
carolahp:scopeEditorCalypsoIntegration
Jun 28, 2024
Merged

Custom scopes can be browsed in Calypso#16771
tesonep merged 4 commits intopharo-project:Pharo13from
carolahp:scopeEditorCalypsoIntegration

Conversation

@carolahp
Copy link
Contributor

@carolahp carolahp commented Jun 14, 2024

Currently, custom scopes, these are scopes created by users through the scopes editor, cannot be correctly browsed on Calypso.
This PR correctly enables the previous feature.

However, creating/editing/removing classes, methods, etc in the scope has not been tested, and remains as work to be done.

This work depends on NewTools PR#783

@carolahp carolahp marked this pull request as ready for review June 17, 2024 23:32
@carolahp carolahp requested a review from tesonep June 17, 2024 23:32
{ #category : 'accessing' }
{ #category : 'comparing' }
ClyScopedSystemEnvironment >> identityHash [
^ self scope label identityHash
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tesonep I implemented this to be able to use these system environments as keys in the dictionary defaultGlobalEnvironments. It doesn't smell good, but I couldn't think of another way, could you please give me your feedback on it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

It is strange that the GlobalEnvironment is an identityDictionary.
I will put a comment and mark it as something we need to fix

@jecisc jecisc closed this Jun 18, 2024
@jecisc jecisc reopened this Jun 18, 2024
Copy link
Collaborator

@tesonep tesonep left a comment

Choose a reason for hiding this comment

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

Can you add a comment in the smelly method

@carolahp carolahp requested a review from tesonep June 20, 2024 13:42
@tesonep tesonep merged commit 09c1dc0 into pharo-project:Pharo13 Jun 28, 2024
@carolahp carolahp deleted the scopeEditorCalypsoIntegration branch June 28, 2024 16:44
@guillep
Copy link
Member

guillep commented Jul 1, 2024

Hi @carolahp this is breaking the latest build in a way that it's difficult to work.
Calypso, browse senders and implementors break with a DNU.

I'm going to propose a revert, do not hesitate to redo the PR with a new enhanced version!

@carolahp
Copy link
Contributor Author

carolahp commented Jul 1, 2024

Hello @guillep, I understand, I will take a look now and redo the PR

@guillep
Copy link
Member

guillep commented Jul 2, 2024

Thanks @carolahp !

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.

4 participants