Skip to content

Commit 16271ab

Browse files
committed
[initial-screen] onboarding plugin support.
- whats new badge is hidden now. - app navigation pointer-events state changed afterFirstApp() app.
1 parent 3de779b commit 16271ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

frontend/express/public/javascripts/countly/countly.views.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ window.ManageAppsView = countlyView.extend({
11501150
// make things normal after first app create process
11511151
function afterFirstApp() {
11521152
$("#sidebar").removeClass("hidden");
1153-
$("#app-navigation").css({'opacity': '1'});
1153+
$("#app-navigation").css({'opacity': '1','pointer-events':'auto'});
11541154
$("#hide-sidebar-button").show();
11551155
$('#app-management-bar').show();
11561156
var widthOfSidebar = $('#sidebar').width();

plugins/onboarding/frontend/public/javascripts/countly.views.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ function whatsNewPopup() {
128128
'</div>' +
129129
'</div>';
130130

131-
$("#top-bar").find(".right-menu").prepend(whatsnewTopBarMenu);
131+
if (!store.get('first_app')) {
132+
$("#top-bar").find(".right-menu").prepend(whatsnewTopBarMenu);
133+
}
132134

133135
// Initialize the tooltip which will be shown only
134136
// when the user closes the popup after first view

0 commit comments

Comments
 (0)