Skip to content

Feature/grid cards#225

Merged
LTDakin merged 11 commits intomainfrom
feature/grid-cards
Aug 5, 2025
Merged

Feature/grid cards#225
LTDakin merged 11 commits intomainfrom
feature/grid-cards

Conversation

@LTDakin
Copy link
Copy Markdown
Collaborator

@LTDakin LTDakin commented Jul 30, 2025

Adds "Cards" to the image grid that have a couple of things

  • target name of the image
  • an analysis icon button mdi-eye
  • a download button that supports fits and jpg downloads

Works for the Datasession view as well and datalab outputs

Screenshot 2025-07-30 at 2 17 05 PM

Closes #216

@LTDakin LTDakin requested review from capetillo and jnation3406 July 30, 2025 21:35
@LTDakin LTDakin self-assigned this Jul 30, 2025
@wrosing
Copy link
Copy Markdown

wrosing commented Jul 31, 2025 via email

@LTDakin
Copy link
Copy Markdown
Collaborator Author

LTDakin commented Jul 31, 2025

You can still download a TIF from the analysis view, I looked into adding it to the card button but it would take some reorganizing that is out of the scope for this story. Reason being, Tifs don't exist from the archive on it's own so I need to make a call to the backend to generate a tif for me to let the user download. I have a mechanism for this when in analysis mode, but due to my inexperience coupled it into that component. Could make it a new story to add tif downloads to the card as well, but that would need a refactor to pull that logic out into its own thing which would be better anyways.

TLDR I mistakenly coupled TIF downloads to the analysis view so it would take some more work outside of the scope of this story to implement

Copy link
Copy Markdown
Contributor

@jnation3406 jnation3406 left a comment

Choose a reason for hiding this comment

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

Looks good to me, just think maybe there is something we can do for Datalab output images too.

Comment thread src/components/Global/ImageGrid.vue Outdated
@LTDakin LTDakin merged commit 19cf409 into main Aug 5, 2025
@LTDakin LTDakin deleted the feature/grid-cards branch August 5, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Image Grid Info/Actions below image

3 participants