blackberry/BB10-WebWorks-Framework

Toast - UI Bugs

Opened this issue · 16 comments

There are a couple display issues:

  1. Rounded corners are broken (border doesn't follow them - displays square)
  2. Insufficient padding around button text - needs more in WW to match Cascades and improve readability
  3. WISH - there were a parameter / option to include a short "pop" sound as in native UI. Actually would be nice to easily utilise the sound already on the system or substitute your own.
ejzn commented
  1. This is a known issue with box shadows and was a last minute bug introduced in the WebKit layer. It will be fixed in the next release OR we will revert the box shadow radius property.
  2. Sounds good, I will add this to our backlog and make sure it is more consistent with native.
  3. Hmm, we didn't think about this, but I will add it as a low priority item for a future release.

+1 for 3.

not parameter till next major increment

we can fix the sound though

Also sorry to jump in, but is the timing right? As LizMyers said in another post (blackberry/bbUI.js#597) the toasts seem to disappear very quickly in the current version - literally 1 second on-screen on my Dev-Alpha A?

ejzn commented

Timing is configurable as per https://developer.blackberry.com/html5/apis/blackberry.ui.toast.html. So you may set it as you desire in a complex toast.

Ta - sorry missed that.

ejzn commented

np.

Yeah - timing works! In the sense of controlling how long the toast lasts, but timing sound with animation and display is whole different matter. Tough in HTML5 - really need it baked into framework.

var message = 'No Data Connection';
blackberry.ui.toast.show(message, {timeout : 3000});    
ejzn commented

@LizMyers I did some digging with the other API's and there is no system sound associated with a Toast Message. What I got back from the native cascade side was that the sound is associated with a UIB notification being created. You can easily do this along with displaying your toast if you wish. So as it stands next release the borders + padding will be updated.

@erikj54 Thanks for that! What is a UIB notification? How do i create one in WebWorks? Could we add this to the Toast in WebWorks samples?

The push sample creates notifications, look at that

Sent from my BlackBerry 10 smartphone.

From: Myers Design Ltd
Sent: Tuesday, January 15, 2013 5:45 AM
To: blackberry/BB10-WebWorks-Framework
Reply To: blackberry/BB10-WebWorks-Framework
Cc: Nukul Bhasin
Subject: Re: [BB10-WebWorks-Framework] Toast - UI Bugs (#552)

@erikj54https://github.com/erikj54 Thanks for that! What is a UIB notification? How do i create one in WebWorks? Could we add this to the Toast in WebWorks samples?

\u2014
Reply to this email directly or view it on GitHubhttps://github.com//issues/552#issuecomment-12261390.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

ejzn commented

@LizMyers as @nukulb said we have some samples that create Notifications. A UIB notification goes into the users universal inbox and can be deleted/read by the user outside your application.

ok cheers. does it use sound too?
On 15 Jan 2013, at 11:15, Nukul Bhasin wrote:

The push sample creates notifications, look at that

Sent from my BlackBerry 10 smartphone.

From: Myers Design Ltd
Sent: Tuesday, January 15, 2013 5:45 AM
To: blackberry/BB10-WebWorks-Framework
Reply To: blackberry/BB10-WebWorks-Framework
Cc: Nukul Bhasin
Subject: Re: [BB10-WebWorks-Framework] Toast - UI Bugs (#552)

@erikj54https://github.com/erikj54 Thanks for that! What is a UIB notification? How do i create one in WebWorks? Could we add this to the Toast in WebWorks samples?

\u2014
Reply to this email directly or view it on GitHubhttps://github.com//issues/552#issuecomment-12261390.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Reply to this email directly or view it on GitHub.

Many thanks,

Liz
liz@myersdesign.com
+44 (0)75 4549 2281 mobile
Author of 2Scoops - now available on iTunes and BlackBerry App World

ejzn commented

Yup, it depends on the user notification settings though.

Uib is not available on dev alpha or public builds

Sent from my BlackBerry 10 smartphone.

From: Erik Johnson
Sent: Tuesday, January 15, 2013 6:49 AM
To: blackberry/BB10-WebWorks-Framework
Reply To: blackberry/BB10-WebWorks-Framework
Cc: Nukul Bhasin
Subject: Re: [BB10-WebWorks-Framework] Toast - UI Bugs (#552)

@LizMyershttps://github.com/LizMyers as @nukulbhttps://github.com/nukulb said we have some samples that create Notifications. A UIB notification goes into the users universal inbox and can be deleted/read by the user outside your application.

\u2014
Reply to this email directly or view it on GitHubhttps://github.com//issues/552#issuecomment-12262805.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.