Compare commits

..

3 Commits

Author SHA1 Message Date
Ninluc 5d68757e9d Fix Reverb ?
linter / quality (push) Successful in 6m20s
tests / ci (8.3) (push) Successful in 4m57s
2026-09-17 21:01:15 +02:00
Ninluc 2de27af03b Some anonymous analytics I promise 2026-09-17 20:58:06 +02:00
Ninluc be7b276dec Remove asset building for test 2026-09-17 19:56:38 +02:00
7 changed files with 33 additions and 6 deletions
+3
View File
@@ -45,6 +45,9 @@ REVERB_APP_SECRET=oosuq0v9jgaslzp9cmhv
REVERB_HOST="perceptron.matthiasg.dev" REVERB_HOST="perceptron.matthiasg.dev"
REVERB_PORT=443 REVERB_PORT=443
REVERB_SCHEME=https REVERB_SCHEME=https
REVERB_BROADCAST_HOST=reverb
REVERB_BROADCAST_PORT=8080
REVERB_BROADCAST_SCHEME=http
REVERB_MAX_REQUEST_SIZE=100000 REVERB_MAX_REQUEST_SIZE=100000
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}" VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
+2 -2
View File
@@ -80,8 +80,8 @@ jobs:
# ------------------------- # -------------------------
# Build (optional remove if not needed for tests) # Build (optional remove if not needed for tests)
# ------------------------- # -------------------------
- name: Build Assets # - name: Build Assets
run: npm run build # run: npm run build
# ------------------------- # -------------------------
# Run tests (parallel) # Run tests (parallel)
+4 -4
View File
@@ -36,10 +36,10 @@ return [
'secret' => env('REVERB_APP_SECRET'), 'secret' => env('REVERB_APP_SECRET'),
'app_id' => env('REVERB_APP_ID'), 'app_id' => env('REVERB_APP_ID'),
'options' => [ 'options' => [
'host' => env('REVERB_HOST'), 'host' => env('REVERB_BROADCAST_HOST', env('REVERB_HOST')),
'port' => env('REVERB_PORT', 443), 'port' => env('REVERB_BROADCAST_PORT', env('REVERB_PORT', 443)),
'scheme' => env('REVERB_SCHEME', 'https'), 'scheme' => env('REVERB_BROADCAST_SCHEME', env('REVERB_SCHEME', 'https')),
'useTLS' => env('REVERB_SCHEME', 'https') === 'https', 'useTLS' => env('REVERB_BROADCAST_SCHEME', env('REVERB_SCHEME', 'https')) === 'https',
], ],
'client_options' => [ 'client_options' => [
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
+6
View File
@@ -6,6 +6,7 @@
"": { "": {
"dependencies": { "dependencies": {
"@inertiajs/vue3": "^2.3.7", "@inertiajs/vue3": "^2.3.7",
"@jaseeey/vue-umami-plugin": "^1.6.1",
"@lucide/vue": "^1.46.0", "@lucide/vue": "^1.46.0",
"@tailwindcss/typography": "^0.5.20", "@tailwindcss/typography": "^0.5.20",
"@vee-validate/zod": "^4.15.1", "@vee-validate/zod": "^4.15.1",
@@ -861,6 +862,11 @@
"@swc/helpers": "^0.5.0" "@swc/helpers": "^0.5.0"
} }
}, },
"node_modules/@jaseeey/vue-umami-plugin": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/@jaseeey/vue-umami-plugin/-/vue-umami-plugin-1.6.1.tgz",
"integrity": "sha512-a38bB7cYbwMP5HmlrT2Dk2RHdGFxVvLRci2GhY8cIwCpM419qXtvSM6SKmIJ3U3u7zYdcQLVAySOcXY150Z14Q=="
},
"node_modules/@jridgewell/gen-mapping": { "node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13", "version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+1
View File
@@ -37,6 +37,7 @@
}, },
"dependencies": { "dependencies": {
"@inertiajs/vue3": "^2.3.7", "@inertiajs/vue3": "^2.3.7",
"@jaseeey/vue-umami-plugin": "^1.6.1",
"@lucide/vue": "^1.46.0", "@lucide/vue": "^1.46.0",
"@tailwindcss/typography": "^0.5.20", "@tailwindcss/typography": "^0.5.20",
"@vee-validate/zod": "^4.15.1", "@vee-validate/zod": "^4.15.1",
+14
View File
@@ -1,4 +1,5 @@
import { createInertiaApp } from '@inertiajs/vue3'; import { createInertiaApp } from '@inertiajs/vue3';
import { VueUmamiPlugin } from '@jaseeey/vue-umami-plugin';
import { configureEcho } from '@laravel/echo-vue'; import { configureEcho } from '@laravel/echo-vue';
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'; import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
import type { DefineComponent } from 'vue'; import type { DefineComponent } from 'vue';
@@ -22,6 +23,19 @@ createInertiaApp({
setup({ el, App, props, plugin }) { setup({ el, App, props, plugin }) {
createApp({ render: () => h(App, props) }) createApp({ render: () => h(App, props) })
.use(plugin) .use(plugin)
.use(
VueUmamiPlugin({
websiteID: 'e616767f-e0d3-4ce9-b551-33c7c3806fc0',
scriptSrc: 'https://abcd.matthiasg.dev/script.js',
// autoTrack: true,
debug: import.meta.env.DEV,
extraDataAttributes: {
'data-auto-track': 'true',
'data-performance': 'true',
'data-domains': 'perceptron.matthiasg.dev,matthiasg.dev,www.matthiasg.dev',
}
}),
)
.mount(el); .mount(el);
}, },
progress: { progress: {
+3
View File
@@ -19,6 +19,9 @@
})(); })();
</script> </script>
{{-- Anonymous analytics --}}
<script defer src="https://analytics.matthiasg.dev/recorder.js" data-website-id="e616767f-e0d3-4ce9-b551-33c7c3806fc0"></script>
{{-- Inline style to set the HTML background color based on our theme in app.css --}} {{-- Inline style to set the HTML background color based on our theme in app.css --}}
<style> <style>
html { html {