OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Setting for workspace directory in the UI

Open rbren opened this issue 1 year ago • 3 comments

What problem or use case are you trying to solve? We removed the ability to choose your directory from the UI due to bugs

Describe the UX of the solution you'd like In the settings modal, a dropdown of all directories inside the WORKSPACE_BASE folder. Also an option to add a new directory.

Do you have thoughts on the technical implementation?

  • A REST API that returns a list of all directories available in the WORKSPACE_BASE folder
    • probably shouldn't be recursive, or shouldn't recurse past anything that has a .git subdirectory, otherwise it will be too crowded
  • We will need to pass up the directory through initialize, and plumb it into a few places:
    • the sandbox
    • the file operations in ./opendevin/actions/...
    • probably somewhere else I'm forgetting

rbren avatar Apr 15 '24 23:04 rbren

i think this and #1146 can be processed together. the setting modal deserves to be improved.

iFurySt avatar Apr 16 '24 02:04 iFurySt

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 17 '24 01:05 github-actions[bot]

Github bot doesn't see a PR was added just 5 days ago. For the bot: there we go, this is a comment. 😅

enyst avatar May 17 '24 10:05 enyst

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jun 23 '24 01:06 github-actions[bot]

If anyone happens to pick this up, the requirements are:

  • The Settings page allows you to choose the workspace
  • The folders being shown are the WORKSPACE_BASE set initially by the user and the folders available in the WORKSPACE_BASE folder. This list is static and does not change.

mamoodi avatar Jul 05 '24 15:07 mamoodi

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 05 '24 01:08 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Aug 16 '24 01:08 github-actions[bot]