You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When utilizing Onboarding with a singular page the primary button maintains the "Continue" state rather than the "Close" state.
To Reproduce
Steps to reproduce the behavior:
Trigger an Onboarding UI with a single page using the example invocation, or any other: ~/Applications/IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -type onboarding -payload "{\"pages\":[{\"title\":\"First page's title\",\"subtitle\":\"First page's subtitle\",\"body\":\"First page's body\"}]}"
Expected behavior
Expected to appear by default as if the primaryButtonLabel is set to close. ~/Applications/IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -type onboarding -payload "{\"pages\":[{\"title\":\"First page's title\",\"subtitle\":\"First page's subtitle\",\"body\":\"First page's body\",\"primaryButtonLabel\":\"Close\"}]}"
This bug does not occur when the pages are two or greater and correctly shows the Continue button until the last page is reached, which then reverts to Close.
Desktop (please complete the following information):
Describe the bug
When utilizing Onboarding with a singular page the primary button maintains the "Continue" state rather than the "Close" state.
To Reproduce
Steps to reproduce the behavior:
Trigger an Onboarding UI with a single page using the example invocation, or any other:
~/Applications/IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -type onboarding -payload "{\"pages\":[{\"title\":\"First page's title\",\"subtitle\":\"First page's subtitle\",\"body\":\"First page's body\"}]}"
Expected behavior
Expected to appear by default as if the primaryButtonLabel is set to close.
~/Applications/IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -type onboarding -payload "{\"pages\":[{\"title\":\"First page's title\",\"subtitle\":\"First page's subtitle\",\"body\":\"First page's body\",\"primaryButtonLabel\":\"Close\"}]}"
This bug does not occur when the pages are two or greater and correctly shows the Continue button until the last page is reached, which then reverts to Close.
Desktop (please complete the following information):
Workaround:
Add
"primaryButtonLabel":"Close"
to the page creation for a singular page deployments.The text was updated successfully, but these errors were encountered: