Reference in New Issue
Block a user
Delete Branch "feat/widget-header-navigation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tackles Codeberg #18 and #20 together (both are 2.13.0-milestone widget issues).
#18 — Month widget arrows broken + navigation gaps
controls (prev/next/today, refresh) go through Glance
actionRunCallback<T>(),which resolves the callback class reflectively at tap time. R8 full mode
(AGP 9 default) renamed those classes on release builds, so the taps silently
did nothing — while
actionStartActivitytaps (day/event) kept working becausethey need no reflection. Added a proguard keep for
ActionCallbackimpls;verified in the release mapping that
ShiftMonthAction/ResetMonthAction/RefreshAgendaActionretain their original names.grid back to the current month in place (the reset that used to sit on the
title).
(blank lane area + "+N" overflow are now tap targets too). Event bars still
open their own detail.
#20 — Agenda "Upcoming" header → opens the default view
So a user whose home view is Week/Month reaches it in one tap instead of drilling
through a day or event.
Both header taps ride a shared
WidgetNavRequest.OpenView(view?)(null → thedefault home) via
MainActivity.openViewIntent+CalendarHost.Verification
:app:assembleRelease(full R8) +:app:assembleReleaseTestbuild clean.surfaces the R8 regression a debug build hides).
Closes #18, closes #20.