Move the search bar in the search results view into the navigation bar #82

Merged
jakob.scheid merged 10 commits from chore/searchbar into main 2026-05-29 18:30:06 +02:00
Showing only changes of commit 926010f128 - Show all commits
@@ -15,22 +15,13 @@ limitations under the License.
--> -->
<script setup> <script setup>
import Searchbar from '@/features/nav/components/Searchbar-SearchResults.vue';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
const { t } = useI18n(); const { t } = useI18n();
const props = defineProps(['searchQuery']);
const searchQueryModel = defineModel();
searchQueryModel.value = props.searchQuery;
</script> </script>
<template> <template>
<div class="main-content-padding"> <div class="main-content-padding">
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

Could you please remove these whitespaces?

Could you please remove these whitespaces?
<Searchbar class="search-bar" v-model="searchQueryModel" auto-submit />
<div class="search-results-error-message-container"> <div class="search-results-error-message-container">
<div class="search-results-error-message"> <div class="search-results-error-message">
<p>{{ t('search.error.searchNotAvailable') }}</p> <p>{{ t('search.error.searchNotAvailable') }}</p>