Skip to content

Commit 135bb06

Browse files
authored
fix(website): Remove placeholder citations plot on user seqsets page (#6506)
- Removes the placeholder citation plot on the user seqsets page, as citations will be presented elsewhere. ### Screenshot <img width="2994" height="1796" alt="image" src="https://github.com/user-attachments/assets/12b16b85-8e37-4d98-97ea-9e1c006d3bc7" /> ### PR Checklist - [ ] All necessary documentation has been adapted. - [ ] The implemented feature is covered by appropriate, automated tests. - [ ] Any manual testing that has been done is documented (i.e. what exactly was tested?) 🚀 Preview: Add `preview` label to enable
1 parent dedd5b6 commit 135bb06

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

website/src/pages/seqsets/index.astro

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
import { ErrorFeedback } from '../../components/ErrorFeedback';
33
import { AuthorDetails } from '../../components/SeqSetCitations/AuthorDetails';
4-
import { CitationPlot } from '../../components/SeqSetCitations/CitationPlot';
54
import { SeqSetList } from '../../components/SeqSetCitations/SeqSetList';
65
import { SeqSetListActions } from '../../components/SeqSetCitations/SeqSetListActions';
76
import NeedToLogin from '../../components/common/NeedToLogin.astro';
@@ -33,8 +32,8 @@ const editAccountUrl = (await getUrlForKeycloakAccountPage()) + '/#/personal-inf
3332
!accessToken ? (
3433
<NeedToLogin message='You need to be logged in to create new SeqSets.' />
3534
) : (
36-
<div class='flex flex-wrap w-full gap-y-6 lg:divide-x'>
37-
<div class='flex flex-col lg:w-3/4'>
35+
<div class='flex flex-wrap w-full'>
36+
<div class='flex flex-col'>
3837
{authorResponse.match(
3938
(authorProfile) => (
4039
<AuthorDetails
@@ -54,7 +53,7 @@ const editAccountUrl = (await getUrlForKeycloakAccountPage()) + '/#/personal-inf
5453
),
5554
)}
5655
<hr />
57-
<div class='flex flex-col lg:pr-4'>
56+
<div class='flex flex-col'>
5857
<div class='flex justify-between items-center py-8'>
5958
<h1 class='text-2xl font-semibold'>SeqSets</h1>
6059
<SeqSetListActions clientConfig={clientConfig} accessToken={accessToken} client:load />
@@ -87,17 +86,6 @@ const editAccountUrl = (await getUrlForKeycloakAccountPage()) + '/#/personal-inf
8786
</div>
8887
</div>
8988
</div>
90-
<div class='flex flex-col lg:w-1/4 lg:pl-4'>
91-
<span class='text-xl'>Cited by</span>
92-
{/* We show an empty plot for now until we get real data. */}
93-
<div class='max-w-96'>
94-
<CitationPlot
95-
citedByData={{ years: [2020, 2021, 2022, 2023, 2024], citations: [0, 0, 0, 0, 0] }}
96-
description='Number of times your sequences have been cited in publications'
97-
client:load
98-
/>
99-
</div>
100-
</div>
10189
</div>
10290
)
10391
}

0 commit comments

Comments
 (0)