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

chore(pages): edit form no longer uses global config for form elements #7346

Closed
wants to merge 1 commit into from

Conversation

jeabakker
Copy link
Member

The pages edit form used a global config for it's form elements. This
was very confusing and not as extendable as expected.

fixes: #4490

The pages edit form used a global config for it's form elements. This
was very confusing and not as extendable as expected.

fixes: Elgg#4490
/**
* This view outputs the deprecated way of extending the pages form elements.
*
* DON'T extend or overrule this view as it will be removed in Elgg 1.11
Copy link
Member

Choose a reason for hiding this comment

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

Cannot be removed until 2.0.

Copy link
Member Author

Choose a reason for hiding this comment

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

why not?

Copy link
Member

Choose a reason for hiding this comment

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

Semver allows us to remove API only in major versions.

@ewinslow
Copy link
Contributor

I don't see how we can accept this change. The fact that it was configurable is part of the API (poorly designed, I'll admit, but API nonetheless). That makes this a breaking change which we can't accept for 1.x no matter how small the breakage is perceived to be.

@ewinslow
Copy link
Contributor

Am I missing something?

@ewinslow
Copy link
Contributor

Also I'd like to move to more configuration like this for forms, actually, not less. It just needs to be better designed configuration. Forms have so much repeated code it's maddening.

@mrclay
Copy link
Member

mrclay commented Oct 20, 2014

Definitely can't do for 1.x, but see my comment.

@mrclay mrclay closed this Oct 20, 2014
@jeabakker jeabakker deleted the pages-form-cleaup branch October 13, 2016 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants