- Introduce cache busting (to circumvent aggressive caching on iOS - but ideal in other contexts as well)

- Change the build process to allow cache busting
- Optimisations to the build process
- Several improvements of UI geared towards mobile experience
-
This commit is contained in:
Josako
2025-09-25 17:28:01 +02:00
parent cc47ce2d32
commit 16ce59ae98
32 changed files with 1538 additions and 899 deletions

View File

@@ -2,14 +2,17 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>{% block title %}EveAI Chat{% endblock %}</title>
<link href="{{url_for('static', filename='dist/chat-client.css')}}" rel="stylesheet" />
<link href="{{ asset_url('dist/chat-client.css') }}" rel="stylesheet" />
<!-- Custom theme colors from tenant settings -->
<style>
:root {
/* Visual viewport vh unit fallback (1vh if JS not yet set) */
--vvh: 1vh;
/* Legacy support - keeping for backward compatibility only */
/* These variables are deprecated and should not be used in new code */
--primary-color: {{ customisation.active_background_color|default('#ffffff') }};

View File

@@ -26,7 +26,7 @@
</script>
<!-- Chat client JS - bundled met alle componenten en ES modules -->
<script src="{{url_for('static', filename='dist/chat-client.js')}}"></script>
<script src="{{ asset_url('dist/chat-client.js') }}"></script>
<script>
// Voeg taalinstellingen toe aan chatConfig indien deze nog niet bestaan
if (window.chatConfig) {