OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Add support for experimental UIs

Open rbren opened this issue 1 year ago • 2 comments

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?

This plays with the idea of having alternative UIs for specific tasks. It specifically creates a "gif editor", which allows rapid iteration on a python script that generates an animated gif.


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

In addition to the new UI, there are two major changes to the core code:

  • A React router, which allows us to have multiple pages
  • Adding state.prompt_context, which can be used to add additional information to the LLM prompts. See GifEditor.tsx for an example

Other references

rbren avatar Aug 09 '24 17:08 rbren

Would love to see a screenie of this, sounds exciting!

tobitege avatar Aug 09 '24 18:08 tobitege

Would this also "catch" clicks on images in the workspace folder to display them?

tobitege avatar Aug 09 '24 18:08 tobitege

@rbren will you be continuing with this PR? Just checking so the conflicts don't become too cumbersome.

mamoodi avatar Sep 07 '24 17:09 mamoodi

Nah let's ditch it for now--we can always come back to it

rbren avatar Sep 16 '24 18:09 rbren