Is your feature request related to a problem? Please describe.
The calendar events that Meetup provides only include the first 150 characters of each event's description followed by .... This approach can result in odd descriptions when shown on our website though, such as:
Descriptions ending with spaces before the ellipsis . ...
Descriptions with emoji that have no context: ❓ ...
Descriptions that end near the beginning of a sentence: . It ...
Some small touch-ups to the description before it is displayed will make the shorter description blurbs easier to read.
Describe the solution you'd like
[x] Create a utility function that cleans up event descriptions by doing the following:
[x] Remove the trailing ... characters
[x] Trim the event description to remove leading and trailing whitespace
[x] Remove emoji from the description
[x] Optional: If the description contains any ., remove all text after the last .
[x] Optional: If the description contains ---, remove the --- and all subsequent text, then trim the text again
[x] Re-add the trailing ... characters
[x] Call the utility function in welcome.vue to display the Next Event description
Is your feature request related to a problem? Please describe.
The calendar events that Meetup provides only include the first 150 characters of each event's description followed by
...
. This approach can result in odd descriptions when shown on our website though, such as:. ...
❓ ...
. It ...
Some small touch-ups to the description before it is displayed will make the shorter description blurbs easier to read.
Describe the solution you'd like
...
characters.
, remove all text after the last.
---
, remove the---
and all subsequent text, then trim the text again...
characterswelcome.vue
to display the Next Event descriptioncard--event.vue