Code Monkey home page Code Monkey logo

webapp-creator's People

Contributors

bhdouglass avatar cibersheep avatar jujuyeh avatar mateosalta avatar nfsprodriver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

webapp-creator's Issues

Ogra Permissions Selection

When building an Ogra app there is no option to change the set of permissions like there is for the standard web apps.

[SPANISH] Install/save option

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

Add preferred icon size to app and/or documentation

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.

Custom UA won't make any change

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

Add confimation box

"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

Links all open in external browser

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.

Ability to add custom CSS or JS

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.

Maintainers nickname field should allow numbers

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.

Make premade list for UA

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

  • Desktop Firefox/chrome
  • modern Android chrome
  • Iphone/ipad

ogra permissions prompt

current automatically grants location

implement allow/deny popup just like official webapp

Return character in description fails on instalation

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.

screenshot20180121_234901103

Proposed solution is to regex replace the returns silent.

Support for Web Notifications

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?

Add clear button

"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

Webapp Styles

[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.

Add "Share to" link

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.

Ogra Default Permissions

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.

lowercase app name must be more than one character

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.

[e5] App fails to create webapps after deleting all conf files and folders

  • Delete all files and folder with UT Tweak Tool and or uninstall Webapp Creator
  • Install it again
  • Try to create a webapp
  • Process fails as no ~/.cache/webapp-creator.jujuyeh/ folder is created anymore

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?

WAC assumes svg App Icons are jpg

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

Content exchange Ogra issues

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.