Updates Requested bug PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar krishnaGandhi11
krishnaGandhi11
12 Mar 2025

This is a reopened version of PR #45096

I am unable to reopen #45096 because of technical reasons, sorry ;)

Testing Instructions

-Open an article and try to set a publishing date (this opens the calendar).
-Select a date and check if it gets highlighted properly.
-Test on multiple browsers (Chrome, Firefox, Edge, Safari).

Actual result BEFORE applying this Pull Request

-The selected date in the calendar was not highlighted in the frontend.
-The backend calendar worked correctly, but the frontend did not.
420588362-9f287c2e-0b1c-48ff-816f-1deecb2d1a6b

Expected result AFTER applying this Pull Request

-The selected date should now be properly highlighted in the frontend calendar, just like in the backend.

video-sr.mp4

krishnaGandhi11
krishnaGandhi11 commented 4 days ago
Pull Request for Issue #45082

Summary of Changes :
-Fixed the issue where the selected day in the calendar was not highlighted in the frontend.
-Applied correct styling to match the backend calendar appearance.

Testing Instructions :
-Open an article and try to set a publishing date (this opens the calendar).
-Select a date and check if it gets highlighted properly.
-Test on multiple browsers (Chrome, Firefox, Edge, Safari).

Actual result BEFORE applying this Pull Request :
-The selected date in the calendar was not highlighted in the frontend.
-The backend calendar worked correctly, but the frontend did not.
Before

Expected result AFTER applying this Pull Request :
-The selected date should now be properly highlighted in the frontend calendar, just like in the backend.

Fixed.mp4
Fixes #45082

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

avatar krishnaGandhi11 krishnaGandhi11 - open - 12 Mar 2025
avatar krishnaGandhi11 krishnaGandhi11 - change - 12 Mar 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Mar 2025
Category NPM Change Front End Templates (site)
avatar krishnaGandhi11 krishnaGandhi11 - change - 12 Mar 2025
Labels Added: NPM Resource Changed PR-5.2-dev
avatar exlemor exlemor - test_item - 12 Mar 2025 - Tested successfully
avatar exlemor
exlemor - comment - 12 Mar 2025

I have tested this item ✅ successfully on fa62ec3

I have tested this successfully. Thanks Krishna.


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

avatar brianteeman
brianteeman - comment - 12 Mar 2025

For all the reasons I have already explained this PR is wrong AND you have committed unrelated files

avatar richard67
richard67 - comment - 13 Mar 2025

AND you have committed unrelated files

@brianteeman It's only one file, the package-lock.json, and the only change in that file is the Joomla version change to 5.2.6, which happens as a result of npm ci or npm install. It would not do harm to have it in this PR, but of course it wouldbe cleaner to keep that separate.

@krishnaGandhi11 Could you revert the change in the package-lock.json file? Thanks in advance.

avatar joomla-cms-bot joomla-cms-bot - change - 13 Mar 2025
Category NPM Change Front End Templates (site) Front End Templates (site)
avatar krishnaGandhi11
krishnaGandhi11 - comment - 13 Mar 2025

For all the reasons I have already explained this PR is wrong AND you have committed unrelated files

As I mentioned earlier, my last PR got deleted, so I raised the same one again to continue working on it further.

avatar krishnaGandhi11
krishnaGandhi11 - comment - 13 Mar 2025

AND you have committed unrelated files

@brianteeman It's only one file, the package-lock.json, and the only change in that file is the Joomla version change to 5.2.6, which happens as a result of npm ci or npm install. It would not do harm to have it in this PR, but of course it wouldbe cleaner to keep that separate.

@krishnaGandhi11 Could you revert the change in the package-lock.json file? Thanks in advance.

@richard67 Thanks for pointing that out! I've now reverted the changes in package-lock.json to keep the PR clean. Appreciate your guidance!

avatar exlemor exlemor - test_item - 17 Mar 2025 - Tested successfully
avatar exlemor
exlemor - comment - 17 Mar 2025

I have tested this item ✅ successfully on 9574158

I have re-tested this successfully...


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

avatar HLeithner
HLeithner - comment - 15 Apr 2025

This pull request has been automatically rebased to 5.3-dev.

avatar HLeithner HLeithner - change - 15 Apr 2025
Title
[5.2] Calendar: Highlight selected day in frontend.
[5.3] Calendar: Highlight selected day in frontend.
avatar HLeithner HLeithner - edited - 15 Apr 2025
avatar lucylyn lucylyn - test_item - 24 Apr 2025 - Tested successfully
avatar lucylyn
lucylyn - comment - 24 Apr 2025

I have tested this item ✅ successfully on 9574158

I tested this on Edge, Firefox and Chrome, and it worked successfully


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

avatar obuisard
obuisard - comment - 24 Apr 2025

We have to invalidate the last test, it was done from a Joomla Day USA instance, which does not allow the testing of NPM labelled PRs

avatar brianteeman
brianteeman - comment - 24 Apr 2025

@obuisard this does not touch npm

avatar chmst
chmst - comment - 24 Apr 2025

Nice to see joomladay USA PBF testing :) we will check this later

avatar obuisard
obuisard - comment - 24 Apr 2025

@obuisard this does not touch npm

Thanks Brian. I saw the NPM tag in the issue tracker, I guess this is a synchronization issue. That threw me off

avatar obuisard
obuisard - comment - 24 Apr 2025

I have tested this item ✅ successfully on 9574158I tested this on Edge, Firefox and Chrome, and it worked successfully

@lucylyn valid after all, thank you for testing!

avatar richard67 richard67 - change - 25 Apr 2025
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 25 Apr 2025

RTC


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

avatar laoneo
laoneo - comment - 29 Apr 2025

I fear that this has some effect on elements which do rely on this variable.

avatar drmenzelit
drmenzelit - comment - 12 May 2025

@krishnaGandhi11 thank you for your PR, but it is the wrong way to solve the problem. You shouldn't add variables directly in the index.php from Cassiopeia. As Allon wrote above, since these variables are part of Bootstrap, changing them in this way could have side effects on other elements using the class "btn-primary". And the colors should match with the colors defined in Cassiopeia.

avatar drmenzelit drmenzelit - change - 12 May 2025
Status Ready to Commit Pending
avatar krishnaGandhi11
krishnaGandhi11 - comment - 15 May 2025

@krishnaGandhi11 thank you for your PR, but it is the wrong way to solve the problem. You shouldn't add variables directly in the index.php from Cassiopeia. As Allon wrote above, since these variables are part of Bootstrap, changing them in this way could have side effects on other elements using the class "btn-primary". And the colors should match with the colors defined in Cassiopeia.

@drmenzelit Thanks for the feedback! I'm aware of the issue but have still not figured out the exact way to fix this.

avatar richard67 richard67 - change - 11 Jul 2025
Labels Added: Updates Requested bug PR-5.3-dev
Removed: NPM Resource Changed PR-5.2-dev

Add a Comment

Login with GitHub to post a comment