? ? Pending

User tests: Successful: Unsuccessful:

avatar Reijo83
Reijo83
17 Jul 2019

Hello Joomla! team.
I made one homepage where I used Joomla! Custom articles fields. From my perspective, I saw two shortcomings in Custom fields.

  1. Since we can make Custom Fields groups then every field assigned to a group should be grouped when we display it on the website.
    Currently html is something like that:
<dl class="fields-container">
    <dd class="field-entry"></dd>
    <dd class="field-entry"></dd>
    <dd class="field-entry"></dd>
    <dd class="field-entry"></dd>
    <dd class="field-entry"></dd>
</dl>

But I think this is better:

<dl class="fields-container">
    <div class="fields-group">
        <dd class="field-entry"></dd>
        <dd class="field-entry"></dd>
        <dd class="field-entry"></dd>
    </div>
    <div class="fields-group">
            <dd class="field-entry"></dd>
            <dd class="field-entry"></dd>
            <dd class="field-entry"></dd>
    </div>
</dl>
  1. Second, maybe it would be wise to add a custom class options to the group. This would provide an opportunity to better design different fields
<dl class="fields-container">
        <div class="fields-group custom-class1">
            <dd class="field-entry"></dd>
            <dd class="field-entry"></dd>
            <dd class="field-entry"></dd>
        </div>
        <div class="fields-group custom-class2">
                <dd class="field-entry"></dd>
                <dd class="field-entry"></dd>
                <dd class="field-entry"></dd>
        </div>
    </dl>
avatar Reijo83 Reijo83 - open - 17 Jul 2019
avatar Reijo83 Reijo83 - change - 17 Jul 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jul 2019
Category Unit Tests Repository Administration
avatar richard67
richard67 - comment - 17 Jul 2019

Can it be that you wanted to make this PR for the 4.0-dev branch but you made it for staging branch?

avatar Reijo83
Reijo83 - comment - 17 Jul 2019

Hello
Ooh I would like to have this opportunity for joomla 4 or what other people think of this opportunity?
I'm sorry because I don't know where he should go.

avatar richard67
richard67 - comment - 17 Jul 2019

Maybe someone else can advise? My lunch break is over now.

avatar wilsonge wilsonge - change - 17 Jul 2019
Labels Added: ? ?
avatar richard67
richard67 - comment - 17 Jul 2019

@Reijo83 You made your pull request (PR) with the wrong branch of Joomla CMS.

When you make a PR, you start with a comparison.

The "Comparing changes" view on GitHub allows you to select your branch on the right hand side and the branch on Joomla in which you want to bring in your changes on the left hand side.
When you did that, you have forgotten to change the branch on the left hand side from "staging" to "4.0-dev".

See the following screenshot which shows how it should be correct, and see the red frame in the screenshot to show you what you should change:

Unbenannt

Your mistake is the reason why your PR shows that there are 9009 (ninethousand and nine) changes made by your PR.

To fix that, do following:

  1. Close this PR.
  2. In GitHub, select your 4.0-dev branch and then use the "Compare" button.
  3. Adjust comparison like I have shown in my screenshot above with the red frame.
  4. Now use the green "Create pull request" button to create a new pull request.
  5. Fill in the description - you can copy it from this PR here.
  6. Check in the view of differences below the description that the changes and changed files are qhat you expect.
  7. Now you can submitt your PR. There should be as button for this at the bottom.

I hope I could help.

avatar Reijo83 Reijo83 - change - 17 Jul 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-07-17 17:43:21
Closed_By Reijo83
avatar Reijo83 Reijo83 - close - 17 Jul 2019

Add a Comment

Login with GitHub to post a comment