Open kwight opened 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 75.85%. Comparing base (
7050d85
) to head (3b7c3a2
). Report is 5 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Side note, dumping this issue and the relevant file into GPT4o gave a near-perfect fix (I actually assumed refs would be needed, but that might be old pre-hooks thinking).
Cool, thanks!
@klieret can we merge this?
Reference Issues/PRs
Fixes https://github.com/princeton-nlp/SWE-agent/issues/362
What does this implement/fix? Explain your changes.
Use
useEffect
to monitor the problem source dropdown, and when it changes, reset the user value to empty (so that the default text appears for that field).The textarea corresponding to the "Write" dropdown doesn't need changes since the actual markup is updated on switch (between
input
s andtextarea
).Testing Instructions