From e092ac02d728f9708934c583e79fc33c89ef2297 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 3 Apr 2025 14:58:08 +0200 Subject: [PATCH] ui fix --- .../components/Table/OptionsFlowTable.svelte | 4 +- src/lib/components/Table/Table.svelte | 2 +- src/routes/watchlist/options/+page.svelte | 126 +++++++----------- 3 files changed, 51 insertions(+), 81 deletions(-) diff --git a/src/lib/components/Table/OptionsFlowTable.svelte b/src/lib/components/Table/OptionsFlowTable.svelte index 041ffdcc..b9255313 100644 --- a/src/lib/components/Table/OptionsFlowTable.svelte +++ b/src/lib/components/Table/OptionsFlowTable.svelte @@ -596,7 +596,7 @@ class:opacity-30={index + 1 === rawData?.length && data?.user?.tier !== "Pro"} > -
+
{formatTime(displayedData[index]?.time)}
{#each stockList as item, index}
@@ -175,17 +175,17 @@
- - + + - - - - - - - - - - - - - + + + + + + + + + + + + + {#each optionsWatchlist as item, index} - - + - - @@ -313,8 +284,8 @@ @@ -322,15 +293,15 @@ @@ -346,17 +317,17 @@ @@ -384,14 +355,13 @@ class="flex flex-col justify-center items-center m-auto pt-8" > - Add your unusual options contracts and start tracking them - now! + Track your unusual options contracts now! - Follow the Whales
Time
Time SymbolDateExpiryDTEStrikeC/PSent.Exec.SpotPricePrem.TypeVol.OIDateExpiryDTEStrikeC/PSent.Exec.SpotPricePrem.TypeVol.OI
+
{formatTime(item?.time)} handleFilter(item?.id)} class="{index % 2 - ? 'bg-table' - : 'bg-odd'} font-normal text-sm sm:text-[1rem] text-start" + ? 'bg-white dark:bg-default' + : 'bg-[#F6F7F8] dark:bg-odd'} font-normal text-sm sm:text-[1rem] text-center" >
{:else} - {item?.ticker} {/if}
+ {formatDate(item?.date)} + {reformatDate(item?.date_expiration)} {item?.put_call} {item?.sentiment} {item?.execution_estimate} {abbreviateNumber(item?.cost_basis)} {item?.option_activity_type}