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

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.

2 participants