You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@senssoft.apache.org by ar...@apache.org on 2017/09/19 19:27:06 UTC
incubator-senssoft-tap git commit: Changed defaults for event type
and time filters
Repository: incubator-senssoft-tap
Updated Branches:
refs/heads/ryan-sankey e618bd271 -> 85cbec029
Changed defaults for event type and time filters
Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/commit/85cbec02
Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/tree/85cbec02
Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/diff/85cbec02
Branch: refs/heads/ryan-sankey
Commit: 85cbec0296626597e130f9dda3b36177d1111d7d
Parents: e618bd2
Author: Arthi Vezhavendan <ar...@gmail.com>
Authored: Tue Sep 19 15:26:25 2017 -0400
Committer: Arthi Vezhavendan <ar...@gmail.com>
Committed: Tue Sep 19 15:26:25 2017 -0400
----------------------------------------------------------------------
public/components/AppResults.jsx | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/85cbec02/public/components/AppResults.jsx
----------------------------------------------------------------------
diff --git a/public/components/AppResults.jsx b/public/components/AppResults.jsx
index d53f901..67fd4f5 100644
--- a/public/components/AppResults.jsx
+++ b/public/components/AppResults.jsx
@@ -35,10 +35,10 @@ class AppResults extends Component {
this.props.app.results.allTargets = this.getInitialAppResults().allTargets;//initialResults.allTargets;
this.state = {
result : 'counts',
- metric : 'blur',
+ metric : '',
minpathlength : 1,
maxpathlength : 8,
- starttime : 'now-10d',
+ starttime : 'now-15m',
endtime : 'now',
//educationlevels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
//gender : 0,
@@ -154,7 +154,7 @@ class AppResults extends Component {
<div className='grouped fields'>
<div className='field'>
<div className='ui radio checkbox'>
- <input type='radio' name='metric' value=''></input>
+ <input type='radio' name='metric' value='' defaultChecked></input>
<label>All</label>
</div>
</div>
@@ -166,7 +166,7 @@ class AppResults extends Component {
</div>
<div className='field'>
<div className='ui radio checked checkbox'>
- <input type='radio' name='metric' value='click' defaultChecked></input>
+ <input type='radio' name='metric' value='click'></input>
<label>Click</label>
</div>
</div>
@@ -182,6 +182,12 @@ class AppResults extends Component {
<label>Focus</label>
</div>
</div>
+ <div className='field'>
+ <div className='ui radio checkbox'>
+ <input type='radio' name='metric' value='scroll'></input>
+ <label>Focus</label>
+ </div>
+ </div>
</div>
@@ -205,7 +211,7 @@ class AppResults extends Component {
<div className='two fields'>
<div className='ui field' id="start-time-div" >
<label>Start logs from:</label>
- <input type="text" name="start-time" defaultValue="now-10d"></input>
+ <input type="text" name="start-time" defaultValue="now-15m"></input>
</div>
<div className='ui field' id="end-time-div">
<label>End logs at:</label>