New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core#4849 Shorten all Event iCal descriptions to match Add event to Google Calendar #29644
base: master
Are you sure you want to change the base?
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
This was originally setup here #28566, but in a cleanup it looks like I accidently nuked my branch eek. I recreated my merge request again. @colemanw requested that someone in the community maybe weigh in whether it's useful or not to have the full description. @eileenmcnaughton tagged @jusfreeman to see if they might use it |
Hmm - still something wrong on tests on that style one |
Yes I saw that too but it looks like Jenkins is exploding when it's trying to copy over some style stuff to test I "think". Unless I misread. |
@shaneonabike the Google Calendar has a shorter description because the entire calendar information needs to be included in the URL. For compatibility with Internet Explorer / Edge the URL needs to be within their URL character limit, 2083 characters. That's why ICAL and Google Calendar are different. Unfortunately, people use those web browsers. |
Apologies in advance. I have a feeling that there will be some negative feedback about shortening the iCal information, as we do have customers that include a lot of details about how to join by MS Teams, Zoom etc. which they want to be in peoples calendar. Maybe provide a setting to enable or disable the iCal shortening option. |
Would be good to refactor the getCompleteInfo function to use APIs as well, if you have the inclination, https://github.com/civicrm/civicrm-core/blob/master/CRM/Event/BAO/Event.php#L742 |
Don't apologize I knew it would be a hot topic, and ironically this came out of a client request whom was putting lots of details in the description but didn't want that in the iCal. You points are also super valid, and thanks for the explanation on the shorten reasoning. I had forgotten about Zoom related information appearing in the iCal, which for sure is super long. It begs the question whether :
I could see a scenario where someone wants specific information in the iCal that isn't in the actual description on the main event page (like Zoom stuff). Lastly, maybe event a hook to modify the event before iCal could be interesting, but I feel like making a custom extension just to mod the description seems like overkill. I'm open to whatever suggestions and to make this work for everyone. |
Overview
See issue #4849
Before
iCal events have long descriptions
After
iCal events are shortened with a link to the event