org-scn-design-studio-community / sdkpackage

SDK Package of SCN Design Studio Community
Apache License 2.0
32 stars 29 forks source link

Problems with KPI View #167

Closed alexdc128 closed 7 years ago

alexdc128 commented 7 years ago

Currently using SCN Community free extensions Version 3.0.0.201703201739 I have a problem with the KPI View 2.0, well in fact I don't have a problem but users do! When I run this in local mode and direct from BIP server if I set filters that return no data I get a band across the tile that says "No Data Available" which is perfect, problem is I have users who run this and don't get that band across the tile, they just see the tile greyed out but with last know values which is a bit misleading. Any ideas what is causing them not see the band with No Data available? kpi correct d979eab8 First picture shows it working correctly for me, second shows it incorrect for user.

entmike commented 7 years ago

It's not the size of the tile, is it? Perhaps the no data message requires a minimum height/width to be displayed. This is just a guess though.

Looks smaller in second pic, possibly due to browser window size or screen resolution?

alexdc128 commented 7 years ago

Hi Mike You are right, if I start the application in a smaller window to mimic what the user is seeing on their laptop (They will be running it on a screen normally so the screenshot is smaller because of that) The message doesn’t appear, even if I resize to full size the message still doesn’t appear. If I run at full screen and perform steps again the message appears.

Is there any way we can tweak how the message displays?

Thanks Alex

From: Mike Howles [mailto:notifications@github.com] Sent: 22 June 2017 14:06 To: org-scn-design-studio-community/sdkpackage sdkpackage@noreply.github.com Cc: Cruickshank, Alex Alex.Cruickshank@teledyne-e2v.com; Author author@noreply.github.com Subject: Re: [org-scn-design-studio-community/sdkpackage] Problems with KPI View (#167)

It's not the size of the tile, is it? Perhaps the no data message requires a minimum height/width to be displayed. This is just a guess though.

Looks smaller in second pic, possibly due to browser window size or screen resolution?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/org-scn-design-studio-community/sdkpackage/issues/167#issuecomment-310374276, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATDX8Ti0timKacfg429cxijQAgnB7luhks5sGmbRgaJpZM4OCDhw.


This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com


Sent by a member of the Teledyne e2v group of companies. This email and any attachments are confidential and meant solely for the use of the intended recipient. If you are not the intended recipient and have received this email in error, please notify us immediately by replying to the sender and then deleting this copy and the reply from your system without further disclosing, copying, distributing or using the e-mail or any attachment. Thank you for your cooperation.



This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com


entmike commented 7 years ago

Hey Alex, unfortunately the message is not rendered by the SDK code, it's automatic from the DS runtime. You could possibly explore CSS formatting options though for the message. Not sure if it's using some min-width and min-height visibility stuff or not.

alexdc128 commented 7 years ago

Ok Mike, I shall have a little dig and see what I can see.

Is it possible to add some sort of functionality to hid the KPI tile is no data is returned?

From: Mike Howles [mailto:notifications@github.com] Sent: 22 June 2017 14:35 To: org-scn-design-studio-community/sdkpackage sdkpackage@noreply.github.com Cc: Cruickshank, Alex Alex.Cruickshank@teledyne-e2v.com; Author author@noreply.github.com Subject: Re: [org-scn-design-studio-community/sdkpackage] Problems with KPI View (#167)

Hey Alex, unfortunately the message is not rendered by the SDK code, it's automatic from the DS runtime. You could possibly explore CSS formatting options though for the message. Not sure if it's using some min-width and min-height visibility stuff or not.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/org-scn-design-studio-community/sdkpackage/issues/167#issuecomment-310381826, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATDX8ePDvEP9YclclzRrnRBhBZD_q91lks5sGm2UgaJpZM4OCDhw.


This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com


Sent by a member of the Teledyne e2v group of companies. This email and any attachments are confidential and meant solely for the use of the intended recipient. If you are not the intended recipient and have received this email in error, please notify us immediately by replying to the sender and then deleting this copy and the reply from your system without further disclosing, copying, distributing or using the e-mail or any attachment. Thank you for your cooperation.



This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com


alexdc128 commented 7 years ago

Mike I have looked in the CSS and compared with users, they are running a 1600*900 resolution, I have made my screen that size and full screened the App, at that size the error doesn’t show. The error is there but a property is set to hidden and its not showing, the HideLoadingStateClass is set to hidden and im not sure why? [cid:image001.png@01D2EB6F.DAEB8110]

If I set it to true the error displays but just overlaps the tile? [cid:image002.png@01D2EB6F.DAEB8110]

I can’t see what I would need to change to rectify this? There is enough room for the error to be displayed it’s the background for the error that is too large?

Sent by a member of the Teledyne e2v group of companies. This email and any attachments are confidential and meant solely for the use of the intended recipient. If you are not the intended recipient and have received this email in error, please notify us immediately by replying to the sender and then deleting this copy and the reply from your system without further disclosing, copying, distributing or using the e-mail or any attachment. Thank you for your cooperation.



This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com


entmike commented 7 years ago

Is it possible to add some sort of functionality to hid the KPI tile is no data is returned?

Even if we can hide the tile (rendering no HTML or whatever), the 'No data' overlay message is outside of any SDK code and will remain.

You could potentially script this in BIAL to determine if there's no data and then set setVisible(false) in script, right?

alexdc128 commented 7 years ago

Hi Mike I have used BIAL to see if there is any data, if there is not I have set the value to 0, personally I think it looks better hidden but the user wants to see a 0 :) Thanks

franckblais commented 7 years ago

Hi Alex,

It's not pretty but since you've achieved the hiding by BIAL, you could show a text with 0, with the same classes as the KPI tile ... or something similar.

On Fri, Jun 23, 2017 at 6:16 AM, alexdc128 notifications@github.com wrote:

Hi Mike I have used BIAL to see if there is any data, if there is not I have set the value to 0, personally I think it looks better hidden but the user wants to see a 0 :) Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/org-scn-design-studio-community/sdkpackage/issues/167#issuecomment-310628990, or mute the thread https://github.com/notifications/unsubscribe-auth/AJpiSzPZ1p2asSlj0XEZvQ_XzSe3eCiEks5sG5CVgaJpZM4OCDhw .

-- Franck BLAIS