Skip to content

Conversation

@BeNikk
Copy link
Contributor

@BeNikk BeNikk commented Dec 4, 2024

Issue Reference

Closes #4094

Description

Adds an optional timeout parameter to the textMsg method to improve user experience when dismissing notifications.

Changes

  • Modified textMsg method to accept custom timeout duration
  • Defaults to existing timeout if no duration specified
  • Allows more flexible message display

Testing

  • Manually tested message dismissal
  • No breaking changes introduced

@walterbender
Copy link
Member

@pikurasa what do you think of the 3-second timeout?

@pikurasa
Copy link
Collaborator

pikurasa commented Dec 5, 2024

@pikurasa what do you think of the 3-second timeout?

I think three seconds seems reasonable given that this message will probably show frequently.

@walterbender walterbender merged commit 6e491d7 into sugarlabs:master Dec 5, 2024
3 checks passed
@BeNikk BeNikk deleted the fix-message-timeout branch December 6, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Closing of popup message after delete

3 participants