From 88dd3ead53c34dda1a5369f668c38d6dfc519dcd Mon Sep 17 00:00:00 2001 From: Mattias Granlund Date: Thu, 20 Jun 2024 22:42:15 +0300 Subject: [PATCH] Move settings realted stuff into feature folder --- app/src/lib/components/BaseBranchSwitch.svelte | 2 +- app/src/lib/components/ProjectSetup.svelte | 2 +- app/src/lib/components/ProjectSetupTarget.svelte | 2 +- .../AnalyticsConfirmation.svelte | 4 ++-- .../AnalyticsSettings.svelte | 6 +++--- .../lib/{components => settings}/CloudForm.svelte | 6 +++--- .../settings/ContentWrapper.svelte | 0 .../{components => settings}/DetailsForm.svelte | 0 .../GithubIntegration.svelte | 2 +- .../lib/{components => settings}/KeysForm.svelte | 12 ++++++------ .../PreferencesForm.svelte | 14 +++++++------- .../lib/{components => }/settings/Section.svelte | 2 +- .../lib/{components => }/settings/Sidebar.svelte | 0 .../settings/SupportersBanner.svelte | 0 .../{components => settings}/ThemeSelector.svelte | 0 app/src/routes/+page.svelte | 2 +- app/src/routes/[projectId]/settings/+page.svelte | 10 +++++----- app/src/routes/settings/+layout.svelte | 2 +- app/src/routes/settings/ai/+page.svelte | 4 ++-- app/src/routes/settings/experimental/+page.svelte | 2 +- app/src/routes/settings/git/+page.svelte | 2 +- app/src/routes/settings/integrations/+page.svelte | 4 ++-- app/src/routes/settings/profile/+page.svelte | 4 ++-- app/src/routes/settings/telemetry/+page.svelte | 4 ++-- 24 files changed, 43 insertions(+), 43 deletions(-) rename app/src/lib/{components => settings}/AnalyticsConfirmation.svelte (86%) rename app/src/lib/{components => settings}/AnalyticsSettings.svelte (94%) rename app/src/lib/{components => settings}/CloudForm.svelte (96%) rename app/src/lib/{components => }/settings/ContentWrapper.svelte (100%) rename app/src/lib/{components => settings}/DetailsForm.svelte (100%) rename app/src/lib/{components => settings}/GithubIntegration.svelte (99%) rename app/src/lib/{components => settings}/KeysForm.svelte (94%) rename app/src/lib/{components => settings}/PreferencesForm.svelte (95%) rename app/src/lib/{components => }/settings/Section.svelte (94%) rename app/src/lib/{components => }/settings/Sidebar.svelte (100%) rename app/src/lib/{components => }/settings/SupportersBanner.svelte (100%) rename app/src/lib/{components => settings}/ThemeSelector.svelte (100%) diff --git a/app/src/lib/components/BaseBranchSwitch.svelte b/app/src/lib/components/BaseBranchSwitch.svelte index 444cb6a70..6d9b67d4e 100644 --- a/app/src/lib/components/BaseBranchSwitch.svelte +++ b/app/src/lib/components/BaseBranchSwitch.svelte @@ -5,7 +5,7 @@ import { Project } from '$lib/backend/projects'; import SectionCard from '$lib/components/SectionCard.svelte'; import SelectItem from '$lib/components/SelectItem.svelte'; - import Section from '$lib/components/settings/Section.svelte'; + import Section from '$lib/settings/Section.svelte'; import { getContext, getContextStore } from '$lib/utils/context'; import { getRemoteBranches } from '$lib/vbranches/baseBranch'; import { BranchController } from '$lib/vbranches/branchController'; diff --git a/app/src/lib/components/ProjectSetup.svelte b/app/src/lib/components/ProjectSetup.svelte index 668ef44b9..aa3eea100 100644 --- a/app/src/lib/components/ProjectSetup.svelte +++ b/app/src/lib/components/ProjectSetup.svelte @@ -1,10 +1,10 @@
diff --git a/app/src/routes/settings/ai/+page.svelte b/app/src/routes/settings/ai/+page.svelte index 356cab07a..8863a5495 100644 --- a/app/src/routes/settings/ai/+page.svelte +++ b/app/src/routes/settings/ai/+page.svelte @@ -11,8 +11,8 @@ import Spacer from '$lib/components/Spacer.svelte'; import TextBox from '$lib/components/TextBox.svelte'; import WelcomeSigninAction from '$lib/components/WelcomeSigninAction.svelte'; - import ContentWrapper from '$lib/components/settings/ContentWrapper.svelte'; - import Section from '$lib/components/settings/Section.svelte'; + import ContentWrapper from '$lib/settings/ContentWrapper.svelte'; + import Section from '$lib/settings/Section.svelte'; import { UserService } from '$lib/stores/user'; import { getContext } from '$lib/utils/context'; import { onMount, tick } from 'svelte'; diff --git a/app/src/routes/settings/experimental/+page.svelte b/app/src/routes/settings/experimental/+page.svelte index 0048b8f45..f3177cf04 100644 --- a/app/src/routes/settings/experimental/+page.svelte +++ b/app/src/routes/settings/experimental/+page.svelte @@ -1,8 +1,8 @@ diff --git a/app/src/routes/settings/git/+page.svelte b/app/src/routes/settings/git/+page.svelte index ee6d8917f..afd96c26a 100644 --- a/app/src/routes/settings/git/+page.svelte +++ b/app/src/routes/settings/git/+page.svelte @@ -7,7 +7,7 @@ import Spacer from '$lib/components/Spacer.svelte'; import TextBox from '$lib/components/TextBox.svelte'; import Toggle from '$lib/components/Toggle.svelte'; - import ContentWrapper from '$lib/components/settings/ContentWrapper.svelte'; + import ContentWrapper from '$lib/settings/ContentWrapper.svelte'; import { copyToClipboard } from '$lib/utils/clipboard'; import { getContext } from '$lib/utils/context'; import { openExternalUrl } from '$lib/utils/url'; diff --git a/app/src/routes/settings/integrations/+page.svelte b/app/src/routes/settings/integrations/+page.svelte index fba49bc49..2c60b5d44 100644 --- a/app/src/routes/settings/integrations/+page.svelte +++ b/app/src/routes/settings/integrations/+page.svelte @@ -1,6 +1,6 @@