You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current version of Sirji, it is not aware of existing files in the workspace folder, unless specified in the problem statement. Due to this, it defaults to a greenfield development rather than building up on the existing code.
To better accommodate both scenarios (new projects and continuation of existing projects), Sirji should be enhanced to recognize whether a selected workspace folder is empty or not and respond appropriately:
Case 1: Empty Workspace Folder
If the workspace folder is selected and found to be empty, treat it as the beginning of a new greenfield development project. This scenario is suitable for users wishing to start a fresh project.
Case 2: Non-empty Workspace Folder
If the workspace folder is selected and found to have existing files and folders, prompt the user with a confirmation message. This message should inform them that they are about to work in a non-empty workspace. It is essential to alert the user to prevent unintentional modification of existing files.
Expected Behavior After Enhancement:
If the user confirms the dialogue about a non-empty workspace, Sirji should proceed with accessing the existing files, allowing the user to build upon them.
If the workspace is empty or the user confirms starting anew, the project will be treated as a greenfield development.
Tasks
Confirmation UI - TODO elaborate
The text was updated successfully, but these errors were encountered:
kedarchandrayan
changed the title
Workspace Folder Initialization
Workspace Folder Initialization to Distinguish Between Empty and Non-empty Directories
Apr 18, 2024
Description
In the current version of Sirji, it is not aware of existing files in the workspace folder, unless specified in the problem statement. Due to this, it defaults to a greenfield development rather than building up on the existing code.
To better accommodate both scenarios (new projects and continuation of existing projects), Sirji should be enhanced to recognize whether a selected workspace folder is empty or not and respond appropriately:
Case 1: Empty Workspace Folder
Case 2: Non-empty Workspace Folder
Expected Behavior After Enhancement:
Tasks
The text was updated successfully, but these errors were encountered: