Add photo card component and update photo component#4317
Add photo card component and update photo component#4317gabriel-bolbotina wants to merge 6 commits intomasterfrom
Conversation
Added page with photo card component Modified form gallery editor
Added larger cards for gallery page
📦 Build Artifacts Ready
|
📦 Build Artifacts Ready
|
I would keep the state as it is, blured area size flexible and padding, text size fixed... the differences will be probably minimal and the text will fill out the spare space if necessary |
Added size property Modified text padding to adapt to the size Added photo card in gallery that adapts to the width
📦 Build Artifacts Ready
|
…PhotoCard components
Withalion
left a comment
There was a problem hiding this comment.
Plus the comments about components I wrote to you.
It would be nice for our reference to note down in MMPhoto (probably) what made the mask work.
There was a problem hiding this comment.
Is there a reason why we copied the whole file into gallery and didn't reuse MMFormPhotoViewer from the app (which was specifically made for this use case) ?
There was a problem hiding this comment.
Because the original MMFormViewer has the photoSketchingLoader and other dependencies were required for this to work. I think we can park the topic of testing the photo sketching in the gallery app, and just keep it a visual tool
I created a new component called 'Photo card' which will be used instead of MMPhoto in the Form Gallery editor for features that have multiple photos.
This component has the following configurable properties:
To implement the blur using MultiEffects, I have modified the MMPhoto component by changing the round edged mask to use MultiEffects.
Here are some visuals:
ScreenRecording_02-23-2026.14-05-08_1.mov
Also, I tested that MMPhoto behaves as before:
https://github.com/user-attachments/assets/bec5747e-c64c-475f-98e4-001456675e70
And the gallery photo page:
