Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
873 changes: 873 additions & 0 deletions components/clips/HighlightsBrowser.vue

Large diffs are not rendered by default.

242 changes: 0 additions & 242 deletions components/events/EventHighlights.vue

This file was deleted.

26 changes: 15 additions & 11 deletions components/events/EventPlayerPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,21 @@ function select(player: any) {
<template>
<Popover v-model:open="open">
<PopoverTrigger as-child>
<button
type="button"
:aria-expanded="open"
class="flex h-9 w-full items-center justify-between rounded-md border border-input bg-background px-4 py-2 text-sm font-medium shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<div class="flex min-w-0 items-center gap-2">
<UserPlus class="h-4 w-4 shrink-0 text-muted-foreground" />
<span class="truncate">{{ labelText }}</span>
</div>
<CaretSortIcon class="ml-2 h-4 w-4 shrink-0 opacity-50" />
</button>
<div>
<slot>
<button
type="button"
:aria-expanded="open"
class="flex h-9 w-full items-center justify-between rounded-md border border-input bg-background px-4 py-2 text-sm font-medium shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<div class="flex min-w-0 items-center gap-2">
<UserPlus class="h-4 w-4 shrink-0 text-muted-foreground" />
<span class="truncate">{{ labelText }}</span>
</div>
<CaretSortIcon class="ml-2 h-4 w-4 shrink-0 opacity-50" />
</button>
</slot>
</div>
</PopoverTrigger>
<PopoverContent class="w-[340px] p-0">
<div class="flex flex-col">
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/ar_SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "أدخل URL صالحًا يبدأ بـ http(s)",
"link_added": "تمت إضافة الرابط"
},
"highlights": {
"none": "لا توجد أبرز لقطات من مباريات هذا الحدث بعد.",
"none_for_player": "لا توجد أبرز لقطات لهذا اللاعب في هذا الحدث."
},
"phase": {
"upcoming": "قادم",
"live": "مباشر",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/da_DK.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Indtast en gyldig http(s)-URL",
"link_added": "Link tilføjet"
},
"highlights": {
"none": "Ingen highlights fra dette events kampe endnu.",
"none_for_player": "Ingen highlights med denne spiller ved dette event."
},
"phase": {
"upcoming": "Kommende",
"live": "Live",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Gib eine gültige http(s)-URL ein",
"link_added": "Link hinzugefügt"
},
"highlights": {
"none": "Noch keine Highlights aus den Matches dieses Events.",
"none_for_player": "Keine Highlights dieses Spielers bei diesem Event."
},
"phase": {
"upcoming": "Anstehend",
"live": "Live",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Enter a valid http(s) URL",
"link_added": "Link added"
},
"highlights": {
"none": "No highlights from this event's matches yet.",
"none_for_player": "No highlights of this player at this event."
},
"phase": {
"upcoming": "Upcoming",
"live": "Live",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Introduce una URL http(s) válida",
"link_added": "Enlace añadido"
},
"highlights": {
"none": "Todavía no hay highlights de las partidas de este evento.",
"none_for_player": "No hay highlights de este jugador en este evento."
},
"phase": {
"upcoming": "Próximo",
"live": "En directo",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Saisis une URL http(s) valide",
"link_added": "Lien ajouté"
},
"highlights": {
"none": "Aucun highlight pour les matchs de cet événement pour l'instant.",
"none_for_player": "Aucun highlight de ce joueur pour cet événement."
},
"phase": {
"upcoming": "À venir",
"live": "En direct",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/it_IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Inserisci un URL http(s) valido",
"link_added": "Link aggiunto"
},
"highlights": {
"none": "Ancora nessun highlight dalle partite di questo evento.",
"none_for_player": "Nessun highlight di questo giocatore in questo evento."
},
"phase": {
"upcoming": "In arrivo",
"live": "Live",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/ja_JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "有効な http(s) の URL を入力してください",
"link_added": "リンクを追加しました"
},
"highlights": {
"none": "このイベントの試合のハイライトはまだありません。",
"none_for_player": "このイベントでのこのプレイヤーのハイライトはありません。"
},
"phase": {
"upcoming": "開催予定",
"live": "開催中",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/ko_KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "유효한 http(s) URL을 입력하세요",
"link_added": "링크가 추가되었습니다"
},
"highlights": {
"none": "아직 이 이벤트 경기의 하이라이트가 없습니다.",
"none_for_player": "이 이벤트에서 이 플레이어의 하이라이트가 없습니다."
},
"phase": {
"upcoming": "예정",
"live": "진행 중",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/pl_PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Podaj prawidłowy adres URL http(s)",
"link_added": "Link dodany"
},
"highlights": {
"none": "Brak jeszcze highlightów z meczów tego wydarzenia",
"none_for_player": "Brak highlightów tego gracza w tym wydarzeniu"
},
"phase": {
"upcoming": "Nadchodzące",
"live": "Na żywo",
Expand Down
4 changes: 0 additions & 4 deletions i18n/locales/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -9467,10 +9467,6 @@
"link_invalid": "Insira uma URL http(s) válida",
"link_added": "Link adicionado"
},
"highlights": {
"none": "Ainda não há highlights das partidas deste evento.",
"none_for_player": "Nenhum highlight deste jogador neste evento."
},
"phase": {
"upcoming": "Em breve",
"live": "Ao Vivo",
Expand Down
Loading
Loading