-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save data notifications vanish too quickly #5725
Comments
[Updated] Hello, |
Hello @tillsanders,
You can specify the Survey.settings.notifications.lifetime property to increase the notification delay. By default, it is set to 2 seconds. For example, you can set to to 10 seconds using the following code:
We agreed that error notification should not disappear, because it contains a user action. I created a separate issue in this regard. Thank you |
Oh what I wouldn't give right now for the documentation of that My linter is DEMANDING to know the Type of the options argument. Currently I just get " |
@CmdrBeavis What framework do you use? Thank you, |
Angular (15)
…On Wed, Jun 21, 2023 at 1:50 AM Andrew ***@***.***> wrote:
@CmdrBeavis <https://github.com/CmdrBeavis> What framework do you use?
onComplete
<https://github.com/surveyjs/survey-library/blob/master/src/survey.ts#L152>
event has options with CompleteEvent
<https://github.com/surveyjs/survey-library/blob/master/src/survey-events-api.ts#L110>
type.
Here is survey.onComplete
<https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onComplete>
event documentation.
Thank you,
Andrew
—
Reply to this email directly, view it on GitHub
<#5725 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFTECEYOOBRFDM3ZPTG363XMKYWJANCNFSM6AAAAAAVLHEUME>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Not sure how to find it, so I'll ask; is there a way to control the display and behavior of that " |
Usability bug
Recently, #5530 improved the saving notifications. This is already a lot better than before. The messages are disappearing too quickly, however.
What is the current behavior?
When completing a survey, I have access to the callbacks
showDataSaving()
,showDataSavingSuccess()
andshowDataSavingError()
, like this:This will display notifications accordingly, at the bottom of the screen. The notifications disappear after about three seconds. The error notification contains a button that can retry sending the survey.
What is the expected behavior?
Specify your
The text was updated successfully, but these errors were encountered: