Skip to content

Conversation

@krishnaGandhi11
Copy link

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

@krishnaGandhi11 krishnaGandhi11 requested a review from chmst as a code owner March 12, 2025 21:53
@joomla-cms-bot joomla-cms-bot added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.2-dev labels Mar 12, 2025
@exlemor
Copy link

exlemor commented Mar 12, 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.

@brianteeman
Copy link
Contributor

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

@richard67
Copy link
Member

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.

@joomla-cms-bot joomla-cms-bot removed the NPM Resource Changed This Pull Request can't be tested by Patchtester label Mar 13, 2025
@krishnaGandhi11
Copy link
Author

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.

@krishnaGandhi11
Copy link
Author

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!

@exlemor
Copy link

exlemor commented Mar 17, 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.

@bembelimen bembelimen added the bug label Apr 15, 2025
@HLeithner HLeithner changed the base branch from 5.2-dev to 5.3-dev April 15, 2025 16:36
@HLeithner
Copy link
Member

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

@HLeithner HLeithner changed the title [5.2] Calendar: Highlight selected day in frontend. [5.3] Calendar: Highlight selected day in frontend. Apr 15, 2025
@lucylyn
Copy link

lucylyn commented Apr 24, 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.

@obuisard
Copy link
Contributor

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

@brianteeman
Copy link
Contributor

@obuisard this does not touch npm

@chmst
Copy link
Contributor

chmst commented Apr 24, 2025

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

@obuisard
Copy link
Contributor

@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

@obuisard
Copy link
Contributor

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!

@richard67 richard67 added NPM Resource Changed This Pull Request can't be tested by Patchtester and removed bug PR-5.3-dev labels Apr 25, 2025
@richard67
Copy link
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Apr 25, 2025
@richard67 richard67 added the RMDQ ReleaseManagerDecisionQueue label Apr 25, 2025
@laoneo
Copy link
Member

laoneo commented Apr 29, 2025

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

@drmenzelit
Copy link
Contributor

@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 drmenzelit added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.2-dev and removed RTC This Pull Request is Ready To Commit bug RMDQ ReleaseManagerDecisionQueue PR-5.3-dev labels May 12, 2025
@HLeithner HLeithner added PR-5.3-dev and removed NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.2-dev labels May 12, 2025
@drmenzelit drmenzelit added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.2-dev bug RMDQ ReleaseManagerDecisionQueue and removed PR-5.3-dev NPM Resource Changed This Pull Request can't be tested by Patchtester labels May 12, 2025
@krishnaGandhi11
Copy link
Author

@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.

@richard67 richard67 added Updates Requested Indicates that this pull request needs an update from the author and should not be tested. and removed RMDQ ReleaseManagerDecisionQueue labels Jul 11, 2025
@HLeithner HLeithner changed the base branch from 5.3-dev to 5.4-dev October 15, 2025 17:03
@HLeithner
Copy link
Member

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

@richard67 richard67 changed the title [5.3] Calendar: Highlight selected day in frontend. [5.4] Calendar: Highlight selected day in frontend. Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug PR-5.4-dev Updates Requested Indicates that this pull request needs an update from the author and should not be tested.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[5.2] Calendar in Frontend - missing bs-variables