draw.io plugins in chrome app - offlineapps

In an online version of draw.io you can enable extra plugins using their url like this https://www.draw.io/?p=svgdata (svgdata is the plugin id)
Is there a way to enable a plugin using Chrome app?

No.
In online version, the Plugins is listed under extras.
In offline as well as in Chrome App, you can't see such an Option
Which means you can't add plugins in the offline version.
Remaining functionalities that you will miss in the offline version
You can’t access or store diagrams using cloud services like Dropbox, GitHub, etc.
Save diagrams to your device or browser instead.
Online help is not available
You can’t insert PlantUML text data.
Math typesetting is not available.
Templates are not available for creating new diagrams.
You can’t export to PDF, but you can print as PDF.
The interface is only available in English.
source : draw.io
Then why?
May be because of issues with caching. If you add many plugins, each of them contains many files. Caching large number of files for offline usage will make the app worst and also consume more memory.
Anyway, you can submit a feature request here

Related

Chrome manifest v3 - is there a viable workaround to use Google's File Picker in a Chrome extension?

My searches have turned up nothing concrete. My extension uses Google's file picker to allow the user to browse their sheets and choose a desired file to write some data to, which manifest v3 breaks because of some GAPI limitations. Unless I've missed something obvious, there does not seem to be a simple workaround or method for this to migrate to v3 -- it just seems to be disallowed.
I'm not asking if there's a way to do something that they intend to not be possible (even though I doubt such a thing would exist with Google) but I'm optimistically hoping that maybe there is some hacky/annoying workaround that still fits within their rules. If I absolutely have to just allow them to set a sheet URL manually I will...I'm just trying to avoid it.
Any tips or suggestions would be appreciated.
You may have to test it yourself to make sure there are no weird behaviors, but Google has some recommendations regarding this in their migration guide:
In Manifest V3, all of your extension's logic must be included in the extension. You can no longer load and execute a remotely hosted file. A number of alternative approaches are available, depending on your use case and the reason for remote hosting. Here are approaches to consider:
Configuration-driven features and logic
In this approach, your extension loads a remote configuration (for example a JSON file) at runtime and caches the configuration locally. The extension then uses this cached configuration to decide which features to enable.
Externalize logic with a remote service
Consider migrating application logic from the extension to a remote web service that your extension can call. (Essentially a form of message passing.) This provides you the ability to keep code private and change the code on demand while avoiding the extra overhead of resubmitting to the Chrome Web Store.
Bundle third-party libraries
If you are using a popular framework like React or Bootstrap, you can download the minified files, add them to your project and import them locally.
For your case, option #3 seems like the easiest. Looking at the Google Picker API documentation it only uses two relatively small script files, https://apis.google.com/js/api.js and https://accounts.google.com/gsi/client. You could try to bundle these in your Chrome extension and call the methods locally.

Cordova Integration with OS' share menu and etc

Sorry if this looks like a lazy question or inappropriate to the website's quality standards , but I searched in many forums and the Cordova API and couldn't find an answer to that. This is a legitimate question.
I am studying the possibility to use Apache Cordova to implement a series of applications for mobile OSs. One of my requisites is that it is able to integrate with specific features of the OS (as obvious as it seems as this is the point of this framework).
To give a few examples of features I am talking about:
Share menu on Android: If you take a picture and then click on the
share menu, it will open a list with all the available apps that
supports sharing (ie. Facebook, Viber, WhatApp, Gmail...) [this is the most important];
Open file types: If you click on a PDF file in any file explorer in
Android, the system will give you a list of apps installed which
support reading this file type.
Be an "Account" source.
I can only give examples for Android as it's the only platform I have enough knowledge to enumerate such features, but I am sure other platforms support features equivalent to those as well.
Are Cordova apps able to "register" themselves in the platform, to tell it that they are able to perform these features?

How to make dojo work offline

I have a project that loads http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/dojo.xd.js, I want to be able use this project offline
I tried to download dojo.xd.js and link to it locally but this still doesn't work offline
In firebug, on the net tab I can see that there are a lot more .js files that load
Is there a simple way of making this work offline?
The way of integration depends on your way of using it.
I assume you have webserver running locally (without inet access)?!
At the dojo website there are several ways of dojo integration available. Just download one of them (do not use CDN) and put the file on your local web server. Then it is available through the local url (can be relative to your site).
If you wan't to build an "offline" app without a webserver then take a look at Adobe AIR and interation of the dojo toolkit with Dojo Extensions for Adobe AIR.
Another option might be the integration together with PhoneGap or Cordova to build an offline App, e.g. for an IPhone etc. with HTML/Javascript. Win8/RT Applications for the M$ AppStore does support HTML/Javascript, too (have not tested this with Dojo).
Keep in mind there are also some security restrictions (e.g. loading and execution of JavaScript) if you plan to "release" your app as simple html file (click to open in browser).

Metro IndexedDB, browsing the database

I am trying to store data in a "Metro" App for Windows 8 using IndexedDB.
I would like to be able to browse the database (to monitor that my operations modify the data as intended). So my question is; Is there any way of viewing the actual database of a metro app (IE10)? (something like in Chrome Dev Tools (Resources > IndexedDB))
Regards
The IE team has a blog post Debugging IndexedDB Applications that includes an IDBExplorer module that you can incorporate into your application (for testing, not recommended for production)
Not that I know, but my linq2indexeddb library has a viewer in it. That way you can inspect the content of you database while debugging. The nuget package for Metro apps can be found here. And as last, I have a blogpost on how you can use it.

trac rich client

My company uses trac for bug tracking, and while it works fine, I find the web interface a bit clunky, particularly when it comes to sorting and quickly switching between tickets.
Are there any rich client interfaces or maybe Eclipse plugins? I've seen the mylyn connector but that seems to just allow you to basically use the webpage within Eclipse.
There is an XML RPC plugin that you can use to interact with a Trac server using remote scripts. If there is something in particular that you want to do, you may be able to script it up with Ruby, Python, or a number of other languages. There are a number of examples on the plugin's web site: http://trac-hacks.org/wiki/XmlRpcPlugin
Have you ever looked at FatBug for Trac. It is a rich client for Trac. It has a nice snipping tool for uploading images directly into Trac and full text searching of all of the tickets in Trac. It even supports offline mode for being able to work with tickets when you do not have access to the Internet.