jujuyeh / webapp-creator Goto Github PK
View Code? Open in Web Editor NEWUbuntu Touch Webapp Creator
Ubuntu Touch Webapp Creator
It shows the content or code of the created files
As @bhdouglass stated:
"Turns out that when selecting Ogra's container you don't have the option to select permissions. BUT you can select permissions if you first change them in the normal webapp settings they unexpectedly carry over to the ogra container."
if a app wanted to link to webapp creator - ubports/morph-browser#18
we would need to accept a url argument
When building an Ogra app there is no option to change the set of permissions like there is for the standard web apps.
Estoy tratando de crear una web-app, pero cuando trato de instalar o guardar. No pasa nada.
Me dirijo a la ruta donde supuestamente se guarda la aplicación "name.click" pero no hay nada. la trato de hacer share. Y nada. trato de subirla a openstore. y me dice, que me asegure que es una aplicación click
When creating a new webapp, the user is prompted with an icon to show in his app later when installed and on the store. However, nothing is ever mentioned regarding preferred icon size.
This information should be available to the end-user and I think it should be mentioned in the documentation.
We should switch to Ubuntu.Web
to offer a better experience.
I have created the following webapp using webapp-creator on my OPO (bacon) with UBports dev-channel. The install process appears to complete (see below), but I can't see the app on my phone. I have tried two different versions of the webapp, but the result is the same.
The app accesses a https:// site.
Any ideas?
phablet@ubuntu-phablet:~$ sudo pkcon --allow-untrusted install-local homeassistant.tomoqv_0.2_all.click
[sudo] password for phablet:
Installing files [=========================]
Finished [=========================]
Installing files [=========================]
Starting [=========================]
Finished [=========================]
Installed homeassistant.tomoqv-0.2. (installed:click,removable=1,app_name=homeassistant) summary goes here
See below for the logfile from webapp-creator:
From file /home/phablet/.cache/upstart/application-click-webapp-creator.jujuyeh_webapp-creator_1.1.log:
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.3/ComboButton.qml:398:5: QML Scrollbar: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.3/ComboButton.qml:398:5: QML Scrollbar: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.3/ComboButton.qml:398:5: QML Scrollbar: Cannot anchor to an item that isn't a parent or sibling.
library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
[PERFORMANCE]: Last frame took 45 ms to render.
QObject::startTimer: Timers cannot be started from another thread
"It might make sense to pop up a confirmation box telling the user that it was successful, a path to where the click file is (so they can pull it off the device), and a button to launch the content hub screen and/or instructions on how to install the click" - @bhdouglass
I've been trying to use this to set up a simple web app for a newspaper website. Yet no matter what I set as the main URL and also the sub urls it always opens the default browser, even if I select 'Open Links in Overlay' it ignores this and just opens the browser, making the web app useless.
Is there something I am missing? I've tried every setting for the web app from default, MultiMedia, Game and even tried Custom, to no avail. Every single link is opened externally.
I'm using an Aquaris E4.5 running UBPorts stable.
Some websites, like Tumblr, hasn't mobile layout for small screens. Ability to add custom CSS code could fix this.
Also, CSS injection useful for ad blocking purposes.
Instructions on how to save or install the click.
Maintainers nickname field should allow numbers, but it does not.
usecase: my nick everywhere since forever is 'matv1'
The '1' is not allowed.
There does not seem to be a understandable reason why this is not allowed.
Compile a drop down selection of desktop and mobile UA's useful for webapp use, so you can select from a list the custom UA to use
current automatically grants location
implement allow/deny popup just like official webapp
Add option to save, install and delete previous webapps.
Returning to a new line in the description field causes there to be a return in the manifest file, webapp fails to install
Tried changing textarea to textfield, but textfiled does not word wrap, and also I think that would break copy/paste of pre-formulated text.
Proposed solution is to regex replace the returns silent.
Web Notification API is something essential for the experience and according to Mozilla's documentation it seems simple enough that I believe that it can be shimmed easily into QML
https://developer.mozilla.org/en-US/docs/Web/API/notification
There is also an example code for implementing catching the web api signal on Qt with this stackoverflow question
https://stackoverflow.com/questions/28824296/how-to-customize-notification-web-api-in-the-qt
Would it be possible to integrate something like this to the ogra container?
In a BQ E4.5 with UBports OTA 15.04 r1
When it appears the share apps screen it doesn't show file manager. It is not possible to continue. I stop the program and get the click file from .cache/webapp-creator.jujuyeh.
Add bool svgicon to insertDesktop?
"It might be good to add a "clear" button, so a user can create a second app when they are done with the first" - @bhdouglass
onAccepted on TextField shouñd focus on next TextfFeld and flick() properly
[ENGLISH] Leave a comment if you feel it necessary to add another category under Webapp Styles and why.
[CASTELLANO] Deje un comentario si considera necesario añadir otra categoría bajo Webapp Styles y el motivo.
In the browser you can share a website from the menu. It would be awesome to -> click share on a website you are visiting -> website info is filled in to make a web app.
The default Ogra permissions are to open. Most webapps that I see come to the OpenStore using the ogra container don't need camera/location/audio/content-hub. The default should be the most minimal set of permissions possible.
Ran into a bug, where if you name your app with the "lowercase app name" being only one letter, it will create a click that installs a webapp that fails to launch, with very little errors to figure out what is going on.
So:
a) update c++ code to check if we have a folder in ~/.cache/ and try to create it if it's not there
b) try to create folder with mkdir -p
c) try to use another folder if everything fails?
Use: flickable.flick(0,[main page height]) or something similar
As reported by a user, when selecting an svg as app icon, it doesn't get copies in the click.
Reason might be:
svg icon is passed as xx + .jpg
file:///opt/click.ubuntu.com/webapp-creator.jujuyeh/1.3.02/share/qml/webapp-creator/ImportPage.qml:51: TypeError: Type error
qml: Charged
qml: file:///home/phablet/.cache/webapp-creator.jujuyeh/HubIncoming/57/submit_icon_cg1p60649486c_th.jpg
file:///opt/click.ubuntu.com/webapp-creator.jujuyeh/1.3.02/share/qml/webapp-creator/ImportPage.qml:49: TypeError: Cannot read property of null
Creating an Ogra app does not work content exchange, no way to upload any files and neighter the the login with user and password working. The solution may be to integrate Brian features added in apps like Photopea or featuresby Mateo in NC ubports app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.