Addresses real gaps found in testing (a Macedonian question on an English page returned nothing): - Detect the language of the QUESTION (Cyrillic -> MK; Slovene markers -> SI; else the page language) and load that language's index + curated answers. Fixes cross-language questions. - Expand curated multilingual intents (now incl. enrolment/eVŠ, deadlines, health, "what is MSOS", etc.) with stem keywords for better paraphrase matching. MK/SI answers machine-drafted — proofread before launch. - Suggested-question chips on open (localized) to guide users. - Privacy-safe analytics: fire a GA4 'assistant_query' event ONLY after the visitor accepts cookies (q text, result type, question vs page language) so the team can see real FAQs and unanswered questions. - Move the widget to bottom-left on pages with the floating "Become a member" CTA so they never overlap. Design polish (chips, typing dots, launcher pulse). - CI: rebuild the search index on every deploy (setup-python + build script) so the assistant stays in sync with content automatically. Build script is now path-portable (no hardcoded path). Verified in a headless browser: MK-on-EN now answers correctly, chips work, analytics event fires only with consent, become-a-member offset applies, zero console errors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .gitea/workflows | ||
| assistant | ||
| css | ||
| docs | ||
| en | ||
| images | ||
| mk | ||
| si | ||
| templates | ||
| tools | ||
| .gitignore | ||
| .htaccess | ||
| 404.html | ||
| README.md | ||
| apple-touch-icon.png | ||
| assistant.css | ||
| assistant.js | ||
| blog-filter.js | ||
| consent.js | ||
| export_code.sh | ||
| favicon-96x96.png | ||
| favicon.ico | ||
| favicon.svg | ||
| guide-feedback.js | ||
| main.js | ||
| member-form.js | ||
| my-route.js | ||
| news-filter.js | ||
| optimize_images.py | ||
| robots.txt | ||
| site.webmanifest | ||
| sitemap.xml | ||
| student-guide.js | ||
| style.css | ||
| update_html.py | ||
| web-app-manifest-192x192.png | ||
| web-app-manifest-512x512.png | ||
README.md
msos spletna stran