Loading specific SAPUI5 Business Suite not possible - sapui5

i have a question, i dont really get it.. because i cant find anything to this..
First of all my UI5 Version 1.71 (there is also no hint if a specific version is required for the icons.)
My problem is, that only some of the business suite icons are displayed or even are loaded..
for example how i get the icons:
const fonts = [{
fontFamily: "BusinessSuiteInAppSymbols",
fontURI: sap.ui.require.toUrl("sap/ushell/themes/base/fonts/")
}];
fonts.forEach(oFont => {
IconPool.registerFont(oFont);
});
it is okay, it will be registerd and some of the icons are available for example (sap-icon://BusinessSuiteInAppSymbols/icon-truck-load)
but anyway some of them are not (sap-icon://BusinessSuiteInAppSymbols/icon-stock-warehouse) i mean why? there is no information about this on the icon page, why this should not displayed or loaded ? or i am blind?
since the page for the icon says there are 338 Icons
but if i check how much items i loaded there are 287, i mean why? i cant find anything related to this

The icons delivered with UI5 depend indeed on the version. Therefore, if you want to check which icon is available for a specific UI5 version you should use the versioned demo kit to get the exact details for the version you are using.
You wrote you are using UI5 version 1.71. If you use now the Icon Explorer URL for SAPUI5 1.71.43 you can see that there are only 300 icons in (and icon-stock-warehouse is not part of it).

Related

Changing Jitsi UI and removing 3 dots button on hosted server

I am new to server side of coding. Somehow looking at tutorials I was able to host Jitsi server on my hosting.
I am using jitsi_meet plugin with flutter. Till now Jitsi works as expected in app. What I need is remove text
You are the only one in meeting
and also remove 3 dots menu icon. Instead of menu icon I would love to have camera swap icon there.
What I have done is in /etc/jitsi/meet/my-domain.com-config.js is below
// - if `toolbarButtons` is undefined, we fallback to enabling all buttons on the UI
toolbarButtons: [
'camera',
//'chat',
//'closedcaptions',
//'desktop',
//'download',
//'embedmeeting',
//'etherpad',
//'feedback',
//'filmstrip',
//'fullscreen',
'hangup',
//'help',
//'invite',
//'livestreaming',
'microphone',
//'mute-everyone',
//'mute-video-everyone',
//'participants-pane',
//'profile',
//'raisehand',
//'recording',
//'security',
//'select-background',
//'settings',
//'shareaudio',
//'sharedvideo',
//'shortcuts',
//'stats',
//'tileview',
'toggle-camera',
//'videoquality',
//'__end'
],
But it only made changes to website version not on mobile app (I am using flutter pluging jitsi_meet).
Is there anything else I need to do as well? Please help, how to go about it.
As far as I remember there should be separate code for web and mobile apps. So you should look more into the codes and understand the separation and you will definitely be able to tweak the UI you are wanting. You can also follow threads like this.
For more responses, you can post in jitsi community where there are lots of jitsi enthusiasts who can guide/help you along your journey related to jitsi. Thanks.

Material UI Tabs not rendering properly on server

I am having a problem using the "Tabs" component: https://material-ui.com/components/tabs/ In fact, when developing locally, the rendering of the component is fine. But pushing to the server, it looks weird (with differences in the borders on each side of the bar).
Moreover: when refreshing the page in which it has been embedded or browsing manually to this page, the whole template is broken all of a sudden!
I tried generating a build folder locally and launching the page from that build, and fell back on the same problem.
Thank you in advance for your help
From your description, I saw that your "build" is not work even in local development. That's mean it should not work on the production, of course.
The thing is, what is your actual "build" action? Depends on what library/framework you use, but basically with Material-UI, most popular problem comes from not load some CSS before using it's components.
Please read here first: https://material-ui.com/guides/server-rendering/#server-rendering
Just in case you use Gatsby, read here: https://www.gatsbyjs.org/packages/gatsby-plugin-material-ui/.
I'm using Gatsby and use this following config to fix some CSS issues.
stylesProvider: {
injectFirst: true,
}
Hope this help.

How would you go about downloading a file from a Flutter website?

I'm working on my personal website over at dlblack.dev (all the text is placeholder for now, I'm learning Flutter through a tutorial then I'm going to go back and make it my own). Eventually, I want there to be an option in the navigation bar called "Resume" such that when you click it, it downloads a pdf of my resume to the user's device, from the location project/assets/resume.pdf.
My web development experience is pretty limited, this is my first time really throwing together a full site, but I like how Flutter/Dart feels like a lot of backend-focused languages I've learned, especially Java (essentially what that means is if you tell me to "just integrate how it's done from HTML/JS" or something like that, I'm gonna need more explanation).
Thanks.
You can do something like this..
import 'dart:html' as html;
And..when you want to download something..
onPressed: (){
html.window.open("<link of the file>", "text");
},
This is mostly suitable when you are having the file remotely.. even for the asset file it is Ok..!

GoogleTV quick search box suggestions only showing 1 entry

I am trying to get the global quick search box in googletv to show me all my custom suggestions.
When running my app on the latest googleTV emulator, the Global QSB shows me all the appropriate custom Suggestions; however running the same app on a GTV device , the global QSB only shows me the first custom suggestion but not the rest.
I have set my content provider to return the following data:
_id,
suggest_text_1,
suggest_text_2,
suggest_intent_data
suggest_intent_extra_data
any insight would be greatly appreciated
EDIT: I checked with the team and it appears the emulator is not behaving correctly.
We only return the top result from the search provider, not all of them. This is a change we made from stock Android QSB.

How to render SVG images in iphone without uiwebview?

I want to render SVG images in iPhone without using a UIWebView. How can I do that?
I have checked these 2 links:
http://www.splashdust.net/2010/09/svgquartzrenderer-a-basic-iphone-sdk-compatible-svg-renderer/
https://github.com/splashdust/SVGQuartzRenderer
The above project on Github shows 102 errors showing UIKit framework missing and others and I are also not able to add that framework.
I think the application is for MacOS not for iOS.
http://maniacdev.com/2011/05/open-source-library-to-render-svg-graphics-as-core-animation-layers/
https://github.com/mattrajca/SVGKit
The project on the above url shows the error when i build the project.
Target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iPhoneOS' platform.
Does anyone know how to solve that? Or other useful working examples that I can use for that? I want to render SVG's on iPhone.
UPDATE: I have got working SVGKit working by reading instructions. But when I tried to make project working which iI downloaded from Github (https://github.com/splashdust/SVGQuartzRenderer
) I got following errors:
1) UIKit/UIKit.h: No such file or directory (I am not able to add it using add existing framework)
2) Libxml/tree.h: No such file or directory
3) Expected specifier-qualifier-listbefore 'xmlParserCtxtPtr'.
Does anyone know that how to resolve it and make it work?
Jason Morrissey, author of the extremely excellent Alien Blue app, the best iOS Reddit client on the store (can you tell I'm a fan? I'm also a beta tester.) recently put up his SVGKit framework, which renders SVG images as Core Animation layers. I haven't used it, but I know it exists.
And then, look... if you're just getting lots of errors when you bring in other people's classes, my strong suspicion is that you're not following their "how to use" instructions. They'll mostly tell you what frameworks are required and what platforms they support. Every time I've tried to use something like this and had a compilation bloodbath, I've gone back and found some installation instruction step I missed.
I just managed to compile SVGFlashRenderer.
For iOS you need to open the project from the directory SVGRendererTouch.
And don't forget to separately download contents of the lib/MROGeometry dir from github (just follow the link in the source tree).
P.S. For me, the best working solution was SVGKit, but not the version from Jason Morissey (mentioned in another answer), but a fork from reklis. It has many bugs fixed and works in a much more correct way.
It's easy.
SVGKImage *svgImg = [SVGKImage imageNamed:#"add-control-panel"];
SVGKFastImageView *imgView = [[SVGKFastImageView alloc] initWithFrame:CGRectMake(10, 100, 420, 280)];
imgView.image = svgImg;
[self.view addSubview:imgView];