Skip to content

Dev stage fixes#275

Merged
LANDAISB merged 4 commits into
devStagefrom
devStage_fixes
Jun 4, 2026
Merged

Dev stage fixes#275
LANDAISB merged 4 commits into
devStagefrom
devStage_fixes

Conversation

@MagueresMathieu
Copy link
Copy Markdown
Collaborator

No description provided.

@MagueresMathieu MagueresMathieu requested a review from LANDAISB May 28, 2026 14:07
ToAlbum.
ToTextField.
ToListElement. }.
knownNotUsable := #( #ToCircularMenuInnerElement
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why need this list ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We need this list because these elements cause errors, and the test to create an element and verify if it works does not work for these elements.

elements: (okElements sorted: [ :a :b | a name < b name ]);
yourself).
(PyramidLibraryCategory new
name: 'Unstable';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe 'Toplo' and 'Unstable' not good names. ''Toplo-Verified' and 'Toplo-Unverified' ?

^ {
(PyramidLibraryCategory new
name: 'Toplo';
icon: (Smalltalk ui icons iconNamed: #box);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Another icon ? With a check ?

ToImage.
ToAlbum.
ToTextField.
ToListElement. }.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ToAlbum and ToListElement are functional ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I added serialization methods to these elements, and the tests pass, so I think they are usable

{ #category : #accessing }
PyramidLibraryElement >> status [

^ status ifNil: [ #ok ]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe #unstable default

]

{ #category : #accessing }
PyramidLibraryElement >> status: aSymbol [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the different status should be defined on class methods (instead of calling #ok or #unstable, call PyramidLibraryElement statusUnstable). Easier to maintain.

@MagueresMathieu MagueresMathieu requested a review from LANDAISB June 1, 2026 09:05
@LANDAISB LANDAISB merged commit 1fdc78e into devStage Jun 4, 2026
9 checks passed
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.

2 participants