Skip to content

Commit dd86fda

Browse files
committed
v6.8.9
1 parent 3e1a9c2 commit dd86fda

File tree

11 files changed

+7352
-62
lines changed

11 files changed

+7352
-62
lines changed

build/index.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5177,15 +5177,13 @@ var AutoConfig = /*#__PURE__*/function () {
51775177
}();
51785178

51795179
AutoConfig_defineProperty(AutoConfig, "run", function () {
5180-
var session = Session.getInstance();
5181-
var cachedConfig = loadFromGleapCache("config-".concat(session.sdkKey));
5182-
5180+
/*const session = Session.getInstance();
5181+
const cachedConfig = loadFromGleapCache(`config-${session.sdkKey}`);
51835182
if (cachedConfig) {
51845183
AutoConfig.applyConfig(cachedConfig, false);
5185-
AutoConfig.loadConfigFromServer(true)["catch"](function (e) {});
5184+
AutoConfig.loadConfigFromServer(true).catch(function (e) {});
51865185
return Promise.resolve();
5187-
}
5188-
5186+
}*/
51895187
return AutoConfig.loadConfigFromServer(false);
51905188
});
51915189

@@ -6255,7 +6253,7 @@ var Gleap_Gleap = /*#__PURE__*/function () {
62556253
currentUrl: window.location.href,
62566254
language: navigator.language || navigator.userLanguage,
62576255
mobile: isMobile(),
6258-
sdkVersion: "6.8.8",
6256+
sdkVersion: "6.8.9",
62596257
sdkType: "javascript"
62606258
};
62616259
}

demo/e81868fd_original.jpg

97.8 KB
Loading

demo/gallery.png

435 KB
Loading

demo/index.html

Lines changed: 93 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,500;0,700;0,800;1,400&display=swap"
1111
rel="stylesheet"
1212
/>
13+
<script
14+
src="https://kit.fontawesome.com/0a1af2edbf.js"
15+
crossorigin="anonymous"
16+
></script>
1317
<meta name="viewport" content="width=device-width, initial-scale=1" />
1418
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
1519
<link rel="stylesheet" type="text/css" media="screen" href="bb.css" />
@@ -35,7 +39,7 @@
3539
.header {
3640
width: 100%;
3741
min-height: 500px;
38-
background-color: #ffeec2;
42+
background-color: #ffff3f;
3943
}
4044

4145
.header-container {
@@ -56,23 +60,35 @@
5660
font-weight: 900;
5761
}
5862

