Skip to content

feat: add image resolution controller in create new round#386

Open
ItsAbhinavM wants to merge 1 commit intohatnote:masterfrom
ItsAbhinavM:add-image-resolution-control-frontend
Open

feat: add image resolution controller in create new round#386
ItsAbhinavM wants to merge 1 commit intohatnote:masterfrom
ItsAbhinavM:add-image-resolution-control-frontend

Conversation

@ItsAbhinavM
Copy link
Contributor

@ItsAbhinavM ItsAbhinavM commented Feb 27, 2026

Description

Fixes #289 and Fixes #323
According to these issues the major concern was the inability to update certain parameters on round creation notably, min_resolution and file_type. I've checked both frontend and backend files for this and came with this conclusion.

The backend is perfectly fine as DEFAULT_ROUND_CONFIG is being updated on create_round function and it includes all the parameters including min_resolution. So the backend is fine. The only change we need to add was in RoundNew file and that's what I did.

This is how new round looks like:
image

image

Database log for min_resolution
image

@ItsAbhinavM
Copy link
Contributor Author

ItsAbhinavM commented Feb 27, 2026

I haven't added file_type as a checkbox in frontend since it works perfect for most of the image file extensions in the backend and it is anyways required by default for every round.

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.

Resolution threshold can not be set Campaign settings in round creation do not match setting as displayed after the round creation

1 participant