diff --git a/src/routes/stock-screener/+page.svelte b/src/routes/stock-screener/+page.svelte index 1d99f5e1..3c873e85 100644 --- a/src/routes/stock-screener/+page.svelte +++ b/src/routes/stock-screener/+page.svelte @@ -7,6 +7,7 @@ import * as DropdownMenu from "$lib/components/shadcn/dropdown-menu/index.js"; import { Button } from "$lib/components/shadcn/button/index.js"; import * as HoverCard from "$lib/components/shadcn/hover-card/index.js"; + import Input from '$lib/components/Input.svelte'; //const userConfirmation = confirm('Unsaved changes detected. Leaving now will discard your strategy. Continue?'); @@ -22,6 +23,8 @@ let downloadWorker: Worker | undefined; let searchQuery = ''; let infoText = {}; + let tooltipTitle; + $: testList = []; @@ -217,8 +220,8 @@ $: allRows = Object?.entries(allRules) }); - -async function getInfoText(parameter) { +async function getInfoText(parameter, title) { + tooltipTitle = title; const cachedData = getCache(parameter, "getInfoText"); if (cachedData) { infoText = cachedData; @@ -1042,10 +1045,18 @@ function handleInput(event) {