Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show pre-configured values in real time when selecting one #5

Open
tsteur opened this issue Jun 5, 2018 · 0 comments
Open

Show pre-configured values in real time when selecting one #5

tsteur opened this issue Jun 5, 2018 · 0 comments
Labels
c: Usability Enhancement New feature or request

Comments

@tsteur
Copy link
Member

tsteur commented Jun 5, 2018

When selecting a pre-configured variable for example, or configuring a variable. It would be kind of epic if we could manage to at least show the user directly the value of what the pre-configured variable currently resolves to.

Eg the ISO Date variable would show directly in the UI when selecting a variable eg "2018-02-19T23:30:15.101Z". Same for Page host, Page path, ... just so people better get an understanding of the value.

@tsteur tsteur added Enhancement New feature or request c: Usability labels Jun 5, 2018
tsteur added a commit that referenced this issue Jun 13, 2020
Eg if `$_GET['date']=today` is set, but `$_POST['date] = '';` then it might still trigger an exception like this otherwise:


> There was an error while regenerating container releases: Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information): #0 core/Date.php(148): Piwik\Date::getInvalidDateFormatException(false) #1 /core/Plugin/Controller.php(640): Piwik\Date::factory(false) #2 /core/Plugin/Controller.php(607): Piwik\Plugin\Controller->setGeneralVariablesViewAs(Object(Piwik\View), 'basic') #3 /plugins/TagManager/Controller.php(205): Piwik\Plugin\Controller->setGeneralVariablesView(Object(Piwik\View)) #4 /plugins/TagManager/Controller.php(53): Piwik\Plugins\TagManager\Controller->renderTemplate('@TagManager/deb...') #5 [internal function]: Piwik\Plugins\TagManager\Controller->debug() #6 /var/www/html/core/FrontController.php(590): call_user_func_array(Array, Array) #7 /core/FrontController.php
(165): Piwik\FrontController->doDispatch('TagManager', 'debug', Array) #8 plugins/TagManager/Context/WebContext/JavaScriptTagManagerLoader.php(72): Piwik\FrontController->dispatch('TagManager', 'debug') #9 /plugins/TagManager/Context/WebContext.php(166): Piwik\Plugins\TagManager\Context\WebContext\JavaScriptTagManagerLoader->getPreviewJsContent() #10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant