Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/HDX-9933-remove-old-onbo…
Browse files Browse the repository at this point in the history
…arding-workflows' into dev

# Conflicts:
#	ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/webassets.yml
  • Loading branch information
alexandru-m-g committed Jul 17, 2024
2 parents 1cb8b90 + 0c5bcf8 commit 21e78e8
Show file tree
Hide file tree
Showing 51 changed files with 6 additions and 2,957 deletions.
20 changes: 0 additions & 20 deletions ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/base/header-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,6 @@ $(document).ready(function(){
// // }
// }

function showSurveyPopup(){
var SURVEY_COOKIE = "hdx-survey-popup";
var cookie = $.cookie(SURVEY_COOKIE);
if (!cookie) {
$("#surveyPopup a.btn-primary").click(function (e) {
hdxUtil.analytics.sendSurveyEvent('confirm popup');
window.open("https://www.surveymonkey.com/r/FWXQ6W2", "_blank");
$("#surveyPopup").hide();
$.cookie(SURVEY_COOKIE, true, {
expires: 200 //days
});
});
$.cookie(SURVEY_COOKIE, true, {
expires: 2 //days
});
hdxUtil.analytics.sendSurveyEvent('show popup');
$("#surveyPopup").show();
}
}

function initCookiePopup(){
var consent = $.cookie("hdx-cookie-consent");
if (!consent) {
Expand Down
92 changes: 0 additions & 92 deletions ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/webassets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ onboarding-scripts:
- hdx_theme/ckan
contents:
- widget/onboarding/onboarding.js
- widget/onboarding/signup.js
- popup-scripts

onboarding-styles:
Expand All @@ -383,17 +382,12 @@ onboarding-styles:
- widget/onboarding/notification.css
- widget/onboarding/logout.css
- widget/onboarding/login.css
- widget/onboarding/signup.css

onboarding-bulk-user-styles:
output: ckanext-hdx_theme/%(version)s_onboarding-user.css
contents:
- onboarding-styles
- onboarding-registered-styles
- onboarding-follow-styles
- onboarding-invite-styles
- onboarding-done-styles
- onboarding-select-org-styles
- onboarding-survey-styles


Expand All @@ -402,14 +396,6 @@ onboarding-bulk-user-scripts:
preload:
- hdx_theme/onboarding-scripts

onboarding-bulk-user-complete-onboarding-scripts:
extra:
preload:
- hdx_theme/onboarding-registered-scripts
- hdx_theme/onboarding-follow-scripts
- hdx_theme/onboarding-invite-scripts
- hdx_theme/onboarding-select-org-scripts

onboarding-bulk-anon-styles:
output: ckanext-hdx_theme/%(version)s_onboarding-anon.css
contents:
Expand Down Expand Up @@ -471,84 +457,6 @@ onboarding-survey-styles:
contents:
- widget/onboarding/survey.css

onboarding-follow-scripts:
<<: *common-js
output: ckanext-hdx_theme/%(version)s_onboarding-follow-scripts.js
extra:
preload:
- hdx_theme/onboarding-follow-styles
contents:
# - follow.js
- widget/onboarding/follow.js

onboarding-follow-styles:
<<: *common-css
output: ckanext-hdx_theme/%(version)s_onboarding-follow-styles.css
contents:
- widget/onboarding/follow.css

onboarding-invite-scripts:
<<: *common-js
output: ckanext-hdx_theme/%(version)s_onboarding-invite-scripts.js
extra:
preload:
- hdx_theme/onboarding-invite-styles
contents:
- widget/onboarding/invite.js

onboarding-invite-styles:
<<: *common-css
output: ckanext-hdx_theme/%(version)s_onboarding-invite-styles.css
contents:
- widget/onboarding/invite.css

onboarding-register-scripts:
<<: *common-js
output: ckanext-hdx_theme/%(version)s_onboarding-register-scripts.js
extra:
preload:
- hdx_theme/ckan
- hdx_theme/onboarding-register-styles
contents:
- widget/onboarding/register.js

onboarding-register-styles:
<<: *common-css
output: ckanext-hdx_theme/%(version)s_onboarding-register-styles.css
contents:
- widget/onboarding/register.css

onboarding-registered-scripts:
<<: *common-js
output: ckanext-hdx_theme/%(version)s_onboarding-registered-scripts.js
extra:
preload:
- hdx_theme/onboarding-registered-styles
contents:
- widget/onboarding/registered.js

onboarding-registered-styles:
<<: *common-css
output: ckanext-hdx_theme/%(version)s_onboarding-registered-styles.css
contents:
- widget/onboarding/registered.css

onboarding-select-org-scripts:
<<: *common-js
output: ckanext-hdx_theme/%(version)s_onboarding-select-org-scripts.js
extra:
preload:
- hdx_theme/ckan
- hdx_theme/onboarding-select-org-styles
contents:
- widget/onboarding/select-organisation.js

onboarding-select-org-styles:
<<: *common-css
output: ckanext-hdx_theme/%(version)s_onboarding-select-org-styles.css
contents:
- widget/onboarding/select-organisation.css

signin-styles:
<<: *common-css
output: ckanext-hdx_theme/%(version)s_singin-styles.css
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 21e78e8

Please sign in to comment.