? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
18 Oct 2014

This is a quality control patch

When #4694 was committed there were some things done wrong due to
1. There were some inconsistencies in the admin area namely #4694 and #4788
2. The initial proposal actually needed javascript to function.

As none of the above exist anymore we don’t need the javascript part as well.

Results

There shouldn’t be any visual or functional changes

Test

Log in to the admin area
Create a new article
Is the joomla icon and the cog icon on the navigation disabled and not functional?
If yes test is successful

avatar dgt41 dgt41 - open - 18 Oct 2014
avatar jissues-bot jissues-bot - change - 18 Oct 2014
Labels Added: ?
eb674cd 18 Oct 2014 avatar dgt41 href
avatar brianteeman brianteeman - change - 19 Oct 2014
Category JavaScript
avatar losedk losedk - test_item - 19 Oct 2014 - Tested successfully
ab2353a 23 Oct 2014 avatar dgt41 href
avatar dgt41
dgt41 - comment - 23 Oct 2014

@Bakual is this broken now?

avatar Bakual
Bakual - comment - 23 Oct 2014

@dgt41 Yep, looks like you wanted to update your branch with latest staging? But it applied all commits after your own one, which will mess up the branch.
There are two ways to properly update a branch:

  • Merge staging into your branch by creating a "merge-commit". This sort of puts all changes from staging into a single commit and applies it to your branch. It's what we do with 3.4-dev to update it with the latest changes from staging.
  • You can rebase your branch. This way Git reverts your own commits, then fast-forwards your branch to current staging by applying each single commit and after that it applies your own commits again on top. It makes very nice PRs but is harder to do and you should never do that on a branch where multiple people are working on (because you change the Git history). For PRs this is usually fine to do since most of the time only yourself is working with it.
373ef73 24 Oct 2014 avatar dgt41 href
avatar dgt41
dgt41 - comment - 31 Oct 2014

@Bakual Is this ok now or do I have to fix it?

avatar Bakual
Bakual - comment - 31 Oct 2014

The commits still look a bit funny, but the resulting diff (https://github.com/joomla/joomla-cms/pull/4843/files) looks about correct. So it will work fine.

avatar dgt41
dgt41 - comment - 31 Oct 2014

@infograf768 JM can you take a look at this one? This actually is a better implementation of #4694 (now everything is done server side so no javascript code is required). It already got one successful test...

avatar infograf768
infograf768 - comment - 1 Nov 2014

This works.
I suggest to change to

<a class="admin-logo <?php echo ($hidden ? 'disabled' : ''); ?>" <?php echo ($hidden ? '' : 'href="' . $this->baseurl . '"'); ?>><span class="icon-joomla"></span></a>

and further down

                        <a class="<?php echo ($hidden ? ' disabled' : 'dropdown-toggle'); ?>" data-toggle="<?php echo ($hidden ? '' : 'dropdown'); ?>"
                            <?php echo ($hidden ? '' : 'href="#"'); ?>><span class="icon-cog"></span>

this to be consistent in the code style.

avatar dgt41
dgt41 - comment - 1 Nov 2014

@infograf768 Thanks! It’s a lot better now

avatar infograf768
infograf768 - comment - 1 Nov 2014

One more test

avatar crleathers crleathers - test_item - 1 Nov 2014 - Tested successfully
avatar Fedik Fedik - test_item - 2 Nov 2014 - Tested successfully
avatar Fedik
Fedik - comment - 2 Nov 2014

test
works good for me

avatar infograf768
infograf768 - comment - 2 Nov 2014

Thanks. Merging

avatar infograf768 infograf768 - close - 2 Nov 2014
avatar infograf768 infograf768 - change - 2 Nov 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-11-02 11:19:42

Add a Comment

Login with GitHub to post a comment