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

JFormOption #5147

Closed
wants to merge 13 commits into from
Closed

Conversation

okonomiyaki3000
Copy link
Contributor

@okonomiyaki3000 okonomiyaki3000 commented Nov 20, 2014

This is the same as #1192 but for staging instead of master.

@Hackwar
Copy link
Member

Hackwar commented Nov 20, 2014

Can you fix the codestyle errors?

@okonomiyaki3000
Copy link
Contributor Author

Fix some merge conflicts in this old thing. This is still really cool, btw.

@zero-24
Copy link
Contributor

zero-24 commented Sep 29, 2015

Hmm looks like a unit test fails here?

Can you have a look? https://travis-ci.org/joomla/joomla-cms/builds/82667974

@okonomiyaki3000
Copy link
Contributor Author

There was a bug in my code but I also found that the unit test was laughable. So it's a bit better now. However, it's using the assertTag test which may be a problem in the future. I think it's the best test for html because it doesn't fail on things like whitespace or other things that shouldn't matter in html but it seems to be removed in later version of phpunit so we may need to find a new way to test html output.

@mbabker
Copy link
Contributor

mbabker commented Oct 5, 2015

It's removed from PHPUnit 5. So either we need to eventually write something similar or pull in some third party library that has the ability to parse that stuff in a unit test run.

@okonomiyaki3000
Copy link
Contributor Author

I'd rather just see all html removed from server-side code but that's kind of a pipe dream.

@dgrammatiko
Copy link
Contributor

@okonomiyaki3000 can you delete this file: libraries/joomla/form/options/index.html? Joomla dropped all the blank .html files long time ago

@okonomiyaki3000
Copy link
Contributor Author

Yeah, I seem to have some vague recollection of that.

@roland-d
Copy link
Contributor

roland-d commented May 8, 2016

@okonomiyaki3000 I know this is another old PR but I agree that this is still cool to implement. If you could update the PR to resolve the merge conflicts I will get some people to test this and we can implement it for 3.6. Thanks.

@okonomiyaki3000
Copy link
Contributor Author

@roland-d Thanks, I was thinking of getting back to this one soon anyway. I'm glad to know there's interest in it. The usefulness of it might not be immediately obvious to everyone but I happen to think it's pretty great.

@roland-d roland-d added this to the Joomla 3.7.0 milestone May 29, 2016
@roland-d
Copy link
Contributor

@okonomiyaki3000 I have set the milestone for now to 3.7.0 as we are too late for 3.6.0.

@ghost
Copy link

ghost commented Aug 1, 2016

I have tested this item 🔴 unsuccessfully on 742fa5e

I tested this Patch with the Patch Tester 2.0.1 and it throws an error: "The file marked for modification does not exist: layouts/joomla/fields/radio.php"

Tested @icampus


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5147.

@krim404
Copy link

krim404 commented Aug 1, 2016

I have tested this item 🔴 unsuccessfully on 742fa5e

Same error as Edu20 - file missing. Does this need another patch before?
@icampus


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5147.

@mbabker
Copy link
Contributor

mbabker commented Aug 1, 2016

Make sure you've actually got that file in your local install. Should be present as of 3.5.0.

@mbabker
Copy link
Contributor

mbabker commented Aug 1, 2016

Oh, nevermind, I see the issue now. This does need to be sync'd with staging it looks like; the file it's groaning about appears to have been renamed.

@okonomiyaki3000
Copy link
Contributor Author

Sorry guys, this is really old and needs a lot of work. I'm glad it's getting some attention again because I still think it's a great idea but I need to find some time to to fix it up.

Also, I never took into account grouped lists. Really I don't know why grouped lists need to be any different from ungrouped lists. I'll need to have that in mind when updating this I guess.

@roland-d
Copy link
Contributor

roland-d commented Aug 2, 2016

@okonomiyaki3000 Yeah I know this is old but you know by now that I tend to drag these things out into the light ;) Shall we close this issue for now and can be re-opened or a new one can be made when you have time for it?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5147.

@zero-24 zero-24 mentioned this pull request Oct 3, 2016
@zero-24
Copy link
Contributor

zero-24 commented Oct 3, 2016

New PR: #12288

@zero-24 zero-24 closed this Oct 3, 2016
@zero-24 zero-24 removed this from the Joomla 3.7.0 milestone Oct 3, 2016
@okonomiyaki3000
Copy link
Contributor Author

@roland-d I finally got around to doing a little work on it. How do you think it's best to proceed? From here or with a new pr? Just so you know, I don't think it's quite ready to merge yet but anyway I'm ready to continue discussing and working on it.

@zero-24
Copy link
Contributor

zero-24 commented Oct 17, 2016

I have opend a new PR maybe you can fork that branch and do your own PR?

@okonomiyaki3000
Copy link
Contributor Author

OK, that sounds good. has some work been done on it then? I guess I'd better go see.

@zero-24
Copy link
Contributor

zero-24 commented Oct 17, 2016

https://github.com/zero-24/joomla-cms/tree/5147

I have just fixed the conflicts

@okonomiyaki3000
Copy link
Contributor Author

@zero-24 It looks like that branch needs to be rebased with staging. It might end up being a big hassle. I have a branch that's already been rebased, maybe it's best to make a new PR? or has some work been done on your branch already?

@zero-24
Copy link
Contributor

zero-24 commented Oct 18, 2016

No there is no additional work done.

@okonomiyaki3000 okonomiyaki3000 mentioned this pull request Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants