From b4a1ff370b7d683cfaee8399a2928b7a6f6ba055 Mon Sep 17 00:00:00 2001
From: Dorine Lambinet <dorine.lambinet@assemblee-nationale.fr>
Date: Wed, 26 Feb 2025 11:02:36 +0100
Subject: [PATCH] =?UTF-8?q?Cr=C3=A9e=20dossier=20welcome=5Fviews=20et=20d?=
 =?UTF-8?q?=C3=A9place=20composants?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../LegislationPerimeterTree.svelte}                        | 0
 .../{ => welcome_views}/PlfVariablesListIntro.svelte        | 0
 src/routes/+page.svelte                                     | 6 +++---
 src/routes/accueil/+page.svelte                             | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename src/lib/components/{WaterfallPlainView.svelte => welcome_views/LegislationPerimeterTree.svelte} (100%)
 rename src/lib/components/{ => welcome_views}/PlfVariablesListIntro.svelte (100%)

diff --git a/src/lib/components/WaterfallPlainView.svelte b/src/lib/components/welcome_views/LegislationPerimeterTree.svelte
similarity index 100%
rename from src/lib/components/WaterfallPlainView.svelte
rename to src/lib/components/welcome_views/LegislationPerimeterTree.svelte
diff --git a/src/lib/components/PlfVariablesListIntro.svelte b/src/lib/components/welcome_views/PlfVariablesListIntro.svelte
similarity index 100%
rename from src/lib/components/PlfVariablesListIntro.svelte
rename to src/lib/components/welcome_views/PlfVariablesListIntro.svelte
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 82389b015..fc9adc45d 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -33,7 +33,7 @@
   import BudgetConnexionModal from "$lib/components/BudgetConnexionModal.svelte"
   import BudgetSimulationSharingModal from "$lib/components/BudgetSimulationSharingModal.svelte"
   import ModificationsPanel from "$lib/components/ModificationsPanel.svelte"
-  import PlfVariablesListIntro from "$lib/components/PlfVariablesListIntro.svelte"
+  import PlfVariablesListIntro from "$lib/components/welcome_views/PlfVariablesListIntro.svelte"
   import SkeletonLoaderBudget from "$lib/components/budget/SkeletonLoaderBudget.svelte"
   import StaticAggregates from "$lib/components/budget/StaticAggregates.svelte"
   import TestCaseCompareView from "$lib/components/test_cases/TestCaseCompareView.svelte"
@@ -48,7 +48,7 @@
   import VariableDetail from "$lib/components/variables/VariableDetail.svelte"
   import VariableReferredParameters from "$lib/components/variables/VariableReferredParameters.svelte"
   import VariableValueChange from "$lib/components/variables/VariableValueChange.svelte"
-  import WaterfallPlainView from "$lib/components/WaterfallPlainView.svelte"
+  import LegislationPerimeterTree from "$lib/components/welcome_views/LegislationPerimeterTree.svelte"
   import WithoutBudgetCard from "$lib/components/budget/WithoutBudgetCard.svelte"
   import {
     buildWaterfallDecompositions,
@@ -983,7 +983,7 @@
                       {#if !displayMode.budget}
                         <div class="mt-7">
                           {#if displayMode.testCasesIndex.length === 0}
-                            <WaterfallPlainView
+                            <LegislationPerimeterTree
                               compact
                               on:click={({ detail }) =>
                                 goto(
diff --git a/src/routes/accueil/+page.svelte b/src/routes/accueil/+page.svelte
index ffcd192a0..b7bebe242 100644
--- a/src/routes/accueil/+page.svelte
+++ b/src/routes/accueil/+page.svelte
@@ -11,13 +11,13 @@
   import { auditQuerySingleton } from "$lib/auditors/queries"
   import PictoFemme from "$lib/components/pictos/PictoFemme.svelte"
   import PictoOpenFisca from "$lib/components/pictos/PictoOpenFisca.svelte"
-  import PlfVariablesListIntro from "$lib/components/PlfVariablesListIntro.svelte"
+  import PlfVariablesListIntro from "$lib/components/welcome_views/PlfVariablesListIntro.svelte"
   import WelcomeSearch from "$lib/components/search/WelcomeSearch.svelte"
   import TestCaseSelectModal from "$lib/components/test_cases/TestCaseSelectModal.svelte"
   import AnchorTitle from "$lib/components/transverse_pages/AnchorTitle.svelte"
   import Footer from "$lib/components/transverse_pages/Footer.svelte"
   import VariableDetail from "$lib/components/variables/VariableDetail.svelte"
-  import WaterfallPlainView from "$lib/components/WaterfallPlainView.svelte"
+  import LegislationPerimeterTree from "$lib/components/welcome_views/LegislationPerimeterTree.svelte"
   import { waterfalls, withLinkedVariableNames } from "$lib/decompositions"
   import type { DisplayMode } from "$lib/displays"
   import { trackSearchVariable } from "$lib/matomo"
@@ -544,7 +544,7 @@
       Les {variablesCount} dispositifs couverts par le simulateur LexImpact socio-fiscal&nbsp;:
     </AnchorTitle>
 
-    <WaterfallPlainView
+    <LegislationPerimeterTree
       on:click={({ detail }) =>
         goto(
           getSimulationUrl({
-- 
GitLab