feat: feinschliff für iphone und ipad
- Safe Areas: Header unter Statusleiste/Notch, Ränder im Querformat
- Touch: alle Buttons mind. 44 px, kein Doppeltipp-Zoom-Verzug
- ab 1024 px Breite zwei Spalten für die Clip-Karten
- relative Zeitangaben ('vor 5 Min.'), genaues Datum als Tooltip
- kurze Einblendungen für Speichern, Löschen, Anheften und Fehler
- nach über 60 s im Hintergrund wird die Liste neu geladen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6d58a697e3
commit
57eaede300
19 files changed
+301
-50
No files matched your search
@@ -3,10 +3,12 @@ import { computed, ref, watch } from 'vue'
|
||||
|
||||
import type { ClipKind } from '@/api/types'
|
||||
import { useClipsStore } from '@/stores/clips'
|
||||
import { useToastStore } from '@/stores/toast'
|
||||
import { readClipboardText } from '@/utils/clipboard'
|
||||
import { detectLanguage, LANGUAGES } from '@/utils/highlight'
|
||||
|
||||
const store = useClipsStore()
|
||||
const toast = useToastStore()
|
||||
|
||||
const content = ref('')
|
||||
const kind = ref<ClipKind>('text')
|
||||
@@ -58,6 +60,7 @@ async function save(): Promise<void> {
|
||||
content.value = ''
|
||||
kind.value = 'text'
|
||||
languageTouched.value = false
|
||||
toast.show('Gespeichert')
|
||||
} catch (e) {
|
||||
error.value = e instanceof Error ? e.message : String(e)
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user