Skip to content

Conversation

@cj12312021
Copy link
Collaborator

@cj12312021 cj12312021 commented Dec 31, 2025

Summary

This PR builds on #6463 (which made ImageCard patchable) by adding sub-component granularity for better plugin extensibility.

  • Extract sub-components (ImageCardPopovers, ImageCardDetails, ImageCardOverlays, ImageCardImage) as separate patchable components
  • Follows the same pattern used by SceneCard, GalleryCard, and PerformerCard

Changes

The refactoring mirrors the structure of other patchable card components:

  • ImageCard - main component, patchable (from Plugin API more patchable components #6463)
  • ImageCard.Popovers - tag, performer, gallery popovers
  • ImageCard.Details - date and description
  • ImageCard.Overlays - studio overlay
  • ImageCard.Image - image preview and rating banner

@DogmaDragon
Copy link
Collaborator

Overlaps with #6463

@WithoutPants
Copy link
Collaborator

With #6463 merged, this PR needs to be updated to resolve the conflicts.

@WithoutPants WithoutPants added the chore Pull requests for refactoring and admin work label Jan 12, 2026
@WithoutPants WithoutPants added this to the Version 0.31.0 milestone Jan 12, 2026
@cj12312021
Copy link
Collaborator Author

I'll look at resolving the conflicts this week

Refactor ImageCard component to use PatchComponent wrapper.

Changes:
- Wrap ImageCard and sub-components with PatchComponent
- Extract ImageCardPopovers, ImageCardDetails, ImageCardOverlays,
  ImageCardImage as separate patchable components
@cj12312021 cj12312021 force-pushed the feature/patchable-image-card branch from a1d1d2e to ad00973 Compare January 19, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for refactoring and admin work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants