? Success

User tests: Successful: Unsuccessful:

avatar ryandemmer
ryandemmer
8 Sep 2015

This change increases the size of the input element by changing the input-small class to input-large, and removes the readonly="readonly" attribute on the input element.

This allows the user to enter in a value into the field, or select a value using the modal as before.

Testing:

After applying the changes, create or edit an article using the Article Manager, then click on the Images and Links tab. The Intro Image and Full Text Image fields should be larger and a value can be typed/pasted into the field.

avatar ryandemmer ryandemmer - open - 8 Sep 2015
avatar ryandemmer ryandemmer - change - 8 Sep 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2015
Labels Added: ?
avatar watchfulli-dev
watchfulli-dev - comment - 8 Sep 2015

@test tested and looks and works nice


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

avatar watchfulli-dev watchfulli-dev - test_item - 8 Sep 2015 - Tested successfully
avatar zero-24 zero-24 - change - 8 Sep 2015
Category Libraries
avatar zero-24 zero-24 - change - 8 Sep 2015
Easy No Yes
avatar justinherrin
justinherrin - comment - 8 Sep 2015

@test tested and works well.

It will be interesting to see if allowing users to type into that field initially now will cause confusion/errors because they might not know to type out the entire image path.

avatar dgt41
dgt41 - comment - 8 Sep 2015

I guess, if we let people type something in that field, we need to validate that input (js validation).

avatar brianteeman
brianteeman - comment - 8 Sep 2015

We let users type in the image path manually when using the image editor plugin. Do we validate it here?

help 3 4 4 administration articles new

avatar dgt41
dgt41 - comment - 8 Sep 2015

Good question, let me check

avatar joomlamarco joomlamarco - test_item - 8 Sep 2015 - Tested successfully
avatar joomlamarco
joomlamarco - comment - 8 Sep 2015

tested and works as expected


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

avatar MAT978
MAT978 - comment - 8 Sep 2015

pending the answer to Brian's question, another successful test here.

Thanks


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

avatar MAT978 MAT978 - test_item - 8 Sep 2015 - Tested successfully
avatar mbabker
mbabker - comment - 8 Sep 2015

I've got a hacked up custom copy of this field in my code and no there aren't any validations on the image URL field that I had to work around to remove the readonly attribute.

avatar dgt41
dgt41 - comment - 8 Sep 2015

@brianteeman you are right, no javascript validation on those fields
@mbabker on the server side I guess we are ok as the field will be filtered as any other text field.
My initial idea was to write a simple validation script that will check if the (relative/absolute) path/filename.extension is acceptable.

@test ok here as well

avatar dgt41 dgt41 - alter_testresult - 8 Sep 2015 - dgt41: Tested successfully
avatar dgt41 dgt41 - change - 8 Sep 2015
Status Pending Ready to Commit
avatar zero-24 zero-24 - alter_testresult - 9 Sep 2015 - dgt41: Tested successfully
avatar zero-24
zero-24 - comment - 9 Sep 2015

@joomla-cms-bot Again an example here. @dgt41 is also part of the CMS Maintainers and the Joomla Bug Squad. If he set a Pull Request to RTC you can add the label without problem. :smiley:


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

avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 9 Sep 2015
Milestone Added:
avatar rdeutz rdeutz - change - 1 Oct 2015
Milestone Added:
avatar rdeutz rdeutz - change - 1 Oct 2015
Milestone Removed:
avatar roland-d
roland-d - comment - 17 Oct 2015

Thanks @ryandemmer Merged into 3.5-dev with commit 19419d

avatar roland-d roland-d - change - 17 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-17 09:00:58
Closed_By roland-d
avatar roland-d roland-d - close - 17 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 17 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - change - 17 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment