Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions website/src/components/genspectrum/GsAggregate.astro

This file was deleted.

30 changes: 0 additions & 30 deletions website/src/components/genspectrum/GsMutations.astro

This file was deleted.

29 changes: 0 additions & 29 deletions website/src/components/genspectrum/GsMutationsOverTime.astro

This file was deleted.

3 changes: 0 additions & 3 deletions website/src/components/genspectrum/GsMutationsOverTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export type GsMutationsOverTimeProps = {
displayMutations?: string[];
height?: string;
pageSizes?: number[];
useNewEndpoint?: true;
hideGaps?: true;
initialMeanProportionInterval?: MeanProportionInterval;
customColumns?: CustomColumn[];
Expand All @@ -32,7 +31,6 @@ export const GsMutationsOverTime: FC<GsMutationsOverTimeProps> = ({
displayMutations,
height,
pageSizes,
useNewEndpoint,
hideGaps,
initialMeanProportionInterval,
customColumns,
Expand All @@ -51,7 +49,6 @@ export const GsMutationsOverTime: FC<GsMutationsOverTimeProps> = ({
granularity={granularity}
lapisDateField={lapisDateField}
displayMutations={displayMutations ? JSON.stringify(displayMutations) : undefined}
useNewEndpoint={useNewEndpoint}
hideGaps={hideGaps}
pageSizes={JSON.stringify(pageSizes ?? [10, 20, 30, 40, 50])}
initialMeanProportionInterval={
Expand Down
27 changes: 0 additions & 27 deletions website/src/components/genspectrum/GsNumberSequencesOverTime.astro

This file was deleted.

44 changes: 0 additions & 44 deletions website/src/components/genspectrum/GsPrevalenceOverTime.astro

This file was deleted.

26 changes: 0 additions & 26 deletions website/src/components/genspectrum/GsRelativeGrowthAdvantage.astro

This file was deleted.

21 changes: 0 additions & 21 deletions website/src/components/genspectrum/GsStatistics.astro

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,13 @@ export const CovidSingleVariantDataDisplay: FC<CovidSingleVariantDataDisplayProp
sequenceType='nucleotide'
granularity={timeGranularity}
lapisDateField={view.organismConstants.mainDateField}
useNewEndpoint={true}
/>

<GsMutationsOverTime
lapisFilter={variantFilter}
sequenceType='amino acid'
granularity={timeGranularity}
lapisDateField={view.organismConstants.mainDateField}
useNewEndpoint={true}
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,12 @@ export const GenericAnalyseSingleVariantDataDisplay: FC<GenericAnalyseSingleVari
sequenceType='nucleotide'
granularity={timeGranularity}
lapisDateField={view.organismConstants.mainDateField}
useNewEndpoint={true}
/>
<GsMutationsOverTime
lapisFilter={variantLapisFilter}
sequenceType='amino acid'
granularity={timeGranularity}
lapisDateField={view.organismConstants.mainDateField}
useNewEndpoint={true}
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@ export const GenericCompareSideBySideReactPage: FC<GenericCompareSideBySideReact
className='flex min-w-125 flex-1 flex-col gap-4 border-r-2 border-gray-200 px-2 pb-2'
>
{pageState.filters.size > 1 && (
<a
className='block w-full px-2 py-1 text-sm font-light hover:bg-neutral-100'
href={view.pageStateHandler.toUrl(
view.pageStateHandler.removeFilter(pageState, id),
)}
<button
type='button'
className='block w-full px-2 py-1 text-left text-sm font-light hover:bg-neutral-100'
onClick={() => setPageState(view.pageStateHandler.removeFilter(pageState, id))}
>
Remove column
</a>
</button>
)}
<CompareSideBySidePageStateSelector
view={view}
Expand Down Expand Up @@ -106,13 +105,15 @@ export const GenericCompareSideBySideReactPage: FC<GenericCompareSideBySideReact
</div>
</div>

<a
className='px-8 py-4 text-left text-sm font-light hover:bg-neutral-100'
href={view.pageStateHandler.toUrl(view.pageStateHandler.addEmptyFilter(pageState))}
style={{ writingMode: 'vertical-rl' }}
<button
type='button'
className='px-4 py-8 text-left hover:bg-neutral-100'
onClick={() => setPageState(view.pageStateHandler.addEmptyFilter(pageState))}
>
Add column
</a>
<span className='h-full text-sm font-light' style={{ writingMode: 'vertical-rl' }}>
Add column
</span>
</button>
</div>
</OrganismViewPageLayout>
);
Expand Down
Loading
Loading