diff --git a/static/to_compile/js/controllers/assistant/analytics.ts b/static/to_compile/js/controllers/assistant/analytics.ts index 2365f694a..f6d96d99b 100644 --- a/static/to_compile/js/controllers/assistant/analytics.ts +++ b/static/to_compile/js/controllers/assistant/analytics.ts @@ -32,6 +32,7 @@ export default class extends Controller { api_host: "https://eu.posthog.com", autocapture: false, capture_pageview: false, + person_profiles: 'always', persistence: "memory", } @@ -47,6 +48,10 @@ export default class extends Controller { this.#fillSessionStorageWithAction() this.#setupIntersectionObserverForPageView() this.#captureUserConversionScore() + + if (this.posthogDebugValue) { + posthog.debug() + } } #fillSessionStorageWithAction() { @@ -85,7 +90,6 @@ export default class extends Controller { propertiesToSendToPostHog.iframe = true } - posthog.capture("$set", { $set: propertiesToSendToPostHog }) diff --git a/templates/components/produit/_detail.html b/templates/components/produit/_detail.html index 015e6623c..595394d4f 100644 --- a/templates/components/produit/_detail.html +++ b/templates/components/produit/_detail.html @@ -2,7 +2,7 @@ class="qf-flex qf-flex-col qf-gap-5w" >
-

+

{{ content|default:produit.qu_est_ce_que_j_en_fais|safe }}

diff --git a/templates/components/search/_search_result.html b/templates/components/search/_search_result.html index f30ada710..fb6bd22bb 100644 --- a/templates/components/search/_search_result.html +++ b/templates/components/search/_search_result.html @@ -3,6 +3,9 @@ target="_top" style="background-image: none;" class=" + focus:!no-underline + focus:!bg-none + focus:!qf-bg-grey-1000-50-hover hover:!no-underline hover:!bg-none hover:!qf-bg-grey-1000-50-hover diff --git a/templates/components/sidebar/share/action.html b/templates/components/sidebar/share/action.html index 28b475814..3613a3e2b 100644 --- a/templates/components/sidebar/share/action.html +++ b/templates/components/sidebar/share/action.html @@ -13,7 +13,65 @@ {% endblock modal_title %} {% block modal_content %} -Bouton de partage + {% endblock modal_content %} {# TODO: documenter #} diff --git a/templates/qfdmd/base.html b/templates/qfdmd/base.html index 89742fe2b..708df22e3 100644 --- a/templates/qfdmd/base.html +++ b/templates/qfdmd/base.html @@ -59,7 +59,7 @@