min-cal-widget
min-cal-widget copied to clipboard
Widget pagination feature request
I would love to have paging buttons on the widget to be able to see future and past months.
Meant the widget to be static, in fact created it since most of the f-droid / play store alternatives were paginated
There's also no end to what actions could be implemented. Pagination? Seeing an event's details? Switching to weekly/daily views? All of these are implemented in actual Calendar apps, which is what you get when you click the widget.
Ah yes, understood. Yes, I guess tapping the widget does give you the same thing essentially, by opening the calendar app.
Thanks for a great widget :1st_place_medal:
Meant the widget to be static, in fact created it since most of the f-droid / play store alternatives were paginated
I always thought that the main feature of min-cal-widget comes from it's name: the most compact size. All other widgets on f-droid / play store look extremely ugly on the same size as on min-cal-widget keeps extremely beautiful.
Could you explain what is bad with pagination?
Moreover, pagination could be reached via left-right swipe, without buttons.
There's also no end to what actions could be implemented. Pagination? Seeing an event's details? Switching to weekly/daily views? All of these are implemented in actual Calendar apps, which is what you get when you click the widget.
It's not true. While pagination has no impact on size, event's details and other views has significant size impact, making it bloated-cal-widget.
@532910 completely agree with everything you said.
Even though it's a feature i won't use, could consider doing pagination through swiping and make it configurable, but will require a bit of work since event instances should be fetch depending not only on the current date and also aligned with what's shown in the homescreen
After further investigation, seems that widgets can only receive taps and not gestures, so not sure what to do with this issue. IMHO, I'd avoid adding buttons to change months at any cost
-
https://github.com/plusonelabs/calendar-widget is a scrollable widged for example. Or it's just a long content with small viewport, non-paginated?
-
There is a
stackviewwidget type, but I wasn't able to find how it looks like.
- it's just long content that can be scrolled, there isn't any gesture intent
- it's something like this
OK. Looks like my idea is impossible. What about two small buttons before and after month name. I don't this they shout affect widget size.

Even for extremy small size, when only two weekday lettert fits there is a space for two <> buttons:

https://developer.android.com/about/versions/12/features/widgets#new-compound-buttons
Could this help?
There is no complexity in adding buttons (this could have been done before regardless of the new material you design, as it happens with the configuration one) but with the gestures
let's add buttons to change the month only if the widget is larger than a certain size, if the widget is small then the buttons do not appear