diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue
index fa9484c..3d4e44a 100644
--- a/src/components/AppHeader.vue
+++ b/src/components/AppHeader.vue
@@ -17,6 +17,10 @@
margin-bottom: 0rem;
}
+.app-header-link {
+ margin-right: 2.5rem;
+}
+
.logo {
height: 100%;
width: auto;
diff --git a/src/components/CheckboxCompnent.vue b/src/components/CheckboxCompnent.vue
index f7be416..909130d 100644
--- a/src/components/CheckboxCompnent.vue
+++ b/src/components/CheckboxCompnent.vue
@@ -10,6 +10,7 @@ const props = defineProps<{
selectAll?: () => void;
isDisabled?: boolean;
isCapitalized?: boolean;
+ isIndeterminate?: boolean;
}>();
const emit = defineEmits(['update:modelValue', 'selectAll']);
@@ -39,7 +40,7 @@ const model = computed({
:checked="checked"
:disabled="isDisabled"
/>
-
+
diff --git a/src/components/FiltersComponent.vue b/src/components/FiltersComponent.vue
index 3973939..69a2307 100644
--- a/src/components/FiltersComponent.vue
+++ b/src/components/FiltersComponent.vue
@@ -15,29 +15,8 @@ const props = defineProps<{
}>();
const sourcesStore = useSourcesStore();
-const availableSources = ref(sourcesStore.sourcesList);
const { shouldClose } = toRefs(props);
-const handleSearchFilters = (event: Event) => {
- if (!(event.target instanceof HTMLInputElement))
- availableSources.value = sourcesStore.sourcesList;
- const target = event.target as HTMLInputElement;
- const value = target.value;
- let temp = undefined;
-
- for (const [category, sources] of Object.entries(sourcesStore.sourcesList)) {
- const filteredSources = sources.filter((source) =>
- source.name.toLowerCase().includes(value.toLowerCase())
- );
- if (filteredSources.length > 0) {
- temp = temp || {};
- temp[category] = filteredSources;
- }
- }
-
- availableSources.value = temp || sourcesStore.sourcesList;
-};
-
const hideFilters = ref(false);
watch(shouldClose, (close) => {
if (close) {
@@ -45,10 +24,6 @@ watch(shouldClose, (close) => {
}
});
-watch(sourcesStore, () => {
- availableSources.value = sourcesStore.sourcesList;
-});
-
const filters = useFiltersStore();
const toggleFilters = () => (hideFilters.value = !hideFilters.value);
@@ -70,22 +45,6 @@ const clearFilters = () => {
-
-
{{ $t('languages') }}{{ $t(':') }}
-
-
-
- x
-
-
-
-
{{ $t('sources') }}{{ $t(':') }}
{
+
+
{{ $t('languages') }}{{ $t(':') }}
+
+
+
+ x
+
+
+
+
{{ $t('removeAll') }}
@@ -121,29 +96,22 @@ const clearFilters = () => {
{{ $t('noFiltersSelected') }}
-
-
- {{ $t('languages') }}
+ {{ $t('sources') }}
-
+
- {{ $t('sources') }}
+ {{ $t('sdgsAcronym') }}
-
+
- {{ $t('sdgsAcronym') }}
+ {{ $t('languages') }}
-
+
diff --git a/src/components/FooterComponent.vue b/src/components/FooterComponent.vue
index 74a8af5..48b660c 100644
--- a/src/components/FooterComponent.vue
+++ b/src/components/FooterComponent.vue
@@ -1,5 +1,8 @@
@@ -9,6 +12,9 @@ import { WL_FEEDBACK_FORM_URL } from '@/utils/constants';
{{ $t('giveFeedback') }}
+
+ {{ $t('nav.about') }}
+
{{ $t('terms') }}
@@ -31,7 +37,8 @@ a {
cursor: pointer;
}
-a:first-child {
+a:first-child,
+.about {
margin-right: 1rem;
padding-right: 1rem;
border-right: 1px solid var(--neutral-70);
@@ -48,7 +55,8 @@ a:hover {
font-size: 0.8rem;
}
- a:first-child {
+ a:first-child,
+ .about {
margin-right: 0.5rem;
padding-right: 0.5rem;
}
diff --git a/src/components/__tests__/__snapshots__/QandA.spec.ts.snap b/src/components/__tests__/__snapshots__/QandA.spec.ts.snap
index e62cc25..8d41cbc 100644
--- a/src/components/__tests__/__snapshots__/QandA.spec.ts.snap
+++ b/src/components/__tests__/__snapshots__/QandA.spec.ts.snap
@@ -271,99 +271,6 @@ exports[`QandA > renders properly 1`] = `
class="pr-5 filters"
data-v-e843c1dd=""
>
-
-
-
- languages
-
-
-
renders properly 1`] = `
+
+
+ languages
+
+
+
diff --git a/src/components/dropdowns/SourcesSelector.vue b/src/components/dropdowns/SourcesSelector.vue
index 4c85956..c012393 100644
--- a/src/components/dropdowns/SourcesSelector.vue
+++ b/src/components/dropdowns/SourcesSelector.vue
@@ -1,18 +1,53 @@
-
-
-
- {{ $t(`categories.${category}`) }}
-
+
+
+
+
+
+ {{ $t(`categories.${category}`) }}
+
+
+ {{ selectedCount(sources) }}/{{ sources.length }}
+
+
+
diff --git a/src/components/nav/BaseNavItem.vue b/src/components/nav/BaseNavItem.vue
index ce44926..a2a0ef5 100644
--- a/src/components/nav/BaseNavItem.vue
+++ b/src/components/nav/BaseNavItem.vue
@@ -60,6 +60,14 @@ defineProps<{
background-color: var(--neutral-20);
}
+.icon {
+ width: 1.5rem;
+ height: 1.5rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
.item-name {
width: auto;
white-space: nowrap;
diff --git a/src/components/nav/HelpComponent.vue b/src/components/nav/HelpComponent.vue
index 5a7c5b6..404cb14 100644
--- a/src/components/nav/HelpComponent.vue
+++ b/src/components/nav/HelpComponent.vue
@@ -22,7 +22,8 @@ watch(
() => route.path.split('/')[1],
async (path) => {
instructions.value = HELP_USER[path as HelpUserKey] || [];
- }
+ },
+ { immediate: true }
);
diff --git a/src/components/nav/LanguageSelector.vue b/src/components/nav/LanguageSelector.vue
index d8aefac..33778ca 100644
--- a/src/components/nav/LanguageSelector.vue
+++ b/src/components/nav/LanguageSelector.vue
@@ -22,12 +22,11 @@ const storeLanguage = (e: Event) => {