Skip to content

Conversation

@cj12312021
Copy link
Collaborator

Summary

  • Refactor ImageCard component to use PatchComponent wrapper for 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
  • ImageCard.Popovers - tag, performer, gallery popovers
  • ImageCard.Details - date and description
  • ImageCard.Overlays - studio overlay
  • ImageCard.Image - image preview and rating banner

Refactor ImageCard component to use PatchComponent wrapper.

Changes:
- Wrap ImageCard and sub-components with PatchComponent
- Extract ImageCardPopovers, ImageCardDetails, ImageCardOverlays,
  ImageCardImage as separate patchable components
@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

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