Skip to content

Conversation

@jbtwist
Copy link
Contributor

@jbtwist jbtwist commented Aug 22, 2024

As discussed via Element, there's a problem with cropping too much a picture in the registration form.

This PR solves the issue.

@jbtwist jbtwist marked this pull request as ready for review August 22, 2024 10:46
@jbtwist jbtwist changed the title Fix PictureField cropper until no image left Fix PictureField cropped until no image left Aug 22, 2024
- use same range client/server side
- send null instead of 0 in case of empty field

All the logic that looks at this value already supports both `0` and
`null`, so no need for migration that replaces `0` with `null` for
existing fields.
@ThiefMaster ThiefMaster enabled auto-merge (squash) August 26, 2024 13:10
@ThiefMaster ThiefMaster added this to the v3.3 milestone Aug 26, 2024
@ThiefMaster ThiefMaster merged commit af5427f into indico:master Aug 26, 2024
@ThiefMaster ThiefMaster deleted the PictureFieldFix branch August 26, 2024 13: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.

2 participants