Configurable Event Count Badge #55
Comments
Every element in the calendar purposefully has classes set in the HTML. So you can hide it like so: .cal-events-num {
display: none;
} I can make the event types configurable easily enough as well. |
👍 for configurable even types |
I'm working on a pull-request for this feature. It will add a property to the event to determine whether it should be counted for the badge. I would just like to hear other's opinions of what to call this property. I think of a badge like that as bringing attention to a new event, or calling it out as a reminder. In that light it could be called You could also think of it as a property to hide something that is there by default in which case the property name could be something like |
How about incrementsBadgeTotal? |
I'll give that a try, and should have something to show by the weekend. |
Yup. That's pretty much exactly what I was going to write. Thanks! |
I had a chance to test this out and found one small problem. The I would usually do something like |
I have mixed feelings about the new event count badges. I generally like the idea, but in my use case it can be a big confusing. My calendar presents a list of time slots, some empty and some filled. Displaying the number in the way that this feature does is confusing for my users, and empty timeslots are included in this count. See the attached screenshot:
I would propose that you have at minimum an option to turn this feature off completely. Even better would be to also have a property of events that would not count that particular event in this count. Kind of an ignore flag or something.
The text was updated successfully, but these errors were encountered: