? ? Success

User tests: Successful: Unsuccessful:

avatar puneeth2001
puneeth2001
30 Jan 2019

Pull Request for Issue #20369

Summary of Changes

The placeholder and the save button are changed accordingly

Testing Instructions

Expected result

Actual result

Folder and Save replaced

Documentation Changes Required

avatar puneeth2001 puneeth2001 - open - 30 Jan 2019
avatar puneeth2001 puneeth2001 - change - 30 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2019
Category Administration com_media
avatar Quy
Quy - comment - 30 Jan 2019

Please use language strings and not static text.

avatar puneeth2001
puneeth2001 - comment - 30 Jan 2019

ok, ill change it

On Wed, 30 Jan 2019, 20:47 Quy <notifications@github.com wrote:

Please use language strings and not static text.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#23721 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ApyKVErw5DJUn7GS8g49X0IjqxiQ4m5aks5vIbeXgaJpZM4aaRD7
.

avatar infograf768 infograf768 - change - 2 Feb 2019
Title
placeholder and 'save' changed
[4.0] placeholder and 'save' changed
avatar infograf768 infograf768 - edited - 2 Feb 2019
avatar infograf768
infograf768 - comment - 2 Feb 2019

Hmm. I tested some stuff by just using another string instead of JAPPLY and I see no change...
Looks like any new string has to be added to
/administrator/components/com_media/tmpl/media/default_texts.php

I used therefore
<button class="btn btn-success" @click="save()" :disabled="!isValid()">{{ translate('JACTION_CREATE') }}
but no success.

avatar infograf768
infograf768 - comment - 2 Feb 2019

It looks that any change done in these .vue is NOT taken care of.

avatar puneeth2001
puneeth2001 - comment - 2 Feb 2019

yes modifying this is not enough there are 3 to 4 files associated with
this.

On Sat, 2 Feb 2019, 15:07 infograf768 <notifications@github.com wrote:

It looks that any change done in these .vue is NOT taken care of.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#23721 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ApyKVCD6TKthsd7ocl7ttjOWzDJGN8o0ks5vJVxhgaJpZM4aaRD7
.

avatar infograf768
infograf768 - comment - 2 Feb 2019

In fact it works. One has to run npm ci after the changes in both files.
I just did it only for the create button.

screen shot 2019-02-02 at 11 45 38

avatar infograf768
infograf768 - comment - 2 Feb 2019

So, for the text, it's OK. Can be done easily.
For the size, one should modify'sm' to 'md'
In that case, the width is adapted to the length of the text.
Here for French

screen shot 2019-02-02 at 11 52 17

avatar puneeth2001
puneeth2001 - comment - 2 Feb 2019

ohk I will check it, and post it as soon as possible

avatar puneeth2001 puneeth2001 - change - 2 Feb 2019
Labels Added: ?
avatar puneeth2001
puneeth2001 - comment - 2 Feb 2019

I have added the default_text.php to this PR since I had some problem with branches #23745

avatar puneeth2001
puneeth2001 - comment - 3 Feb 2019

should I remove the placeholder!

avatar infograf768
infograf768 - comment - 3 Feb 2019

Yes, see my code above.

avatar infograf768
infograf768 - comment - 5 Feb 2019

@zwiastunsw
How to fit accesibility here?

avatar zwiastunsw
zwiastunsw - comment - 5 Feb 2019

There are many problems here....

  1. The text field must have a label. Label must remain.
  2. The content of the label should rather be the Folder name
  3. The placeholder is redundant.

In addition:
5. Modal window has an unnecessary attribute role="document". Rather it should be: role="alertdialog"
6. The Close, Cancel, Save buttons cannot be operated via the keyboard.

avatar infograf768
infograf768 - comment - 5 Feb 2019

@zwiastunsw

  1. Ok to keep the Label with a string which value would be “Folder name”
    New string to create.
    COM_MEDIA_FOLDER_NAME="Folder Name"

  2. concerning role, no idea. You know better

concerning close, cancel, save this is not the only place in com_media where the issue is present.
these .vue are not easy to deal with. I am not familar with their code.

avatar puneeth2001
puneeth2001 - comment - 9 Feb 2019

There are many problems here....

  1. The text field must have a label. Label must remain.
  2. The content of the label should rather be the Folder name
  3. The placeholder is redundant.

In addition:
5. Modal window has an unnecessary attribute role="document". Rather it should be: role="alertdialog"
6. The Close, Cancel, Save buttons cannot be operated via the keyboard.

noted!

avatar puneeth2001
puneeth2001 - comment - 9 Feb 2019

@zwiastunsw
should role be changed in administrator/components/com_media/resources/scripts/components/modals/modal.vue

avatar joomla-cms-bot joomla-cms-bot - change - 9 Feb 2019
Category Administration com_media Administration com_media Language & Strings
avatar puneeth2001
puneeth2001 - comment - 12 Feb 2019

can I know if my PR is reviewed or not.

avatar chmst
chmst - comment - 12 Feb 2019

Just spent an hour trying to test this PR where changes in a vue.js scripts are made.
npm don several times - but nothing changes.

I do not understand why we have such a mess with removing the dependecy from jQuery in V4.0 and replace it with dependecy from vue.js?

avatar infograf768 infograf768 - change - 12 Feb 2019
Labels Added: ?
avatar infograf768
infograf768 - comment - 13 Feb 2019

I have tested this item successfully on f22b205

screen shot 2019-02-13 at 10 10 15


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23721.
avatar infograf768 infograf768 - test_item - 13 Feb 2019 - Tested successfully
avatar puneeth2001
puneeth2001 - comment - 18 Feb 2019

@Quy can you review this, please.

avatar wilsonge
wilsonge - comment - 24 Feb 2019

Can you fix the file permissions here (you've accidentally changed the file create-folder-modal.vue from 644 to 755)

avatar zwiastunsw zwiastunsw - test_item - 24 Feb 2019 - Tested successfully
avatar zwiastunsw
zwiastunsw - comment - 24 Feb 2019

I have tested this item successfully on 8585b98

I tested succesfully only: "The placeholder and the save button are changed accordingly"
Keyboard still not supported


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

avatar puneeth2001
puneeth2001 - comment - 25 Feb 2019

#24018 I did all those changes here sice there is a problem with this branch

avatar puneeth2001 puneeth2001 - change - 25 Feb 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-02-25 14:54:30
Closed_By puneeth2001
avatar puneeth2001 puneeth2001 - close - 25 Feb 2019
avatar joomla-cms-bot joomla-cms-bot - change - 25 Feb 2019
Category Administration com_media Language & Strings Administration com_media NPM Change Language & Strings

Add a Comment

Login with GitHub to post a comment