Schneller und stabiler bei Updates (0.45.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 12m25s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 12m51s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 10m43s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 10m37s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 12m42s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m38s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m39s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m33s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 44s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 12m25s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 12m51s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 10m43s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 10m37s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 12m42s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m38s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m39s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m33s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 44s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s
- Ladefehler während eines Updates schalten keine Plugins mehr ab: Wartungsmodus merkt sich den Update-Zeitraum (+2 min Nachlauf), Plugin-Uploads markieren den Dateiaustausch ohne Wartungsmodus; guard/recoverFromCrash prüfen das, betroffene Plugins (mit disabled_at im Zeitraum) werden wieder eingeschaltet - Plugin-Oberflächen werden nach public/plugin-assets kopiert (Webserver statt PHP), bei Deaktivieren/Löschen/Neu-Hochladen entfernt; Route bleibt als Rückfall - RichTextEditor in SDK, Leichte-Sprache-Leiste und Glossar asynchron; fehlende Menü-Symbole kuratiert → kein Laden des kompletten Symbolsatzes - Inertia-Prefetch (hover, 10 s) für Menülinks und Neuigkeiten-Vorschauen; Prefetch zählt nicht als Lesen (Reach) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
55a26e3f8e
commit
bf68be68f9
205 changed files with 773 additions and 464 deletions
|
|
@ -6,7 +6,7 @@ import { Button } from '@/components/ui/button';
|
|||
import { Input } from '@/components/ui/input';
|
||||
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||
import FormField from '@/components/FormField.vue';
|
||||
import RichTextEditor from '@/components/RichTextEditor.vue';
|
||||
import RichTextEditor from '@/components/RichTextEditorAsync.js';
|
||||
|
||||
/**
|
||||
* Begriff anlegen oder bearbeiten.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ defineProps({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Link :href="`/neuigkeiten/${post.slug}`" class="group flex h-full flex-col overflow-hidden rounded-lg border bg-card transition-shadow hover:shadow-md">
|
||||
<Link :href="`/neuigkeiten/${post.slug}`" prefetch cache-for="10s" class="group flex h-full flex-col overflow-hidden rounded-lg border bg-card transition-shadow hover:shadow-md">
|
||||
<NewsImage :src="post.thumb_url" :alt="post.title" />
|
||||
<div class="flex flex-1 flex-col p-4">
|
||||
<CategoryLabel :category="post.category" />
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ defineProps({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Link :href="`/neuigkeiten/${post.slug}`" class="group flex gap-4 py-3">
|
||||
<Link :href="`/neuigkeiten/${post.slug}`" prefetch cache-for="10s" class="group flex gap-4 py-3">
|
||||
<NewsImage :src="post.thumb_url" :alt="post.title" class="w-28 shrink-0 rounded-md sm:w-32" />
|
||||
<div class="min-w-0 flex-1">
|
||||
<CategoryLabel :category="post.category" />
|
||||
|
|
|
|||
|
|
@ -15,6 +15,11 @@ class Reach
|
|||
{
|
||||
public function record(NewsPost $post, User $user): void
|
||||
{
|
||||
// Vorladen beim Überfahren eines Links (Inertia „Purpose: prefetch“) ist kein Lesen
|
||||
if (request()->header('Purpose') === 'prefetch') {
|
||||
return;
|
||||
}
|
||||
|
||||
DB::table('news_reads')->insertOrIgnore([
|
||||
'post_id' => $post->id,
|
||||
'reader' => hash_hmac('sha256', 'news-read:'.$post->id.':'.$user->id, (string) config('app.key')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue