-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
FEATURE: implements @private #158
base: 8.3
Are you sure you want to change the base?
Conversation
Jan3k3y
commented
Mar 10, 2023
•
edited by ahaeslich
Loading
edited by ahaeslich
- Use @Private in Headline and Slider
- Refactor Slider renderer into afx
- todo for refactor slider component
further todo would be to look at all usages of |
0a49dae
to
57197c6
Compare
- @Private in Headline, Book and Slider - rewrote Slider renderer into afx - todo for refactor slider component
57197c6
to
df9cbf4
Compare
` | ||
} | ||
|
||
//todo rework this component, to verify what is used and/or needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mhsdesign and/or @Jan3k3y do you still want to work on this todo?
@@ -18,37 +19,36 @@ prototype(Neos.Demo:Presentation.Slider) < prototype(Neos.Fusion:Component) { | |||
gap = 12 | |||
} | |||
|
|||
attributes = Neos.Fusion:DataStructure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you notice that with removing this and the following changes for attributes
you can't add additional attributes to the slider anymore? So this refactoring would change the components behaviour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't change the interface in such a PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we actually dont need the attributes
ourselves (for the integration)
so this was only exposed so possibly other people could use the slider component themselves?
This seems like an odd concept - as for me the neos demo is just a demo without any contract and any expectations any guarantees -> Otherwise our refactor and redesign from 8.2 to 8.3 would have been breaking and illegal.
So i disagree. Imo we are allowed to change it, and in our case it makes the component easier to maintain and migrate to private props.
Guess we did not finish this for the release of 8.3.0 but would be a nice update afterwards :) |
@@ -18,37 +19,36 @@ prototype(Neos.Demo:Presentation.Slider) < prototype(Neos.Fusion:Component) { | |||
gap = 12 | |||
} | |||
|
|||
attributes = Neos.Fusion:DataStructure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't change the interface in such a PR
Whats the status here? |
feel free for anyone to pick up this work ;) |
@Jan3k3y & @mhsdesign do you want to finish this and add an |