Skip to content

feat: Add a citation button to pages #1856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 23, 2025
Merged

feat: Add a citation button to pages #1856

merged 15 commits into from
Jun 23, 2025

Conversation

melissawm
Copy link
Collaborator

@melissawm melissawm commented Jun 19, 2025

There may be some cleanup to be done later, as I've based this implementation on the View Tomogram button.

EDIT: The implementation of plausible tracking is still pending. Done.

Closes #1847

@melissawm melissawm requested a review from rainandbare June 19, 2025 19:25
@melissawm
Copy link
Collaborator Author

@rainandbare it works on the stack, so that solves it for now 😄

@melissawm melissawm marked this pull request as ready for review June 19, 2025 19:51
@@ -25,7 +26,7 @@ export function DatasetHeader() {
return (
<PageHeader
actions={
<div>
<div className="flex items-center gap-2.5">
Copy link
Contributor

@rainandbare rainandbare Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's use gap-sds-s to keep our spacing scale explicitly in line with sds recommendations!

Though I can see you got it from RunHeader, nice detective work, we would have to swap it there too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see! Thanks, fixed it in both places.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rainandbare hopefully this is what you meant!

@melissawm
Copy link
Collaborator Author

@dgmccart Please take a look when you have the time. Thanks!

@melissawm melissawm merged commit 65463fb into main Jun 23, 2025
12 checks passed
@melissawm melissawm deleted the cite-button branch June 23, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

design a button for directing users to how to cite documentation
3 participants