feat: agregar búsqueda de canciones y configurar hook de Gitea Actions
- Agregar componente SearchFilter.client.vue modular y expandible - Integrar búsqueda en MainContainer con contador de resultados - Implementar filtrado de canciones por nombre en pages/index.vue - Configurar hook PostToolUse para monitorear Gitea Actions - Copiar y adaptar script monitor-gitea-action.sh para repodructor
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
|
||||
<div class="header-controls">
|
||||
<AuthIndicator />
|
||||
<SearchFilter
|
||||
:results-count="filteredCount"
|
||||
@search="$emit('search', $event)"
|
||||
/>
|
||||
<PlaybackControls
|
||||
@shuffle-changed="$emit('shuffle-changed', $event)"
|
||||
@repeat-changed="$emit('repeat-changed', $event)"
|
||||
@@ -38,6 +42,7 @@ import { Music } from 'lucide-vue-next'
|
||||
import AuthIndicator from './AuthIndicator.client.vue'
|
||||
import ThemeToggle from './ThemeToggle.client.vue'
|
||||
import PlaybackControls from './PlaybackControls.client.vue'
|
||||
import SearchFilter from './SearchFilter.client.vue'
|
||||
|
||||
const props = defineProps({
|
||||
currentTrack: {
|
||||
@@ -47,10 +52,14 @@ const props = defineProps({
|
||||
isPlaying: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
filteredCount: {
|
||||
type: Number,
|
||||
default: null
|
||||
}
|
||||
})
|
||||
|
||||
defineEmits(['shuffle-changed', 'repeat-changed'])
|
||||
defineEmits(['shuffle-changed', 'repeat-changed', 'search'])
|
||||
|
||||
// Computed property to determine if there's an active track
|
||||
const hasActiveTrack = computed(() => !!props.currentTrack)
|
||||
|
||||
Reference in New Issue
Block a user