? Failure

User tests: Successful: Unsuccessful:

avatar Minei3oat
Minei3oat
13 Sep 2016

Pull Request for Issue # .

Summary of Changes

In the template.js of Beez the JS-Code for boostraps btn-group is implementeted but without the missing CSS-Code it is useless. This PR removes the useless code.
If the btn-group should be added later, the code can be copied from Protostar.

Testing Instructions

Beez should work as before.

Documentation Changes Required

none

avatar Minei3oat Minei3oat - open - 13 Sep 2016
avatar Minei3oat Minei3oat - change - 13 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2016
Category JavaScript Templates (site) Front End
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2016
Labels Added: ?
avatar Minei3oat Minei3oat - change - 13 Sep 2016
Title
Remove btn group beez
Beez: Remove btn-group
avatar Minei3oat Minei3oat - edited - 13 Sep 2016
avatar Minei3oat Minei3oat - change - 13 Sep 2016
Title
Remove btn group beez
Beez: Remove btn-group
avatar dgt41
dgt41 - comment - 13 Sep 2016

@Minei3oat I think it would be better if you add the missing css instead of removing the script

avatar Minei3oat Minei3oat - change - 13 Sep 2016
Title
Beez: Remove btn-group
Beez: Add btn-group
avatar Minei3oat Minei3oat - edited - 13 Sep 2016
avatar Minei3oat Minei3oat - change - 13 Sep 2016
Title
Beez: Remove btn-group
Beez: Add btn-group
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2016
Category JavaScript Templates (site) Front End Repository Templates (site) Front End
avatar Minei3oat Minei3oat - change - 13 Sep 2016
The description was changed
avatar Minei3oat Minei3oat - edited - 13 Sep 2016
avatar Minei3oat
Minei3oat - comment - 13 Sep 2016

Now the missing css is added.

avatar Minei3oat Minei3oat - change - 13 Sep 2016
The description was changed
avatar Minei3oat Minei3oat - edited - 13 Sep 2016
avatar Minei3oat Minei3oat - change - 13 Sep 2016
The description was changed
avatar Minei3oat
Minei3oat - comment - 14 Sep 2016

The Bootstrap code is in conflict with Beez3 (Look at the buttons when editing an article or module: https://github.com/joomla/joomla-cms/blob/staging/templates/beez3/css/personal.css#L145-L186).

Since Beez3 sometimes didn't uses chosen and uses a very simple style, I'm thinking about removing btn-group entirely like I've done first. Its not really needed.

avatar brianteeman
brianteeman - comment - 4 Dec 2016

@minei3oat what is the status of this. If I read your last comment correctly there is more work to be done before it is ready for testing?


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

avatar brianteeman brianteeman - change - 4 Dec 2016
Status Pending Information Required
avatar brianteeman brianteeman - change - 4 Dec 2016
Labels Removed: ?
avatar brianteeman brianteeman - edited - 4 Dec 2016
avatar Minei3oat
Minei3oat - comment - 6 Dec 2016

Yes, that's right, there are is the problem with the buttons when editing an article.

avatar anjahage
anjahage - comment - 3 Jun 2017

@Minei3oat Is this issue still relevant?

Otherwise @nibra will look at it


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

avatar Minei3oat
Minei3oat - comment - 3 Jun 2017

This issue was never relevant.
The buttons work without the design as good as with the colored design. Because of this, I first wanted to remove the useless JavaScript-code but as you can see there was the wish of adding the missing css instead of removing the js. But as this issue is not so relevant and my time limited I don't invested much and so it got stuck with the conflicts.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

@Minei3oat so should this PR be closed?

avatar Minei3oat
Minei3oat - comment - 3 Jun 2017

As there is still useless code, I propose to go back to the original intention of this PR and delete this code.
If someone want's to add the colored buttons later, the code can be copied from Protostar.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jun 2017

@Minei3oat is this PR ready for Test?

avatar joomla-cms-bot joomla-cms-bot - change - 22 Jun 2017
Category Templates (site) Front End Repository JavaScript Front End Templates (site)
avatar Minei3oat Minei3oat - change - 22 Jun 2017
The description was changed
avatar Minei3oat Minei3oat - edited - 22 Jun 2017
avatar Minei3oat Minei3oat - change - 22 Jun 2017
Title
Beez: Add btn-group
Beez: Remove useless JS-Code related to btn-group
avatar Minei3oat Minei3oat - edited - 22 Jun 2017
avatar Minei3oat Minei3oat - change - 22 Jun 2017
Title
Beez: Add btn-group
Beez: Remove useless JS-Code related to btn-group
avatar Minei3oat
Minei3oat - comment - 22 Jun 2017

Now it should be ready for testing.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jun 2017

thanks @Minei3oat

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017

@Minei3oat i have tested a little but have less Experience in Beez so it would help if you can instruct which Sample Sites to look easy for testing.

avatar Minei3oat
Minei3oat - comment - 23 Jun 2017

As I explained above, the removed code was useless because the CSS-Classes are missing. I discovered this by viewing a form with btn-group.

If code-review counts as test, the best test would be to search the CSS-Classes added by the removed JS and see that they not exists.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017

can you give me an Example of Form with btn-group so i can test if

Beez should work as before.

avatar Minei3oat
Minei3oat - comment - 23 Jun 2017

If you edit a module their is the possibility to change the status of the module (Published/Unpublished/Trashed). This is a btn-group, as you can see in Protostar.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017

Tested on an Article (Publish / Unpublish / ...) cause using Beez Icon on Module for "Edit" isn't shown. All works as without Patch but Source-Code looks same with- and without PR.

avatar Minei3oat
Minei3oat - comment - 23 Jun 2017

The Article-View doesn't uses btn-group.
With adding &template=beez3 to the URL you can change the template to Beez for the request.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017
avatar Minei3oat
Minei3oat - comment - 23 Jun 2017

Because there is no other parameter in the URL it must be a ? instead of a &.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017

that works. But there is also no Icon on Module.

avatar Minei3oat
Minei3oat - comment - 23 Jun 2017
  1. Load the page with the module you want to edit with an other template
  2. Click the edit icon
  3. add the parameter to the URL

This will result in the edit page of the module displayed with Beez as template.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017

Source-Code without PR:

without

Source-Code with PR:

with
For Tester: use &template=beez3

avatar Minei3oat
Minei3oat - comment - 23 Jun 2017

Due to unknown reasons Beez uses the class btn-group for this buttons (sometimes all in one div, sometimes all in separat divs) without using them in CSS. But this code is hardcoded in PHP-Files in /html/... and not influenced by this PR.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017

so how to Test this PR?

avatar Minei3oat
Minei3oat - comment - 23 Jun 2017

As I stated above the code was useless. So I don't know how to test this PR. Imho there is the option to compare the functionality of some pages/btn-groups before and after the PR and find no difference or to look at the CSS of Beez and see that the JS-Code was useless. (Beez doesn't have CSS-Rules for active in this context, btn-primary, btn-succes, btn-danger, disabled)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jun 2017

Hopefully there are 2 other Tester with more Skills.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 18 Aug 2017

If this PR get no Response, it will be closed at 17th September 2017.

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Sep 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-09-17 06:09:13
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - close - 17 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Sep 2017

This has been closed due to lack of response to the requests above – it can always be reopened.

Add a Comment

Login with GitHub to post a comment