PR-5.4-dev
Pending
User tests:
Successful:
Unsuccessful:
Pull Request resolves #46338
Before_Update.mp4
Summary of Changes
This PR refactors the rendering of update messages in the Upload & Update view.
Previously:
- The generic update instruction and direct update package message were rendered in a way that caused duplication and inconsistent UI.
- Messages could appear multiple times or in separate alert blocks, leading to confusion.
Changes made:
- Consolidated both messages into a single alert container.
- Always display the generic update instruction message.
- Conditionally display the direct download message only when update data is available.
- Removed redundant and duplicate rendering paths.
This improves UI clarity, avoids repetition, and maintains both functional use cases.
Testing Instructions
-
Navigate to:
Administrator → System → Joomla Update → Upload & Update
-
Test two scenarios:
Case 1: Update available
- Ensure both messages are displayed inside a single alert box:
- Generic instruction message
- Direct update package message
Case 2: No update available (simulated)
- Temporarily set:
- Verify that only the generic instruction message is displayed.
-
Ensure:
- No duplicate messages appear
- Only one alert container is rendered
- Layout remains clean and consistent
Actual result BEFORE applying this Pull Request
- Multiple alert boxes were displayed
- Duplicate or repeated messages appeared
- UI was cluttered and confusing
Expected result AFTER applying this Pull Request
- A single alert box is displayed
- Messages are clearly structured and non-duplicated
- Direct download message appears only when update data is available
- Improved readability and user experience
Screenshots / Testing Evidence
Before Fix (Duplicate / inconsistent messages):
https://github.com/user-attachments/assets/9bf8500b-b59c-4ddf-bcd4-59802e0df3e7
After Fix (Single alert, clean UI, no duplication):
pratibha-builds
-
open
-
6 Apr 2026
pratibha-builds
-
change
-
6 Apr 2026
joomla-cms-bot
-
change
-
6 Apr 2026
| Category |
|
⇒ |
Administration
com_joomlaupdate
|
pratibha-builds
-
change
-
6 Apr 2026
Add a Comment
Login with GitHub to post a comment