Feature ? NPM Resource Changed PR-5.0-dev ? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
23 Aug 2023

Summary of Changes

Use Joomla dialog for confirmation dialog, instead of old school confirm()
Also an example how it could be used in other places.

Testing Instructions

Apply patch, run npm install.
Trash some Article, and then try empty the trash.

Actual result BEFORE applying this Pull Request

You get old school confirm() dialog

Expected result AFTER applying this Pull Request

You get Joomla dialog

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 - 23 Aug 2023
Category Repository NPM Change JavaScript
avatar Fedik Fedik - open - 23 Aug 2023
avatar Fedik Fedik - change - 23 Aug 2023
Status New Pending
avatar HLeithner
HLeithner - comment - 23 Aug 2023

image

avatar brianteeman brianteeman - test_item - 23 Aug 2023 - Tested successfully
avatar brianteeman
brianteeman - comment - 23 Aug 2023

I have tested this item ✅ successfully on ee1e199


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

avatar heelc29 heelc29 - test_item - 23 Aug 2023 - Tested unsuccessfully
avatar heelc29
heelc29 - comment - 23 Aug 2023

I have tested this item ? unsuccessfully on ee1e199

Translation (JYES, JNO) not loaded for footer buttons
image


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41434.
avatar heelc29
heelc29 - comment - 23 Aug 2023

system tests are failing
image

avatar Fedik
Fedik - comment - 23 Aug 2023

system tests are failing

Yeap, I did not checked, but I think cypress expecting old confirm()
Need to debug

avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2023
Category Repository NPM Change JavaScript Repository NPM Change JavaScript Layout
avatar Fedik Fedik - change - 24 Aug 2023
Labels Added: Feature NPM Resource Changed PR-5.0-dev ?
avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2023
Category Repository NPM Change JavaScript Layout Repository NPM Change JavaScript Layout Unit Tests
avatar Fedik Fedik - change - 24 Aug 2023
Labels Added: ?
2caf80d 24 Aug 2023 avatar Fedik attr
avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2023
Category Repository NPM Change JavaScript Layout Unit Tests Administration Templates (admin) Repository NPM Change JavaScript Layout Unit Tests
avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2023
Category Repository NPM Change JavaScript Layout Unit Tests Administration Templates (admin) Repository NPM Change JavaScript Layout Unit Tests
avatar Fedik
Fedik - comment - 24 Aug 2023

Test can be fixed only after updating Firefox for Cypress

avatar HLeithner
HLeithner - comment - 24 Aug 2023

Test can be fixed only after updating Firefox for Cypress

Test running now with

  • Cypress: 12.17.4
  • Browser: Firefox 114 (headless)
  • Node Version: v20.5.0
avatar Fedik
Fedik - comment - 24 Aug 2023

After removing failed tests it is working now.

avatar HLeithner HLeithner - close - 4 Sep 2023
avatar HLeithner HLeithner - merge - 4 Sep 2023
avatar HLeithner HLeithner - change - 4 Sep 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-04 09:13:50
Closed_By HLeithner
avatar HLeithner
HLeithner - comment - 4 Sep 2023

thanks

avatar HLeithner
HLeithner - comment - 4 Sep 2023

I think we need a migration documentation?

avatar brianteeman
brianteeman - comment - 4 Sep 2023

I think we need a migration documentation?

yes please as there are other places we can use this

avatar Fedik
Fedik - comment - 4 Sep 2023

It is part of

Or need something more specific?

Add a Comment

Login with GitHub to post a comment