59-
h2 {
63+
.sub-headline {
64+
font-size: 16px;
6065
color: #333;
61-
font-size: 20px;
6266
font-weight: 500;
6367
margin-top: 5px;
6468
}
6569

70+
.sub-headline i {
71+
color: red;
72+
}
73+
74+
.sub-headline a {
75+
color: #333;
76+
display: inline;
77+
text-decoration: underline;
78+
}
79+
6680
.logo {
67-
width: 60px;
68-
height: auto;
6981
position: fixed;
7082
top: 40px;
7183
left: 40px;
7284
}
7385

86+
.logo i {
87+
font-size: 50px;
88+
}
89+
7490
.head-image {
75-
margin-top: 40px;
91+
margin-top: 0px;
7692
width: 100%;
7793
height: auto;
7894
max-height: 500px;
@@ -91,6 +107,12 @@
91107
font-weight: 300;
92108
}
93109

110+
.content img {
111+
width: 100%;
112+
max-width: 100%;
113+
height: auto;
114+
}
115+
94116
a {
95117
color: rgb(57, 140, 254);
96118
text-decoration: none;
@@ -106,10 +128,10 @@
106128
font-size: 16px;
107129
font-weight: 600;
108130
color: rgb(255, 255, 255);
109-
background-color: rgb(57, 140, 254);
131+
background-color: #55a630;
110132
border-style: solid;
111133
border-width: 0px;
112-
border-radius: 56px;
134+
border-radius: 10px;
113135
padding: 15px 40px;
114136
text-decoration: none;
115137
cursor: pointer;
@@ -141,35 +163,78 @@
141163
</head>
142164

143165
<body>
144-
<img class="logo" src="https://i.ibb.co/wMGvWqh/Gleap-Logo.png" />
166+
<div class="logo"><i class="fa-brands fa-airbnb"></i></div>
145167
<div class="header">
146168
<div class="header-container">
147-
<h1>Gleap Demo</h1>
148-
<h2>Gleap SDK for the Web</h2>
169+
<h1>Off-Grid-it-Haus</h1>
170+
<h2 class="sub-headline">
171+
<i class="fa-solid fa-star"></i> 4,93 · 308 ratings ·
172+
<a href="#">Pioneertown, Kalifornien, USA</a>
173+
</h2>
149174
</div>
150175
</div>
151176
<div class="header-container-image">
152-
<img class="head-image" src="./pexels-jaymantri-4827.jpg" />
177+
<img class="head-image" src="./e81868fd_original.jpg" />
153178
</div>
154179
<div class="content" id="haha">
155-
<span
156-
>The Gleap SDK for JavScript is the easiest way to integrate Gleap into
157-
your apps! Achieve better app quality & ratings with comprehensive
158-
in-app bug reporting. Gleap offers affordable In-App Bug Reporting for
159-
Apps, WebApps & Websites.</span
160-
>
180+
The Off-grid itHouse brings together raw industrial aesthetics with the
181+
tactics of green design to forge a new home in the sunbaked wilds of the
182+
California high desert.
183+
<br /><br />
184+
<div class="buttonlink">Book now</div>
185+
<br /><br />
186+
<b>Die Unterkunft</b><br />
187+
<br />
188+
The Off-grid itHouse is an architecturally significant house, recently
189+
noted by Dwell as one of the 'Best Homes in America' and in the Los
190+
Angeles Times as one of the best houses of all time in Southern
191+
California. The Off-grid itHouse is one of 10 IT Houses built in
192+
California, which have received much acclaim such as the Western Home
193+
award sponsored by Sunset magazine. Also noted as one of the top 10 airbnb
194+
rentals worldwide. This is the prototype for the pre-engineered system
195+
known as the IT House.
196+
<br /><br />
197+
<img src="./gallery.png" />
198+
<br /><br />
199+
The house is 100% off-grid, powered by solar panels for energy and hot
200+
water, and is located in a pristine remote valley in the beautiful
201+
California high desert. The house observes key green principals of smaller
202+
footprint, minimal disturbance to the natural beauty of the surrounding
203+
landscape, use of renewable resources, and living simply and minimally.
204+
<br /><br />
205+
The setting of the house is remote and serene, a quiet refuge from
206+
everything, free from distractions. Amazing views and vistas in all
207+
directions.
208+
<br /><br />
209+
Perfect for design or green aficionados, writers or those needing a
210+
secluded quiet getaway.
211+
<br /><br />
212+
<b>Zugang für Gäste</b><br />
213+
<br />
214+
Intentionally there is no television and only satellite wifi for emergency
215+
communication so that one can truly experience being in a place of extreme
216+
natural beauty, and take note of the play of light and shadow, and other
217+
natural phenomena.
218+
<br /><br />
219+
The house is 100% off grid with no municipal services. All the water is
220+
brought to the site and powered by the sun. Please expect that due to the
221+
off grid nature of the home you should be prepared that power may not
222+
always be available. Please plan meals to not use excessive energy.
223+
<br /><br />
224+
The house has two new Casper mattresses and pillows for ultimate comfort
225+
and relaxation during your stay (queen and king).
161226
<br /><br />
162-
<span
163-
>No more wasting time trying to reproduce a bug. Gleap reports
164-
automatically contain a replay video, session data, logs and more. Even
165-
better: You can add custom data to your bug details.</span
166-
>
227+
It is recommended that guests arrive before sundown in order to find the
228+
house. The house is in a remote location.
167229
<br /><br />
168-
<span
169-
>In less than a minute you can add our Gleap SDK to your App or WebApp.
170-
Install our SDK, build and run. A piece of cake.</span
171-
>
172-
<div id="rand"></div>
230+
<b>Weitere wichtige Hinweise</b><br />
231+
<br />
232+
Holiday weekend 3 day minimum applies to Presidents Day weekend,
233+
Valentines Day, Memorial Day Weekend, Independence Day weekend, Labor Day
234+
Weekend, Thanksgiving, Christmas and New Years. WE DO NOT ALLOW EVENTS OR
235+
SHOOTS OF ANY KIND TO BE BOOKED THROUGH AIRBNB. WE ARE NO LONGER ALLOWING
236+
WEDDINGS. FOR INQUIRIES BEYOND VACATION RENTAL PLEASE CONTACT LOCATIONS
237+
UNLIMITED.
173238
</div>
174239
<!-- index.js as found in build/index.js -->
175240
<script src="index.js"></script>

demo/main.js

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,42 @@
11
const Gleap = window.Gleap;
22

3-
// Gleap.setApiUrl("http://localhost:9000");
4-
Gleap.initialize("6aDbcY8I6uo5qc0CnJbfAI8mCXInmsvP");
5-
6-
/*function makeid(length) {
7-
var result = '';
8-
var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
9-
var charactersLength = characters.length;
10-
for ( var i = 0; i < length; i++ ) {
11-
result += characters.charAt(Math.floor(Math.random() *
12-
charactersLength));
13-
}
14-
return result;
15-
}
16-
17-
setInterval(() => {
18-
document.getElementById("rand").innerText = makeid(1000);
19-
}, 1);*/
3+
Gleap.initialize("a5yVbBAxZ3SxYRneqPnETvEG58veOyQs");
4+
5+
Gleap.identify("12938", {
6+
email: "lukas@gleap.io",
7+
name: "Lukas",
8+
});
9+
10+
Gleap.attachCustomData({
11+
mission: "Unicorn",
12+
type: "Demo App",
13+
nestedData: {
14+
possible: true,
15+
name: "Mission: Impossible - Ghost Protocol",
16+
},
17+
});
18+
19+
setTimeout(() => {
20+
console.log("Loading place infos");
21+
22+
var xmlhttp = new XMLHttpRequest();
23+
var url = "https://jsonplaceholder.typicode.com/todos/1";
24+
25+
xmlhttp.onreadystatechange = function () {
26+
if (this.readyState == 4 && this.status == 200) {
27+
var myArr = JSON.parse(this.responseText);
28+
console.log(myArr);
29+
}
30+
};
31+
xmlhttp.open("GET", url, true);
32+
xmlhttp.send();
33+
});
34+
35+
setTimeout(() => {
36+
console.warn("Demo warning :)");
37+
console.log("Data will be loaded soon.");
38+
}, 0);
39+
40+
setTimeout(() => {
41+
console.warn("Failed to attach button listener.");
42+
}, 2000);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "6.8.8",
3+
"version": "6.8.9",
44
"main": "build/index.js",
55
"scripts": {
66
"start": "webpack serve",

published/6.8.9/appwidget.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)