Skip to content

Conversation

@ameliahsu
Copy link
Member

@ameliahsu ameliahsu commented Dec 8, 2025

Fixed resolution validation so that we compare against the medium threshold number if it exists, and the high threshold if not. Previously we were only checking against the high threshold.

New:
Screenshot 2025-12-08 at 3 20 00 PM

Also fixed a bug where the medium threshold direction was not changing when the high direction was changed by adding a key to the DirectionField to force a rerender (lmk if there are better solutions)

Bug:
Screenshot 2025-12-08 at 3 23 49 PM

@ameliahsu ameliahsu requested a review from a team as a code owner December 8, 2025 23:26
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 8, 2025
@ameliahsu ameliahsu merged commit c827797 into master Dec 8, 2025
50 checks passed
@ameliahsu ameliahsu deleted the mia/aci/fix-thresholds branch December 8, 2025 23:43
ryan953 pushed a commit that referenced this pull request Dec 9, 2025
Fixed resolution validation so that we compare against the medium
threshold number if it exists, and the high threshold if not. Previously
we were only checking against the high threshold.

New:
<img width="723" height="395" alt="Screenshot 2025-12-08 at 3 20 00 PM"
src="https://github.com/user-attachments/assets/ea8c4382-22b4-4822-95b0-838a3d1dcd74"
/>

Also fixed a bug where the medium threshold direction was not changing
when the high direction was changed by adding a `key` to the
DirectionField to force a rerender (lmk if there are better solutions)

Bug:
<img width="519" height="162" alt="Screenshot 2025-12-08 at 3 23 49 PM"
src="https://github.com/user-attachments/assets/66c6b4e4-c855-47fd-8ad1-9ac5c99ab0d4"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants