[codestyle] admin components xml files#15920
Conversation
| > | ||
| <option value="">JOPTION_SELECT_AUTHOR</option> | ||
| </field> | ||
| name="author_id" |
| <option value="">JOPTION_SELECT_MAX_LEVELS</option> | ||
|
|
||
| <field | ||
| name="level" |
| > | ||
| <option value="">JOPTION_SELECT_AUTHOR</option> | ||
| </field> | ||
| name="author_id" |
| <option value="">JOPTION_SELECT_MAX_LEVELS</option> | ||
| </field> | ||
| <field | ||
| name="level" |
| name="title" | ||
| type="text" | ||
| label="JGLOBAL_TITLE" | ||
| description="COM_FINDER_FILTER_TITLE_DESCRIPTION" |
| label="COM_MENUS_ITEM_FIELD_MENU_TEXT_LABEL" | ||
| description="COM_MENUS_ITEM_FIELD_MENU_TEXT_DESC" | ||
| class="btn-group btn-group-yesno" | ||
| default="1" filter="integer" |
|
@wilsonge with the new switcher class and options switched round in the XML files, is this going to be a pita with conflicts when merging into J4? |
| class="btn-group btn-group-yesno" | ||
| default="0" | ||
| filter="integer" | ||
| > |
| class="btn-group btn-group-yesno" | ||
| default="0" | ||
| filter="integer" | ||
| > |
| @@ -330,10 +330,10 @@ | |||
| <field | |||
| class="btn-group btn-group-yesno" | ||
| default="0" | ||
| filter="integer" | ||
| > |
Perhaps making the pr against the J4 branch then? |
That will be the exact same pita 😄 |
|
I can deal with the conflicts. Everyone can stop stressing - it's the result of having two versions being dev'd at the same time. |
|
I have tested this item ✅ successfully on 51cff1e @wilsonge - Fair enough. @Bakual - So you've said before. Submit a PR if you're not happy This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15920. |
|
conflicts resolved |
| <option value="0">JHIDE</option> | ||
| </field> | ||
|
|
||
| <field name="show_category_title" |
There was a problem hiding this comment.
Move name="show_category_title" to next line.
| <option value="0">JHIDE</option> | ||
| </field> | ||
|
|
||
| <field name="show_description" |
| <option value="0">JHIDE</option> | ||
| </field> | ||
|
|
||
| <field name="show_description_image" |
|
@Quy don't know how I missed those. Thanks I will update the pr tonight |
| label="JGLOBAL_CATEGORY_ORDER_LABEL" | ||
| description="JGLOBAL_CATEGORY_ORDER_DESC"> | ||
| description="JGLOBAL_CATEGORY_ORDER_DESC" | ||
| type="list" |
|
@Quy thanks for everything on this - seems I didnt do a good job |
|
I have tested this item ✅ successfully on 6cdfb9e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15920. |
andrepereiradasilva
left a comment
There was a problem hiding this comment.
hi @brianteeman !
just one or two errors detected and some minor improvements. all the rest seems fine.
ok when this corrected
| <field name="order_date" type="list" | ||
| default="published" | ||
| description="JGLOBAL_ORDERING_DATE_DESC" | ||
| description="JGLOBAL_ARTICLE_ORDER_DESC" |
There was a problem hiding this comment.
default="rdate" is missing
There was a problem hiding this comment.
sorry i dont understand
There was a problem hiding this comment.
thsi field is the name="orderby_sec" field
before:
<field name="orderby_sec"
type="list"
default="rdate"
label="JGLOBAL_ARTICLE_ORDER_LABEL"
description="JGLOBAL_ARTICLE_ORDER_DESC">after
<field
name="orderby_sec"
type="list"
label="JGLOBAL_ARTICLE_ORDER_LABEL"
description="JGLOBAL_ARTICLE_ORDER_DESC"
>so default="rdate" is missing
| default="" | ||
| label="COM_CONTENT_SHOW_PUBLISHING_OPTIONS_LABEL" | ||
| description="COM_CONTENT_SHOW_PUBLISHING_OPTIONS_DESC" | ||
| default="" |
There was a problem hiding this comment.
not essencial but i think this can be removed.
there is no option with "" value and uses "useglobal", so the default is the global value.
There was a problem hiding this comment.
this is used in quite a lot of places. i would prefer to leave changing that to another smaller pr where it would be easier to test.
| name="filter_id" | ||
| type="text" | ||
| label="JGLOBAL_FIELD_ID_LABEL" | ||
| descriptio="JGLOBAL_FIELD_ID_DESC" |
There was a problem hiding this comment.
"descriptio" should "description" (note the last "n")
| @@ -84,35 +96,47 @@ | |||
|
|
|||
| <fieldset name="metadata" label="JGLOBAL_FIELDSET_METADATA_OPTIONS" | |||
| > | |||
There was a problem hiding this comment.
could you check this one too?
| type="textarea" | ||
| label="JFIELD_META_DESCRIPTION_LABEL" | ||
| description="JFIELD_META_DESCRIPTION_DESC" | ||
| rows="3" cols="40" |
There was a problem hiding this comment.
cols in new line
| label="COM_MENUS_ITEM_FIELD_MENU_TEXT_LABEL" | ||
| description="COM_MENUS_ITEM_FIELD_MENU_TEXT_DESC" | ||
| class="btn-group btn-group-yesno" | ||
| default="1" filter="integer" |
There was a problem hiding this comment.
filter in new line
| label="COM_MENUS_ITEM_FIELD_MENU_TEXT_LABEL" | ||
| description="COM_MENUS_ITEM_FIELD_MENU_TEXT_DESC" | ||
| class="btn-group btn-group-yesno" | ||
| default="1" filter="integer" |
There was a problem hiding this comment.
filter in new line
|
@andrepereiradasilva made some of your changes and commented on two other requests |
|
I have tested this item ✅ successfully on 6cdfb9e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15920. |
|
I have tested this item ✅ successfully on 6cdfb9e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15920. |
|
RTC please |
|
RTC after two successful tests. |
|
Thankyou very much! |
|
Thanks everyone |
Review all the xml files in the administrator/components folder and make sure they are formatted according to the coding standards
(I had a long train journey)