nudge
nudge copied to clipboard
Disabling "Update Later" presents UI issue when the requiredInstallationDate is within the hour
An issue has been observed when disabling the Update Later button; the dropdown list is not visible when there is less than an hour before the installDate.
The below screenshot looks like nothing is wrong, but upon clicking the dropdown, nothing appears. Which makes sense; we’ve:
- Disabled “Update Later”
- It's within 72 hours, so the "Custom" option isn't available
- Both “One hour” and “One Day” have passed

To reproduce:
- Install Nudge (at leasy 1.1.11) and apply basic configuration
- Set
allowLaterDeferralButtontofalsewithin the configuration - An hour before the
requiredInstallationDate, attempt to click theDeferdropdown
Sounds like the only option is to not allow any deferral UI in this state then since you disabled that key. Do you disagree?
I agree with that sentiment. Removing the deferral drop-down menu altogether when Nudge is within the final hour should suffice.
Fixed here https://github.com/macadmins/nudge/commit/d904dff5540ec21307340d8e22bb77e44a91b0d0