OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Fix: [Bug] Do not render editor action buttons (save/discard) when displaying non-code files

Open malhotra5 opened this issue 1 year ago • 0 comments

End-user friendly description of the problem this fixes or functionality that this introduces

  • [ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

We checks if the selected file matches expected filetypes for assets that aren't code files. In this case we decide not to render the action buttons


Link of any specific issues this addresses #4899

malhotra5 avatar Nov 11 '24 21:11 malhotra5