Language Change Conflicting Files ? Failure

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
15 Apr 2019

See discussion #24541

Summary of Changes

Using new Toolbar class all over the view.
Displaying a confirm alert when setting a style as Default

Before patch

One can choose multiple template styles and use Default button, therefore setting as Default the style with the lower id.

After patch

Screen Shot 2019-04-15 at 06 57 08

@hardik-codes

avatar infograf768 infograf768 - open - 15 Apr 2019
avatar infograf768 infograf768 - change - 15 Apr 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2019
Category Administration com_templates Language & Strings
avatar brianteeman
brianteeman - comment - 15 Apr 2019

Personally I believe this to be the wrong approach for j4 and the button should be disabled instead

avatar infograf768
infograf768 - comment - 15 Apr 2019

Yes, this would be the ideal.
I am sure you will find a better way with the existing toolbar code we have in J4.

avatar infograf768 infograf768 - change - 16 Apr 2019
Labels Added: ? ?
avatar jduerscheid jduerscheid - test_item - 19 Oct 2019 - Tested unsuccessfully
avatar jduerscheid
jduerscheid - comment - 19 Oct 2019

I have tested this item 🔴 unsuccessfully on e1744e8

I think there is some work needed. The message is displayed everytime you click on the default button. Even when only one style is selected. When I select more than one style and I confirm the errormessage one of the selected is set to default. I think this is no good workflow.

It would be better if the message only displays when more than one styles are selected. Furthermore it would be better, that only one button is on the Message, and if you click it you will get back to the selection you did and you has the option to update your selection.


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

avatar Quy
Quy - comment - 17 Jun 2020

A simple solution is to remove the Default button and use the Default column to select the default.

avatar roland-d
roland-d - comment - 1 Aug 2020

@infograf768 Do you want to fix the merge conflicts or should this PR be closed?

avatar degobbis degobbis - test_item - 17 Oct 2020 - Tested unsuccessfully
avatar degobbis
degobbis - comment - 17 Oct 2020

I have tested this item 🔴 unsuccessfully on e1744e8

Patchtester returns an error on apply

The file marked for modification does not exist: administrator/components/com_templates/View/Styles/HtmlView.php


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

avatar laoneo
laoneo - comment - 7 Apr 2022

@infograf768 thanks for your pr. Can you fix the conflicts please and rebase to the 4.2-dev branch? In the meantime I'm closing the pr. When ready please reopen again so we can make another test round as this is a welcome change to stabilize the template manager.

avatar laoneo laoneo - close - 7 Apr 2022
avatar laoneo laoneo - change - 7 Apr 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-04-07 06:40:20
Closed_By laoneo
Labels Added: Language Change ?
Removed: ? ?

Add a Comment

Login with GitHub to post a comment