From 9da68f470851cb1782a8912da52a5301de9329f3 Mon Sep 17 00:00:00 2001
From: Andrea Delgado <114981520+andreadlgdo@users.noreply.github.com>
Date: Mon, 17 Jun 2024 11:42:34 +0200
Subject: [PATCH] feat: migrate identifier results components on x module
---
.../plugins/__tests__/x-plugin-alias.spec.ts | 2 +-
.../components/identifier-result.vue | 99 ++++++++--------
.../components/identifier-results.vue | 108 +++++++++---------
.../x-modules/identifier-results/x-module.ts | 3 +
4 files changed, 113 insertions(+), 99 deletions(-)
diff --git a/packages/x-components/src/plugins/__tests__/x-plugin-alias.spec.ts b/packages/x-components/src/plugins/__tests__/x-plugin-alias.spec.ts
index 217e16ea97..4a17b2d42c 100644
--- a/packages/x-components/src/plugins/__tests__/x-plugin-alias.spec.ts
+++ b/packages/x-components/src/plugins/__tests__/x-plugin-alias.spec.ts
@@ -45,7 +45,7 @@ describe('testing plugin alias', () => {
search: ''
},
status: {
- identifierResults: undefined,
+ identifierResults: 'initial', // It is already registered by the `relatedTagsXModule` import itself
nextQueries: undefined,
popularSearches: undefined,
querySuggestions: 'initial', // It is already registered by the `querySuggestionsXModule` import itself
diff --git a/packages/x-components/src/x-modules/identifier-results/components/identifier-result.vue b/packages/x-components/src/x-modules/identifier-results/components/identifier-result.vue
index af62e9e9b6..1acc67dc47 100644
--- a/packages/x-components/src/x-modules/identifier-results/components/identifier-result.vue
+++ b/packages/x-components/src/x-modules/identifier-results/components/identifier-result.vue
@@ -9,11 +9,9 @@
diff --git a/packages/x-components/src/x-modules/identifier-results/components/identifier-results.vue b/packages/x-components/src/x-modules/identifier-results/components/identifier-results.vue
index c302154074..80c03d30a4 100644
--- a/packages/x-components/src/x-modules/identifier-results/components/identifier-results.vue
+++ b/packages/x-components/src/x-modules/identifier-results/components/identifier-results.vue
@@ -17,13 +17,12 @@