Soft limit for maxEventCount
See original GitHub issueSummary
When you have e.g. 4 events per day, set maxDaysToShow: 2
and maxEventCount: 6
you’ll have only half of tomorrows events listed. If you could set maxEventSoftCount: 6
, tomorrow would either not shown or shown completely (depending on the way the function would be implemented)
Motivation
This is especially relevant if you have multiple calendars in the card or lots of events per day in one calendar. With the current hard limit, it can give the impression, that you only have e.g. 2 events for the last day shown in the calendar card while instead you have e.g. 4 events. If you look on the calendar card to plan something for the last day shown, you could miss an already planned event.
Describe alternatives you’ve considered
Instead of another limit setting, there could be a soft-limit-flag:
maxEventCount: 6
maxEventSoft: true
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Soft limit for maxEventCount · Issue #311 - GitHub
Summary When you have e.g. 4 events per day, set maxDaysToShow: 2 and maxEventCount: 6 you'll have only half of tomorrows events listed....
Read more >SparkMAX soft limit help needed - Programming - Chief Delphi
Hello! We are a new team and try to use SparkMax soft limit feature this year. We see below example from RevRobotics: We...
Read more >The softlimit program - DJ Bernstein's
The softlimit program. softlimit runs another program with new resource limits. ... softlimit sets soft resource limits as specified by opts.
Read more >Amazon EventBridge quotas - AWS Documentation
PutPartnerEvents has a soft limit of 1,400 throughput requests per second and 3,600 burst requests per second by default in all Regions. Invocation...
Read more >Qtree events - NetApp
Qtree events provide you with information about the qtree capacity and the file and disk limits so that you can monitor for potential...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In testing I have the following:
I also find JS a headache, I’m mainly a backend developer so it stumps me quite a bit!
Ok I think I understand now and also took a quick look at the other card you mentioned.
So I think I will add two new options:
softLimit: 3
This would then show 3 events over the limit if 3 or less exist, in a case where more exist a link will be shown.Where no softLimit is set then it will just show a link and count of missing events.
I will see what I can do 😃