feat: add workspace management and file preview

- Add workspace update and delete API endpoints
- Redesign selected files display to use interactive cards
- Implement VS Code-style modal for file content preview
- Enhance file tree with animations and local state
- Update UI styles for explorer, forms, and modals
This commit is contained in:
Mahmoud-Emad
2025-08-24 13:40:51 +03:00
parent cc93081b15
commit d6ea18e6db
5 changed files with 1603 additions and 272 deletions

View File

@@ -431,7 +431,7 @@ fn (mut wsp Workspace) save() !&Workspace {
}
// Generate a random name for the workspace
fn generate_random_workspace_name() string {
pub fn generate_random_workspace_name() string {
adjectives := [
'brave',
'bright',