min-cal-widget icon indicating copy to clipboard operation
min-cal-widget copied to clipboard

Widget pagination feature request

Open bushrang3r opened this issue 6 years ago • 13 comments
trafficstars

I would love to have paging buttons on the widget to be able to see future and past months.

bushrang3r avatar Nov 18 '18 22:11 bushrang3r

Meant the widget to be static, in fact created it since most of the f-droid / play store alternatives were paginated

mvmike avatar Nov 26 '18 12:11 mvmike

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.

mvdan avatar Nov 26 '18 12:11 mvdan

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:

bushrang3r avatar Nov 26 '18 12:11 bushrang3r

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.

532910 avatar Mar 15 '19 12:03 532910

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 avatar Mar 15 '19 12:03 532910

@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

mvmike avatar Mar 15 '19 16:03 mvmike

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

mvmike avatar Mar 21 '19 15:03 mvmike

  1. https://github.com/plusonelabs/calendar-widget is a scrollable widged for example. Or it's just a long content with small viewport, non-paginated?

  2. There is a stackview widget type, but I wasn't able to find how it looks like.

532910 avatar Mar 21 '19 16:03 532910

  1. it's just long content that can be scrolled, there isn't any gesture intent
  2. it's something like this

mvmike avatar Mar 21 '19 16:03 mvmike

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.

image image

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

532910 avatar Mar 29 '19 11:03 532910

https://developer.android.com/about/versions/12/features/widgets#new-compound-buttons

Could this help?

532910 avatar Oct 04 '21 21:10 532910

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

mvmike avatar Oct 05 '21 08:10 mvmike

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

OmlineEditor avatar Mar 02 '22 20:03 OmlineEditor