bug PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
4 Sep 2023

Pull Request for Issue #41572 .

Summary of Changes

Hide toolbar on empty state, in modal.
Because $this->setLayout('emptystate'); override the layout value the condition if ($this->getLayout() !== 'modal') never work.

Testing Instructions

On installation without articles.
Try select an article for menu. Also Category, Contact, Tags

Also try to add a module to dashboard.

Actual result BEFORE applying this Pull Request

You get a toolbar in modal

Expected result AFTER applying this Pull Request

No toolbar

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org:
  • No documentation changes for manual.joomla.org needed

Reference:

avatar joomla-cms-bot joomla-cms-bot - change - 4 Sep 2023
Category Administration com_content com_modules
avatar Fedik Fedik - open - 4 Sep 2023
avatar Fedik Fedik - change - 4 Sep 2023
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Sep 2023
Category Administration com_content com_modules Administration com_categories com_contact com_content com_modules com_newsfeeds com_tags
avatar Fedik Fedik - change - 4 Sep 2023
Labels Added: PR-5.0-dev
avatar Fedik Fedik - change - 4 Sep 2023
The description was changed
avatar Fedik Fedik - edited - 4 Sep 2023
avatar Fedik Fedik - change - 4 Sep 2023
The description was changed
avatar Fedik Fedik - edited - 4 Sep 2023
avatar Fedik Fedik - change - 4 Sep 2023
The description was changed
avatar Fedik Fedik - edited - 4 Sep 2023
avatar richard67 richard67 - test_item - 4 Sep 2023 - Tested successfully
avatar richard67
richard67 - comment - 4 Sep 2023

I have tested this item ✅ successfully on 63b034b


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

avatar heelc29 heelc29 - test_item - 4 Sep 2023 - Tested successfully
avatar heelc29
heelc29 - comment - 4 Sep 2023

I have tested this item ✅ successfully on 63b034b


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

avatar richard67 richard67 - change - 4 Sep 2023
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 4 Sep 2023

RTC


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

avatar Fedik
Fedik - comment - 4 Sep 2023

Wait, @obuisard found double toolbar in media modal.

avatar joomla-cms-bot joomla-cms-bot - change - 4 Sep 2023
Category Administration com_content com_modules com_categories com_contact com_newsfeeds com_tags Administration com_categories com_contact com_content com_media com_modules com_newsfeeds com_tags
avatar Fedik Fedik - change - 4 Sep 2023
Labels Added: ? bug
avatar Fedik
Fedik - comment - 4 Sep 2023

Should be good now also for Media.
Can only re-test "image select" while aricle editing

avatar richard67 richard67 - change - 4 Sep 2023
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 4 Sep 2023

Back to pending.


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

avatar obuisard
obuisard - comment - 4 Sep 2023

Fedir @Fedik the media modal is now working properly

avatar obuisard
obuisard - comment - 4 Sep 2023

Got 3 different results while testing after an update, trying now on new install (new install fails with Class "Joomla\Plugin\Behaviour\Taggable\Extension\Taggable" not found so updating the branch).

image

avatar obuisard obuisard - change - 4 Sep 2023
Labels Removed: ?
avatar Fedik
Fedik - comment - 4 Sep 2023

Got 3 different results while testing after an update

✅ "New article" uses new ModalField, so it is okay ,
✅ "New contact" uses old ModalField, so it also okay ,
❌ "New newsfeed" uses old ModalField, and it need to fix the toolbar,

avatar obuisard
obuisard - comment - 4 Sep 2023

Got 3 different results while testing after an update

✅ "New article" uses new ModalField, so it is okay , ✅ "New contact" uses old ModalField, so it also okay , ❌ "New newsfeed" uses old ModalField, and it need to fix the toolbar,

I confirm. Also
✅ "New categories"

Could not find where tags could be created in modal.

avatar Fedik
Fedik - comment - 5 Sep 2023

newsfeed should be good now

avatar Fedik
Fedik - comment - 5 Sep 2023

I will set it as Draft for now.
There other related issues, wich need to find a better approach.

avatar Fedik Fedik - change - 5 Sep 2023
Title
[5.0] Fix #41572, Hide toolbar on empty state, in modal
[5.0] Fix, Hide toolbar in modal when it not in use
avatar Fedik Fedik - edited - 5 Sep 2023
avatar Fedik
Fedik - comment - 5 Sep 2023

Please test alternative fix #41600

avatar Fedik Fedik - close - 5 Sep 2023
avatar Fedik Fedik - change - 5 Sep 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-09-05 11:52:59
Closed_By Fedik

Add a Comment

Login with GitHub to post a comment