aframe-babia-components 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/filters/babia-selector.js +256 -79
- package/components/filters/babia-treebuilder.js +1 -2
- package/components/geometries/babia-cyl.js +180 -0
- package/components/others/assets/tooltip.png +0 -0
- package/components/others/babia-camera.js +195 -0
- package/components/others/babia-controls.js +56 -31
- package/components/others/babia-navigator.js +55 -49
- package/components/others/babia-range-selector.js +208 -0
- package/components/others/babia-slider.js +36 -8
- package/components/others/babia-ui.js +246 -73
- package/components/others/common.js +60 -73
- package/components/queriers/babia-querycsv.js +96 -0
- package/components/queriers/babia-queryes.js +203 -132
- package/components/visualizers/babia-bars.js +4 -35
- package/components/visualizers/babia-barsmap.js +2 -30
- package/components/visualizers/babia-boats.js +92 -100
- package/components/visualizers/babia-bubbles.js +9 -26
- package/components/visualizers/babia-cyls.js +197 -201
- package/components/visualizers/babia-cylsmap.js +171 -241
- package/components/visualizers/babia-doughnut.js +2 -28
- package/components/visualizers/babia-network.js +191 -124
- package/components/visualizers/babia-pie.js +2 -30
- package/dist/aframe-babia-components.js +21678 -19529
- package/dist/aframe-babia-components.min.js +7 -1
- package/dist/aframe-babia-components.min.js.map +1 -1
- package/docs/APIs/CHARTS.md +10 -4
- package/docs/APIs/DATAMANAGEMENT.md +7 -0
- package/docs/APIs/OTHERS.md +27 -0
- package/docs/APIs/QUERIERS.md +16 -0
- package/docs/RELEASE_NOTES.md +32 -21
- package/docs/Tutorials/multiuser.md +47 -2
- package/examples/assets/door/New Bitmap Image.jpg +0 -0
- package/examples/assets/door/door.mtl +26 -0
- package/examples/assets/door/door.obj +6927 -0
- package/examples/assets/popups/0.png +0 -0
- package/examples/assets/popups/1.png +0 -0
- package/examples/assets/popups/10.png +0 -0
- package/examples/assets/popups/2.png +0 -0
- package/examples/assets/popups/3.png +0 -0
- package/examples/assets/popups/4.png +0 -0
- package/examples/assets/popups/5.png +0 -0
- package/examples/assets/popups/6.png +0 -0
- package/examples/assets/popups/7.png +0 -0
- package/examples/assets/popups/8.png +0 -0
- package/examples/assets/popups/9.png +0 -0
- package/examples/assets/popups/close.jpg +0 -0
- package/examples/assets/popups/info.jpg +0 -0
- package/examples/assets/textures/brownwall.png +0 -0
- package/examples/assets/textures/concrete.png +0 -0
- package/examples/assets/textures/white-wall-texture.jpg +0 -0
- package/examples/charts/cyls/index.html +13 -4
- package/examples/charts/cyls/primitive.html +76 -0
- package/examples/charts/cylsmap/index.html +14 -5
- package/examples/charts_querier/bars_querier/data.csv +10 -0
- package/examples/charts_querier/bars_querier/index_csv.html +80 -0
- package/examples/dashboard/chaoss-dashboards.html +259 -0
- package/examples/dashboard/chaoss-issues.html +248 -0
- package/examples/dashboard/chaoss-pr.html +248 -0
- package/examples/dashboard/index.html +247 -0
- package/examples/dashboard/issues_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/issues_queries/issues-by-organization.json +107 -0
- package/examples/dashboard/issues_queries/issues.json +117 -0
- package/examples/dashboard/issues_queries/median-open-time.json +123 -0
- package/examples/dashboard/issues_queries/organizations.json +130 -0
- package/examples/dashboard/issues_queries/projects.json +130 -0
- package/examples/dashboard/issues_queries/repositories.json +130 -0
- package/examples/dashboard/issues_queries/status.json +107 -0
- package/examples/dashboard/issues_queries/submitter.json +125 -0
- package/examples/dashboard/issues_queries/submitters.json +113 -0
- package/examples/dashboard/pullrequests_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/median-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/organizations.json +130 -0
- package/examples/dashboard/pullrequests_queries/projects.json +130 -0
- package/examples/dashboard/pullrequests_queries/pull-requests-by-organization.json +107 -0
- package/examples/dashboard/pullrequests_queries/pull-requests.json +117 -0
- package/examples/dashboard/pullrequests_queries/repositories.json +130 -0
- package/examples/dashboard/pullrequests_queries/status.json +107 -0
- package/examples/dashboard/pullrequests_queries/submitter.json +125 -0
- package/examples/dashboard/pullrequests_queries/submitters.json +113 -0
- package/examples/dashboard/range.html +88 -0
- package/examples/dashboard/template.html +136 -0
- package/examples/demos/1.0.11/index_multiuser_ui.html +1 -1
- package/examples/multi_bars/data.json +14 -0
- package/examples/multi_bars/data2.json +15 -0
- package/examples/multi_bars/data3.json +23 -0
- package/examples/multi_bars/easyrtc.js +11984 -0
- package/examples/multi_bars/index.html +97 -0
- package/examples/multi_bars/index1.html +111 -0
- package/examples/multi_bars/index2.html +102 -0
- package/examples/multi_bars/index3.html +104 -0
- package/examples/multi_boats/data3.json +174 -0
- package/examples/multi_boats/data4.json +192 -0
- package/examples/multi_boats/{index.html → index_multi_boats.html} +50 -55
- package/examples/multi_boats/jetuml.html +124 -115
- package/examples/multi_boats/jetuml_evolution_experiment.html +419 -0
- package/examples/multi_boats/only_queryjson.html +132 -0
- package/examples/multi_boats/only_queryjson2.html +167 -0
- package/examples/multi_boats/only_queryjson3.html +165 -0
- package/examples/multi_boats/queryjson_treebuilder.html +132 -0
- package/examples/multi_boats/with_selector.html +121 -111
- package/examples/multiuser/choose_avatar/index.html +18 -8
- package/examples/selector_boats/jetuml_from_3_2_to_1_0.json +62382 -0
- package/examples/ui/network/data.json +123 -0
- package/examples/ui/network/links.json +13 -0
- package/examples/ui/network/network.html +75 -0
- package/examples/ui/network/network_nodes_links.html +82 -0
- package/examples/ui/network/nodes.json +12 -0
- package/index.html +69 -3
- package/index.js +6 -1
- package/package.json +4 -3
- package/tests/screenshots/other_snapshots.js/chaoss-issues.png +0 -0
- package/tests/screenshots/other_snapshots.js/chaoss-pr.png +0 -0
- package/tests/screenshots/other_snapshots.js/template.png +0 -0
- package/tests/ui.js +7 -0
- package/webpack.common.js +1 -1
- package/webpack.devnossl.js +16 -0
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -79
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>Babia Bashboard - Visualize your Data </title>
|
|
7
|
+
<meta name="description" content="Museum building with aframe and babia">
|
|
8
|
+
</meta>
|
|
9
|
+
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
|
|
10
|
+
<script src="https://rawgit.com/fernandojsg/aframe-teleport-controls/master/dist/aframe-teleport-controls.min.js"></script>
|
|
11
|
+
<script src="https://unpkg.com/aframe-tooltip-component/dist/aframe-tooltip-component.min.js"></script>
|
|
12
|
+
<script src="../../dist/aframe-babia-components.js"></script>
|
|
13
|
+
<link rel="stylesheet" href="../assets/gitlab-corner.css">
|
|
14
|
+
</head>
|
|
15
|
+
|
|
16
|
+
<body>
|
|
17
|
+
<a-scene id="scene">
|
|
18
|
+
|
|
19
|
+
<!-- Assets -->
|
|
20
|
+
<a-assets>
|
|
21
|
+
<img id="sky" src="../demos/1.0.11/assets/360-panorama.jpg">
|
|
22
|
+
<img id="wood" src="../demos/1.0.11/assets/floor-texture.jpg">
|
|
23
|
+
<img id="metalic" src="../demos/1.0.11/assets/metalic-texture.jpg">
|
|
24
|
+
<img id="wall" src="../assets/textures/white-wall-texture.jpg">
|
|
25
|
+
<a-asset-item id="door-obj" src="../assets/door/door.obj"></a-asset-item>
|
|
26
|
+
<a-asset-item id="door-mtl" src="../assets/door/door.mtl"></a-asset-item>
|
|
27
|
+
</a-assets>
|
|
28
|
+
|
|
29
|
+
<!-- Enviroment -->
|
|
30
|
+
<a-sky src="#sky"></a-sky>
|
|
31
|
+
|
|
32
|
+
<!-- Lights -->
|
|
33
|
+
<a-entity light="color: #fff ; type: ambient; intensity: 0.85"></a-entity>
|
|
34
|
+
|
|
35
|
+
<!-- Querier/Filters Components -->
|
|
36
|
+
<a-entity id="data1" babia-queryjson="url: ../charts_querier/pie_querier/data.json"></a-entity>
|
|
37
|
+
<a-entity id="data2" babia-queryjson="url: ../charts_querier/cyls_querier/data.json"></a-entity>
|
|
38
|
+
<a-entity id="data3" babia-queryjson="url: ../charts_querier/multichart_querier/data.json"></a-entity>
|
|
39
|
+
<a-entity id="filter1" babia-filter="from: data1; filter: size=12" ></a-entity>
|
|
40
|
+
<a-entity id="filter2" babia-filter="from: data2; filter: age=2014" ></a-entity>
|
|
41
|
+
<a-entity id="nodes" babia-queryjson='url: ../charts_querier/network_chart_querier/nodes.json;'> </a-entity>
|
|
42
|
+
<a-entity id="links" babia-queryjson='url: ../charts_querier/network_chart_querier/links.json;'></a-entity>
|
|
43
|
+
<a-entity id="tree" babia-queryjson="url: ../boats/boats_treegenerator/data.json;"></a-entity>
|
|
44
|
+
|
|
45
|
+
<a-entity scale="0.4 2 0.4" babia-boats="from: treetest; area: area" position="0 1 0"></a-entity>
|
|
46
|
+
|
|
47
|
+
<!-- Room -->
|
|
48
|
+
<a-entity id="Room">
|
|
49
|
+
<a-entity id="floorRoom" material="shader: flat; src: #wood"
|
|
50
|
+
geometry="primitive: box; width: 7; depth: 9; height: 0.1"></a-entity>
|
|
51
|
+
<a-entity id="ceiling" geometry="primitive: box; width: 7; depth: 9; height: 0.1"
|
|
52
|
+
position="0 3 0" material="shader: flat; src: #wall"></a-entity>
|
|
53
|
+
<a-entity id ="door" obj-model="obj: #door-obj; mtl: #door-mtl"
|
|
54
|
+
position="3.4 1.2 -2.7" rotation="-90 -90 0" scale="0.013 0.013 0.011"></a-entity>
|
|
55
|
+
<a-entity id="wall1" position="3.65 1.5 0" >
|
|
56
|
+
<a-entity id="wall1-1" geometry="primitive: box; width: 0.5; depth: 8.7; height: 3"
|
|
57
|
+
material="shader: flat; src: #wall"></a-entity>
|
|
58
|
+
<a-entity id="shelf1-1" geometry="primitive: box; width: 0.5; depth: 2.5; height: 0.15"
|
|
59
|
+
material="shader: flat; src: #wood;" position="-0.5 -0.75 0" rotation="0 0 0">
|
|
60
|
+
<!-- Cyls -->
|
|
61
|
+
<a-entity babia-cyls='from: data2; x_axis: name; height: size; radius: metric2; legend: true; axis: true;
|
|
62
|
+
radiusMax: 1.5; heightMax: 15'
|
|
63
|
+
position="0.1 0 -0.45" rotation="0 -90 0" scale="0.1 0.1 0.1"></a-entity>
|
|
64
|
+
</a-entity>
|
|
65
|
+
<a-entity id="shelf1-2" geometry="primitive: box; width: 0.3; depth: 2; height: 0.15"
|
|
66
|
+
material="shader: flat; src: #wood;" position="-0.3 -0.5 2.75" rotation="0 0 0">
|
|
67
|
+
<!-- Doughnut -->
|
|
68
|
+
<a-entity babia-doughnut='animation: false; from: data1; key: name; legend: true'
|
|
69
|
+
position="0 0.75 0" rotation="90 -90 0" scale="0.45 0.2 0.45"></a-entity>
|
|
70
|
+
</a-entity>
|
|
71
|
+
</a-entity>
|
|
72
|
+
<a-entity id="wall2" position="-3.5 1.5 0">
|
|
73
|
+
<a-entity id="wall2-1" geometry="primitive: box; width: 0.3; depth: 8.7; height: 1"
|
|
74
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 -1 0"></a-entity>
|
|
75
|
+
<a-entity id="wall2-2" geometry="primitive: box; width: 0.3; depth: 8.7; height: 0.3"
|
|
76
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 1.35 0"></a-entity>
|
|
77
|
+
<a-entity id="wall2-3" geometry="primitive: box; width: 0.3; depth: 0.5; height: 1.7"
|
|
78
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 0"></a-entity>
|
|
79
|
+
<a-entity id="wall2-4" geometry="primitive: box; width: 0.3; depth: 0.6; height: 1.7"
|
|
80
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 4.35"></a-entity>
|
|
81
|
+
<a-entity id="wall2-5" geometry="primitive: box; width: 0.3; depth: 0.6; height: 1.7"
|
|
82
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 -4.35"></a-entity>
|
|
83
|
+
</a-entity>
|
|
84
|
+
<a-entity id="wall3" position="0 1.5 -4.5">
|
|
85
|
+
<a-entity id="wall3-1" geometry="primitive: box; width: 7; depth: 0.3; height: 3"
|
|
86
|
+
material="shader: flat; src: #wall"></a-entity>
|
|
87
|
+
<a-entity id="column3" geometry="primitive: box; width: 0.3; depth: 0.3; height: 3"
|
|
88
|
+
material="shader: flat; src: #wall; repeat: 1 5" position="0 0 0.15"></a-entity>
|
|
89
|
+
<a-entity id="shelf3-1" geometry="primitive: box; width: 0.5; depth: 2; height: 0.15"
|
|
90
|
+
material="shader: flat; src: #wood;" position="-1.75 -1 0.4" rotation="0 90 0">
|
|
91
|
+
<!-- Bars -->
|
|
92
|
+
<a-entity babia-bars='from: data1; legend: true; axis: true; x_axis: name; height: size; chartHeight: 20'
|
|
93
|
+
position="0.1 0.1 -0.83" rotation="0 -90 0" scale="0.1 0.1 0.1"></a-entity>
|
|
94
|
+
</a-entity>
|
|
95
|
+
<a-entity id="shelf3-2" geometry="primitive: box; width: 0.5; depth: 2; height: 0.15"
|
|
96
|
+
material="shader: flat; src: #wood;" position="1.75 -0.5 0.3" rotation="0 90 0">
|
|
97
|
+
<!-- Pie -->
|
|
98
|
+
<a-entity babia-pie='from: filter1; animation: false; key: name; legend: true'
|
|
99
|
+
position="-0.04 0.6 0" rotation="90 -90 0" scale="0.5 0.2 0.5"></a-entity>
|
|
100
|
+
</a-entity>
|
|
101
|
+
</a-entity>
|
|
102
|
+
<a-entity id="wall4" position="0 1.5 4.5">
|
|
103
|
+
<a-entity id="wall4-1" geometry="primitive: box; width: 7.3; depth: 0.3; height: 1"
|
|
104
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 -1 0"></a-entity>
|
|
105
|
+
<a-entity id="wall4-2" geometry="primitive: box; width: 7.3; depth: 0.3; height: 0.3"
|
|
106
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 1.35 0"></a-entity>
|
|
107
|
+
<a-entity id="wall4-3" geometry="primitive: box; width: 0.5; depth: 0.3; height: 1.7"
|
|
108
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 0"></a-entity>
|
|
109
|
+
<a-entity id="wall4-4" geometry="primitive: box; width: 0.3; depth: 0.3; height: 1.7"
|
|
110
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="-3.2 0.35 0"></a-entity>
|
|
111
|
+
<a-entity id="wall4-5" geometry="primitive: box; width: 0.6; depth: 0.3; height: 1.7"
|
|
112
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="3.4 0.35 0"></a-entity>
|
|
113
|
+
<a-entity id="column4" geometry="primitive: box; width: 0.3; depth: 0.3; height: 3"
|
|
114
|
+
material="shader: flat; src: #wall; repeat: 1 5" position="0 0 -0.15"></a-entity>
|
|
115
|
+
</a-entity>
|
|
116
|
+
|
|
117
|
+
<a-entity id="table1" position="-1.75 0 -0.4" scale="0.9 0.9 0.9">
|
|
118
|
+
<a-entity id="plank1" geometry="primitive: box; width: 1; depth: 4; height: 0.15"
|
|
119
|
+
material="src: #wood;" position="0 1 0" rotation="0 0 0">
|
|
120
|
+
<!-- Cylsmap -->
|
|
121
|
+
<a-entity babia-cylsmap='animation: false; x_axis: name; z_axis: age; height: metric2; radius: size; legend: true; from: data3;
|
|
122
|
+
heightMax: 85'
|
|
123
|
+
position="-0.3 0.076 0.5 " rotation="0 0 0" scale="0.005 0.005 0.005"></a-entity>
|
|
124
|
+
<!-- Barsmap -->
|
|
125
|
+
<a-entity babia-barsmap='animation: false; x_axis: name; z_axis: age; height: size; legend: true; from: data3'
|
|
126
|
+
position="-0.3 0.075 0" rotation="0 90 0" scale="0.055 0.055 0.055"></a-entity>
|
|
127
|
+
<!-- Bubbles -->
|
|
128
|
+
<a-entity babia-bubbles='animation: true; x_axis: name; z_axis: age; height: metric2; radius: size; legend: true; from: data3;
|
|
129
|
+
heightMax: 45'
|
|
130
|
+
position="-0.3 0.075 -1.7 " rotation="0 0 0" scale="0.005 0.005 0.005"></a-entity>
|
|
131
|
+
</a-entity>
|
|
132
|
+
<a-entity id="leg1-1" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
133
|
+
material="src: #wood;" position="0.4 0.5 -1.9" rotation="0 0 0"></a-entity>
|
|
134
|
+
<a-entity id="leg1-2" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
135
|
+
material="src: #wood;" position="-0.4 0.5 -1.9" rotation="0 0 0"></a-entity>
|
|
136
|
+
<a-entity id="leg1-3" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
137
|
+
material="src: #wood;" position="0.4 0.5 1.9" rotation="0 0 0"></a-entity>
|
|
138
|
+
<a-entity id="leg1-4" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
139
|
+
material="src: #wood;" position="-0.4 0.5 1.9" rotation="0 0 0"></a-entity>
|
|
140
|
+
</a-entity>
|
|
141
|
+
|
|
142
|
+
<a-entity id="table2" position="0.75 0 -1" scale="0.9 0.9 0.9">
|
|
143
|
+
<a-entity id="plank2" geometry="primitive: box; width: 1; depth: 1; height: 0.15"
|
|
144
|
+
material="src: #wood;" position="0 1 0" rotation="0 0 0">
|
|
145
|
+
<!-- Network -->
|
|
146
|
+
<a-entity id="network" babia-network='nodesFrom: nodes; linksFrom: links;
|
|
147
|
+
nodeId: country; nodeLabel: country; nodeAutoColorBy: country;
|
|
148
|
+
nodeResolution: 20; nodeVal: size; nodeRelSize: 0.04;
|
|
149
|
+
linkWidth: 0.5; linkAutoColorBy: source;
|
|
150
|
+
nodeLegend: true; linkLegend: true; linkLabel: id;'
|
|
151
|
+
rotation="0 0 0" position="0 0.6 0" scale="0.01 0.01 0.01"></a-entity>
|
|
152
|
+
</a-entity>
|
|
153
|
+
<a-entity id="leg2-1" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
154
|
+
material="src: #wood;" position="0.45 0.5 -0.45" rotation="0 0 0"></a-entity>
|
|
155
|
+
<a-entity id="leg2-2" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
156
|
+
material="src: #wood;" position="-0.45 0.5 -0.45" rotation="0 0 0"></a-entity>
|
|
157
|
+
<a-entity id="leg2-3" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
158
|
+
material="src: #wood;" position="0.45 0.5 0.45" rotation="0 0 0"></a-entity>
|
|
159
|
+
<a-entity id="leg2-4" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
160
|
+
material="src: #wood;" position="-0.45 0.5 0.45" rotation="0 0 0"></a-entity>
|
|
161
|
+
</a-entity>
|
|
162
|
+
|
|
163
|
+
<a-entity id="table3" position="0 0 2.75" rotation="0 90 0" scale="0.9 0.9 0.9">
|
|
164
|
+
<a-entity id="plank3" geometry="primitive: box; width: 1.5; depth: 2.5; height: 0.15"
|
|
165
|
+
material="src: #wood;" position="0 1 0" rotation="0 0 0">
|
|
166
|
+
<!-- Boats -->
|
|
167
|
+
<a-entity babia-treebuilder="field: id; split_by: /; from: tree"
|
|
168
|
+
babia-boats="area: area"
|
|
169
|
+
scale="0.03 0.07 0.03" position="0 0.075 0" rotation="0 90 0"></a-entity>
|
|
170
|
+
</a-entity>
|
|
171
|
+
<a-entity id="leg3-1" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
172
|
+
material="src: #wood;" position="0.65 0.5 -1.15" rotation="0 0 0"></a-entity>
|
|
173
|
+
<a-entity id="leg3-2" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
174
|
+
material="src: #wood;" position="-0.65 0.5 -1.15" rotation="0 0 0"></a-entity>
|
|
175
|
+
<a-entity id="leg3-3" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
176
|
+
material="src: #wood;" position="0.65 0.5 1.15" rotation="0 0 0"></a-entity>
|
|
177
|
+
<a-entity id="leg3-4" geometry="primitive: box; width: 0.1; depth: 0.1; height: 0.9"
|
|
178
|
+
material="src: #wood;" position="-0.65 0.5 1.15" rotation="0 0 0"></a-entity>
|
|
179
|
+
</a-entity>
|
|
180
|
+
|
|
181
|
+
</a-entity>
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
<!-- Controls and Camera -->
|
|
185
|
+
<a-entity id ="cameraRig" position="0 0 0">
|
|
186
|
+
<a-entity id="head" camera look-controls
|
|
187
|
+
wasd-controls="fly: false">
|
|
188
|
+
</a-entity>
|
|
189
|
+
<!-- Hand Controls -->
|
|
190
|
+
<a-entity id="leftHand" teleport-controls="cameraRig: #cameraRig; teleportOrigin: #head; collisionEntities: #floorRoom;
|
|
191
|
+
hitCylinderColor: #ff3468; curveHitColor: #ff3468; curveMissColor: #333333; curveLineWidth: 0.01; button: trigger"
|
|
192
|
+
oculus-touch-controls="hand: left">
|
|
193
|
+
<a-entity id="tooltip_trigger_L" class="tips" tooltip="text: Teleport; width: 0.07; height: 0.03; targetPosition: 0.002 -0.02 -0.014; lineHorizontalAlign: right; rotation: -90 0 0; src:assets/tooltip.png"
|
|
194
|
+
position="-0.09 -0.04 -0.08"></a-entity>
|
|
195
|
+
<a-entity id="tooltip_grip_L" class="tips" tooltip="text: Open/Close \nMenu; width: 0.08; height: 0.04; targetPosition: 0.006 -0.008 0.033; rotation: -90 0 0; src:assets/tooltip.png"
|
|
196
|
+
position="0.085 -0.01 0.07"></a-entity>
|
|
197
|
+
</a-entity>
|
|
198
|
+
<a-entity id="rightHand"
|
|
199
|
+
oculus-touch-controls="hand: right" laser-controls="hand: right" raycaster="objects: .babiaxraycasterclass">
|
|
200
|
+
<a-entity id="tooltip_trigger_R" class="tips" tooltip="text: Click; width: 0.07; height: 0.03; targetPosition: 0.005 -0.02 -0.014; lineHorizontalAlign: left; rotation: -90 0 0; src:assets/tooltip.png"
|
|
201
|
+
position="0.09 -0.04 -0.08"></a-entity>
|
|
202
|
+
<a-entity id="tooltip_grip_R" class="tips" tooltip="text: Open/Close \nTips; width: 0.08; height: 0.04; targetPosition: -0.006 -0.008 0.033; rotation: -90 0 0; lineHorizontalAlign: right; src:assets/tooltip.png"
|
|
203
|
+
position="-0.085 -0.01 0.07"></a-entity>
|
|
204
|
+
</a-entity>
|
|
205
|
+
<a-entity id ="cursor" cursor="rayOrigin:mouse" raycaster="objects: .babiaxraycasterclass"></a-entity>
|
|
206
|
+
</a-entity>
|
|
207
|
+
|
|
208
|
+
</a-scene>
|
|
209
|
+
<div class="gitlab-corner-wrapper"><a
|
|
210
|
+
href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/demos/1.0.11/index.html"
|
|
211
|
+
class="gitlab-corner" aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art"
|
|
212
|
+
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 586 559">
|
|
213
|
+
<g id="g44">
|
|
214
|
+
<path id="path46" class="cls-1"
|
|
215
|
+
d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
|
|
216
|
+
</g>
|
|
217
|
+
<g id="g48">
|
|
218
|
+
<path id="path50" class="cls-2"
|
|
219
|
+
d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
|
|
220
|
+
</g>
|
|
221
|
+
<g id="g56">
|
|
222
|
+
<path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
|
|
223
|
+
</g>
|
|
224
|
+
<g id="g64">
|
|
225
|
+
<path id="path66" class="cls-3"
|
|
226
|
+
d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
|
|
227
|
+
</g>
|
|
228
|
+
<g id="g72">
|
|
229
|
+
<path id="path74" class="cls-2"
|
|
230
|
+
d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
|
|
231
|
+
</g>
|
|
232
|
+
<g id="g76">
|
|
233
|
+
<path id="path78" class="cls-1"
|
|
234
|
+
d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
|
|
235
|
+
</g>
|
|
236
|
+
<g id="g80">
|
|
237
|
+
<path id="path82" class="cls-3"
|
|
238
|
+
d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
|
|
239
|
+
</g>
|
|
240
|
+
<g id="g84">
|
|
241
|
+
<path id="path86" class="cls-2"
|
|
242
|
+
d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
|
|
243
|
+
</g>
|
|
244
|
+
</svg></a></div>
|
|
245
|
+
</body>
|
|
246
|
+
|
|
247
|
+
</html>
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"aggs": {
|
|
3
|
+
"2": {
|
|
4
|
+
"date_histogram": {
|
|
5
|
+
"field": "grimoire_creation_date",
|
|
6
|
+
"interval": "30d",
|
|
7
|
+
"time_zone": "Europe/Berlin",
|
|
8
|
+
"min_doc_count": 1
|
|
9
|
+
},
|
|
10
|
+
"aggs": {
|
|
11
|
+
"1": {
|
|
12
|
+
"percentiles": {
|
|
13
|
+
"script": {
|
|
14
|
+
"source": "if (doc.containsKey('state')) {\n if (doc['state'].value == 'closed') {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['closed_at'].value.millis), ZoneId.of('Z'))).toMinutes()/1440.0;\n } else {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(new Date().getTime()), ZoneId.of('Z'))).toMinutes()/1440.0;\n }\n\n \n} else {\n return 0;\n}",
|
|
15
|
+
"lang": "painless"
|
|
16
|
+
},
|
|
17
|
+
"percents": [
|
|
18
|
+
80
|
|
19
|
+
],
|
|
20
|
+
"keyed": false
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"size": 0,
|
|
27
|
+
"highlight": {
|
|
28
|
+
"pre_tags": [
|
|
29
|
+
"@kibana-highlighted-field@"
|
|
30
|
+
],
|
|
31
|
+
"post_tags": [
|
|
32
|
+
"@/kibana-highlighted-field@"
|
|
33
|
+
],
|
|
34
|
+
"fields": {
|
|
35
|
+
"*": {}
|
|
36
|
+
},
|
|
37
|
+
"require_field_match": false,
|
|
38
|
+
"fragment_size": 2147483647
|
|
39
|
+
},
|
|
40
|
+
"_source": {
|
|
41
|
+
"excludes": []
|
|
42
|
+
},
|
|
43
|
+
"stored_fields": [
|
|
44
|
+
"*"
|
|
45
|
+
],
|
|
46
|
+
"script_fields": {
|
|
47
|
+
"painless_delay": {
|
|
48
|
+
"script": {
|
|
49
|
+
"source": "if (doc.containsKey('state')) {\n if (doc['state'].value == 'closed') {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['closed_at'].value.millis), ZoneId.of('Z'))).toMinutes()/1440.0;\n } else {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(new Date().getTime()), ZoneId.of('Z'))).toMinutes()/1440.0;\n }\n\n \n} else {\n return 0;\n}",
|
|
50
|
+
"lang": "painless"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"docvalue_fields": [
|
|
55
|
+
{
|
|
56
|
+
"field": "closed_at",
|
|
57
|
+
"format": "date_time"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"field": "created_at",
|
|
61
|
+
"format": "date_time"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"field": "grimoire_creation_date",
|
|
65
|
+
"format": "date_time"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"field": "merged_at",
|
|
69
|
+
"format": "date_time"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"field": "metadata__enriched_on",
|
|
73
|
+
"format": "date_time"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"field": "metadata__timestamp",
|
|
77
|
+
"format": "date_time"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"field": "metadata__updated_on",
|
|
81
|
+
"format": "date_time"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"field": "updated_at",
|
|
85
|
+
"format": "date_time"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"query": {
|
|
89
|
+
"bool": {
|
|
90
|
+
"must": [
|
|
91
|
+
{
|
|
92
|
+
"query_string": {
|
|
93
|
+
"analyze_wildcard": true,
|
|
94
|
+
"default_field": "*",
|
|
95
|
+
"query": "*"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"match_all": {}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"query_string": {
|
|
103
|
+
"query": "pull_request:false",
|
|
104
|
+
"analyze_wildcard": true,
|
|
105
|
+
"default_field": "*"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"range": {
|
|
110
|
+
"grimoire_creation_date": {
|
|
111
|
+
"gte": 1486022007273,
|
|
112
|
+
"lte": 1643788407273,
|
|
113
|
+
"format": "epoch_millis"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"filter": [],
|
|
119
|
+
"should": [],
|
|
120
|
+
"must_not": []
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"aggs": {
|
|
3
|
+
"2": {
|
|
4
|
+
"terms": {
|
|
5
|
+
"field": "author_org_name",
|
|
6
|
+
"size": 1000,
|
|
7
|
+
"order": {
|
|
8
|
+
"_count": "desc"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"size": 0,
|
|
14
|
+
"highlight": {
|
|
15
|
+
"pre_tags": [
|
|
16
|
+
"@kibana-highlighted-field@"
|
|
17
|
+
],
|
|
18
|
+
"post_tags": [
|
|
19
|
+
"@/kibana-highlighted-field@"
|
|
20
|
+
],
|
|
21
|
+
"fields": {
|
|
22
|
+
"*": {}
|
|
23
|
+
},
|
|
24
|
+
"require_field_match": false,
|
|
25
|
+
"fragment_size": 2147483647
|
|
26
|
+
},
|
|
27
|
+
"_source": {
|
|
28
|
+
"excludes": []
|
|
29
|
+
},
|
|
30
|
+
"stored_fields": [
|
|
31
|
+
"*"
|
|
32
|
+
],
|
|
33
|
+
"script_fields": {
|
|
34
|
+
"painless_delay": {
|
|
35
|
+
"script": {
|
|
36
|
+
"source": "if (doc.containsKey('state')) {\n if (doc['state'].value == 'closed') {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['closed_at'].value.millis), ZoneId.of('Z'))).toMinutes()/1440.0;\n } else {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(new Date().getTime()), ZoneId.of('Z'))).toMinutes()/1440.0;\n }\n\n \n} else {\n return 0;\n}",
|
|
37
|
+
"lang": "painless"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"docvalue_fields": [
|
|
42
|
+
{
|
|
43
|
+
"field": "closed_at",
|
|
44
|
+
"format": "date_time"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"field": "created_at",
|
|
48
|
+
"format": "date_time"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"field": "grimoire_creation_date",
|
|
52
|
+
"format": "date_time"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"field": "merged_at",
|
|
56
|
+
"format": "date_time"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"field": "metadata__enriched_on",
|
|
60
|
+
"format": "date_time"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"field": "metadata__timestamp",
|
|
64
|
+
"format": "date_time"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"field": "metadata__updated_on",
|
|
68
|
+
"format": "date_time"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"field": "updated_at",
|
|
72
|
+
"format": "date_time"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"query": {
|
|
76
|
+
"bool": {
|
|
77
|
+
"must": [
|
|
78
|
+
{
|
|
79
|
+
"query_string": {
|
|
80
|
+
"analyze_wildcard": true,
|
|
81
|
+
"default_field": "*",
|
|
82
|
+
"query": "*"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"query_string": {
|
|
87
|
+
"query": "pull_request:false",
|
|
88
|
+
"analyze_wildcard": true,
|
|
89
|
+
"default_field": "*"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"range": {
|
|
94
|
+
"grimoire_creation_date": {
|
|
95
|
+
"gte": 1486022007272,
|
|
96
|
+
"lte": 1643788407272,
|
|
97
|
+
"format": "epoch_millis"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"filter": [],
|
|
103
|
+
"should": [],
|
|
104
|
+
"must_not": []
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"aggs": {
|
|
3
|
+
"2": {
|
|
4
|
+
"date_histogram": {
|
|
5
|
+
"field": "grimoire_creation_date",
|
|
6
|
+
"interval": "30d",
|
|
7
|
+
"time_zone": "Europe/Berlin",
|
|
8
|
+
"min_doc_count": 1
|
|
9
|
+
},
|
|
10
|
+
"aggs": {
|
|
11
|
+
"3": {
|
|
12
|
+
"terms": {
|
|
13
|
+
"field": "state",
|
|
14
|
+
"size": 1000,
|
|
15
|
+
"order": {
|
|
16
|
+
"_count": "desc"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"size": 0,
|
|
24
|
+
"highlight": {
|
|
25
|
+
"pre_tags": [
|
|
26
|
+
"@kibana-highlighted-field@"
|
|
27
|
+
],
|
|
28
|
+
"post_tags": [
|
|
29
|
+
"@/kibana-highlighted-field@"
|
|
30
|
+
],
|
|
31
|
+
"fields": {
|
|
32
|
+
"*": {}
|
|
33
|
+
},
|
|
34
|
+
"require_field_match": false,
|
|
35
|
+
"fragment_size": 2147483647
|
|
36
|
+
},
|
|
37
|
+
"_source": {
|
|
38
|
+
"excludes": []
|
|
39
|
+
},
|
|
40
|
+
"stored_fields": [
|
|
41
|
+
"*"
|
|
42
|
+
],
|
|
43
|
+
"script_fields": {
|
|
44
|
+
"painless_delay": {
|
|
45
|
+
"script": {
|
|
46
|
+
"source": "if (doc.containsKey('state')) {\n if (doc['state'].value == 'closed') {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['closed_at'].value.millis), ZoneId.of('Z'))).toMinutes()/1440.0;\n } else {\n return Duration.between(LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['grimoire_creation_date'].value.millis), ZoneId.of('Z')), LocalDateTime.ofInstant(Instant.ofEpochMilli(new Date().getTime()), ZoneId.of('Z'))).toMinutes()/1440.0;\n }\n\n \n} else {\n return 0;\n}",
|
|
47
|
+
"lang": "painless"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"docvalue_fields": [
|
|
52
|
+
{
|
|
53
|
+
"field": "closed_at",
|
|
54
|
+
"format": "date_time"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"field": "created_at",
|
|
58
|
+
"format": "date_time"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"field": "grimoire_creation_date",
|
|
62
|
+
"format": "date_time"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"field": "merged_at",
|
|
66
|
+
"format": "date_time"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"field": "metadata__enriched_on",
|
|
70
|
+
"format": "date_time"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"field": "metadata__timestamp",
|
|
74
|
+
"format": "date_time"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"field": "metadata__updated_on",
|
|
78
|
+
"format": "date_time"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"field": "updated_at",
|
|
82
|
+
"format": "date_time"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"query": {
|
|
86
|
+
"bool": {
|
|
87
|
+
"must": [
|
|
88
|
+
{
|
|
89
|
+
"query_string": {
|
|
90
|
+
"analyze_wildcard": true,
|
|
91
|
+
"default_field": "*",
|
|
92
|
+
"query": "*"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"query_string": {
|
|
97
|
+
"query": "pull_request:false",
|
|
98
|
+
"analyze_wildcard": true,
|
|
99
|
+
"default_field": "*"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"range": {
|
|
104
|
+
"grimoire_creation_date": {
|
|
105
|
+
"gte": 1486022007273,
|
|
106
|
+
"lte": 1643788407273,
|
|
107
|
+
"format": "epoch_millis"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"filter": [],
|
|
113
|
+
"should": [],
|
|
114
|
+
"must_not": []
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|