Skip to content
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

Major refactoring and fixes in New File Browser #660

Merged
merged 10 commits into from
Jan 23, 2024

Conversation

hernanmd
Copy link
Member

This PR includes features and major refactorings to the File Browser, including:

  • Display bookmarks in FileBrowser and Dialogs.
  • Refresh bookmarks when adding or removing.
  • When the directory dialog is opened, only directories are shown.
  • A lot of duplicated code were removed.
  • Better names for methods and instance variables.
  • Fixed a test

Hernán Morales Durand added 6 commits January 20, 2024 22:19
Enable window title in presenters.
Replace UIManager reference.
Use the same columns by default in all dialogs and browser.
Add comments.
Minor refactorings
Move bookarks management to StFileSystemModel.
Add comments.
Use better variable and method names.
Add missing method #updateFileSystemPresenters
Remove unnecessary update in breadcrumb action.
@hernanmd hernanmd self-assigned this Jan 21, 2024
@hernanmd hernanmd added the enhancement New feature or request label Jan 21, 2024
@Ducasse
Copy link
Contributor

Ducasse commented Jan 21, 2024

Do you still get the trait bug? because I thought Guille fixed it?
Did you use the latest version?

@Ducasse
Copy link
Contributor

Ducasse commented Jan 21, 2024

We get

 ✗ #testObsoleteClasses (673ms)
KeyNotFound: key #bookmarksTreeTable not found in SystemDictionary

@hernanmd
Copy link
Member Author

Do you still get the trait bug? because I thought Guille fixed it? Did you use the latest version?

I used the latest version, however I saw #15978 wasn't integrated.
I will check the PR.

@Ducasse
Copy link
Contributor

Ducasse commented Jan 21, 2024

Indeed I saw that the fix of Guille did not get in but basicTraitComposition does not exist so this is normal.

@Ducasse
Copy link
Contributor

Ducasse commented Jan 21, 2024

Did you see we got

 ✗ #testObsoleteClasses (673ms)
KeyNotFound: key #bookmarksTreeTable not found in SystemDictionary

@Ducasse Ducasse closed this Jan 21, 2024
@Ducasse Ducasse reopened this Jan 21, 2024
@hernanmd
Copy link
Member Author

Did you see we got

 ✗ #testObsoleteClasses (673ms)
KeyNotFound: key #bookmarksTreeTable not found in SystemDictionary

Tests were all green here so I'll keep checking tomorrow

Screenshot 2024-01-22 at 00 38 30

@hernanmd
Copy link
Member Author

Did you see we got

 ✗ #testObsoleteClasses (673ms)
KeyNotFound: key #bookmarksTreeTable not found in SystemDictionary

Fixed. It was the TraitedClass class side definition problem.

Current failures is not related:

ProperMethodCategorizationTest
 ✗ #testNoUncategorizedMethods (15ms)
TestFailure: the following classes have uncategorized methods: an OrderedCollection(IceTipPackageModel class)
ProperMethodCategorizationTest(TestAsserter)>>assert:description:resumable:
ProperMethodCategorizationTest(TestAsserter)>>assert:description:
ProperMethodCategorizationTest>>testNoUncategorizedMethods ...assert: remaining isEmpty description: 'the following classes have uncategorized methods: ' , remaining asString
ProperMethodCategorizationTest(TestCase)>>performTest

ReleaseTest
 ✗ #testThatThereAreNoSelectorsRemain...tAreSentButNotImplemented (696ms)
TestFailure: an OrderedCollection('IceTipCherryPickCommand>>#selectedCommitish' 'IceTipInspectCommand>>#item' 'TIceRepositoryReader classTrait>>#id' 'TIceRepositoryWriter classTrait>>#id') should have been empty
ReleaseTest(TestAsserter)>>assert:description:resumable:
ReleaseTest(TestAsserter)>>assert:description:
ReleaseTest(TestAsserter)>>assertEmpty:
ReleaseTest>>testThatThereAreNoSelectorsRemainingThatAreSentButNotImplemented ...assertEmpty: (violations difference: knownFailures)
ReleaseTest(TestCase)>>performTest

@Ducasse Ducasse merged commit 84a5d5f into pharo-spec:Pharo12 Jan 23, 2024
0 of 2 checks passed
@hernanmd
Copy link
Member Author

Thanks!

@hernanmd hernanmd deleted the add_bookmark_pane branch July 6, 2024 09:51
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.

2 participants