File tree Expand file tree Collapse file tree 5 files changed +33
-6
lines changed
Expand file tree Collapse file tree 5 files changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,14 @@ Gleap.setApiUrl("http://0.0.0.0:9000");
1111Gleap . initialize ( "KProDXhMS0V3UUku2iNnrZ4XsBnAYzxt" ) ;
1212//Gleap.setEnvironment("dev");
1313
14- /*Gleap.identify("user_1933333283", {
15- name: "Franz.Demoddddman+asdf@eap .io",
14+ /*
15+ Gleap.identify("user_1933333283", {
16+ name: "Luki",
1617 email: "lukas@gleap .io",
1718 value: 199
18- });*/
19+ });
20+ */
21+ //Gleap.clearIdentity();
1922
2023Gleap . attachCustomData ( {
2124 mission : "Unicorn" ,
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ export namespace Gleap {
7575 ) : void ;
7676 function open ( ) : void ;
7777 function openNews ( ) : void ;
78+ function openFeatureRequests ( ) : void ;
7879 function close ( ) : void ;
7980 function hide ( ) : void ;
8081 function setEnvironment ( environment : "dev" | "staging" | "prod" ) : void ;
Original file line number Diff line number Diff line change 11{
22 "name" : " gleap" ,
3- "version" : " 8.0.21 " ,
3+ "version" : " 8.0.22 " ,
44 "main" : " build/index.js" ,
55 "scripts" : {
66 "start" : " webpack serve" ,
Original file line number Diff line number Diff line change @@ -558,6 +558,19 @@ class Gleap {
558558 GleapFrameManager . getInstance ( ) . showWidget ( ) ;
559559 }
560560
561+ /**
562+ * Opens the feature requests overview.
563+ */
564+ static openFeatureRequests ( ) {
565+ GleapFrameManager . getInstance ( ) . setAppMode ( "widget" ) ;
566+
567+ GleapFrameManager . getInstance ( ) . sendMessage ( {
568+ name : "open-feature-requests" ,
569+ } ) ;
570+
571+ GleapFrameManager . getInstance ( ) . showWidget ( ) ;
572+ }
573+
561574 isLiveMode ( ) {
562575 if ( this . offlineMode === true ) {
563576 return false ;
Original file line number Diff line number Diff line change @@ -210,8 +210,8 @@ export const injectStyledCSS = (
210210
211211 .gleap-notification-close {
212212 border-radius: 100%;
213- width: 30px ;
214- height: 30px ;
213+ width: 28px ;
214+ height: 28px ;
215215 background-color: ${ subTextColor } ;
216216 display: flex;
217217 justify-content: center;
@@ -230,6 +230,16 @@ export const injectStyledCSS = (
230230 animation-name: bbFadeInOpacity;
231231 }
232232
233+ @media only screen and (max-width: 450px) {
234+ .gleap-notification-close {
235+ visibility: visible;
236+ pointer-events: auto;
237+ animation-duration: 0.7s;
238+ animation-fill-mode: both;
239+ animation-name: bbFadeInOpacity;
240+ }
241+ }
242+
233243 .gleap-notification-close svg {
234244 width: 45%;
235245 height: 45%;
You can’t perform that action at this time.
0 commit comments