From ac0ee32c76aae47d347c2e3bab33addabfd0b74d Mon Sep 17 00:00:00 2001 From: limina1 Date: Tue, 17 Jun 2025 21:06:39 -0400 Subject: [PATCH] Remove redundant Display Limits section from Settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove entire Display Limits section as it duplicates Event Configuration - Remove related state variables and functions - Remove unused imports (displayLimits store and Label component) - Simplify Settings panel to focus on unique functionality The Event Configuration panel now handles all event limits, making the Display Limits section unnecessary and confusing. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../navigator/EventNetwork/Settings.svelte | 110 +----------------- 1 file changed, 1 insertion(+), 109 deletions(-) diff --git a/src/lib/navigator/EventNetwork/Settings.svelte b/src/lib/navigator/EventNetwork/Settings.svelte index c28df72..418057e 100644 --- a/src/lib/navigator/EventNetwork/Settings.svelte +++ b/src/lib/navigator/EventNetwork/Settings.svelte @@ -1,10 +1,9 @@
@@ -140,76 +102,6 @@ {/if}
- -
-
-

Display Limits

- -
- {#if displayLimitsExpanded} - -
-
- - { - const value = parseInt(e.currentTarget.value) || -1; - visualizationConfig.setMaxPublicationIndices(value); - }} - placeholder="-1 for unlimited" - class="w-full text-xs bg-primary-0 dark:bg-primary-1000 border border-gray-300 dark:border-gray-700 rounded-md px-2 py-1 dark:text-white" - /> -
- -
- - { - const value = parseInt(e.currentTarget.value) || -1; - visualizationConfig.setMaxEventsPerIndex(value); - }} - placeholder="-1 for unlimited" - class="w-full text-xs bg-primary-0 dark:bg-primary-1000 border border-gray-300 dark:border-gray-700 rounded-md px-2 py-1 dark:text-white" - /> -
- - -

- Automatically fetch missing referenced events -

-
- {/if} -