personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(convey): load markdown deps before workspace include

The home workspace IIFE in apps/home/workspace.html calls window.AppServices.renderMarkdown synchronously at parse time, but the marked and DOMPurify script tags were emitted after the workspace include. That let the IIFE throw ReferenceError before reaching its window.toggleSection assignment, leaving the home dashboard section toggles dead.

Move both vendor tags into head next to app.js so they execute before any workspace template parses. Other workspaces with the same shape, including reflections, sol, import, chat, and transcripts, are fixed by the same ordering change.

+3 -3
+3 -3
convey/templates/app.html
··· 22 22 <script src="{{ url_for('root.static', filename='api.js') }}"></script> 23 23 <!-- App JavaScript (includes AppServices framework) --> 24 24 <script src="{{ url_for('root.static', filename='app.js') }}"></script> 25 + <!-- Markdown rendering deps (marked + DOMPurify). Must load before workspace include. --> 26 + <script src="{{ vendor_lib('marked') }}"></script> 27 + <script src="{{ vendor_lib('dompurify') }}"></script> 25 28 26 29 <!-- Apply facet theme immediately to prevent flash --> 27 30 {% if selected_facet and app_registry.apps[app].facets_enabled() %} ··· 130 133 <h1 class="visually-hidden">{{ app_registry.apps[app].label }}</h1> 131 134 {% include app_registry.apps[app].get_workspace_template() %} 132 135 </main> 133 - 134 - <script src="{{ vendor_lib('marked') }}"></script> 135 - <script src="{{ vendor_lib('dompurify') }}"></script> 136 136 137 137 <script> 138 138 (function() {