Esri / Trek2There

Trek2There™
Apache License 2.0
10 stars 5 forks source link

About dialog #17

Closed spatialdude closed 7 years ago

spatialdude commented 7 years ago

Add a standard about dialog/page

marikavertzonis commented 7 years ago

The dialog appears now. The text in this dialog comes from the app item info. We took text from the product description document - 50 word positioning text. @ScottSand - If other text is more suitable, please advise. It can easily be changed. We also used the same text in the Access and Use Constraints section as is used in Survey123. Again if there is other text that should go here, please advise. Otherwise we can close this issue.

marikavertzonis commented 7 years ago

@defiantgoat - the link to license info is not working on ios or android. I check in survey123 and player and the same link works in those.

marikavertzonis commented 7 years ago

Along with the new disclaimer text is a new license agreement url for 'labs' apps. @defiantgoat - please change the url to http://esriurl.com/labseula Same link in the disclaimer page doesnt work either. no click through happening.

ScottSand commented 7 years ago

Trek2There is a mobile app that gets your field workforce to any off-road location, where no trails or paths exist. Position yourself, locate things, and confidently get in and get out. Save time by getting there faster, and then find your way home safely. Trek2There provides two simple pieces of continuously updated information: the direction you need to travel, and a distance remaining to get there.

marikavertzonis commented 7 years ago

spoke to @ScottSand on phone, use of the 50 word positioning text is good. only work required on this page is to fix the license link.

marikavertzonis commented 7 years ago

As of build 1.0.172, license agreement link is outside the text box. Link works well on Android 5.0 and above and iOS. See #38 for issues on Android 4.0.

defiantgoat commented 7 years ago

Regarding links not working in TextArea elements, here is a response from Qt:

The issue seems to be happening only with Quick Controls 1 TextArea. Can you switch to using Quick Controls 2 TextArea which works fine with this?

import QtQuick 2.5
import QtQuick.Window 2.2
import QtQuick.Controls 1.4
import QtQuick.Controls 2.0 as NewControls

Window {
    visible: true
    width: 640
    height: 480

    Item {
        id: app
        anchors.fill: parent

        NewControls.TextArea{
            anchors.fill: parent
            readOnly: true
            textFormat: Text.RichText
            text: qsTr("<a href='https://urldefense.proofpoint.com/v2/url?u=http-3A__www.qt.io&d=DQIFaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ZAr3QlWVC8_oCv7e4GWZv4KoU_C3z0EH3gI8LRa5AcI&m=GQK4KfuykbjP5IXmCeOiaqKCouw4uNDt86eW05g2rAg&s=F0IKNT5Xzs0h9GV_TWvtCdGiGBrJXKBSAntw7RJ5hpM&e= '>Qt.io</a>")
            onLinkActivated: {
                console.log("Clicked on link")
                Qt.openUrlExternally(link);
            }
        }
    }
}

We're focusing on fixing only Controls 1 bugs that can't be worked around by using Controls 2.

Regards, Kimmo