Description
When clicking the "Open Workspace" button in the Sync tab, an alert appears showing "Workspace location: undefined" instead of the actual workspace path.
Steps to Reproduce
- Open the Eidolon dashboard
- Navigate to the Sync tab
- Configure workspace (select a directory)
- Click the "Open Workspace" button (📂 icon)
- Observe the alert message
Expected Behavior
The alert should display the full path to the configured workspace directory, such as:
Workspace location: /Users/username/Documents/ClaudeProjects
Or ideally, open the workspace folder directly in the system file manager.
Actual Behavior
Alert shows: "Workspace location: undefined"
Technical Details
- File:
entrypoints/dashboard/main.ts (line 2034-2045, openWorkspaceFolder() function)
- The function attempts to read
config.workspacePath but this value may not be properly set
- The workspace path is stored separately from the FileSystemDirectoryHandle
Root Cause
When setting up the workspace:
- FileSystemDirectoryHandle is stored in IndexedDB
- WorkspaceConfig is stored in chrome.storage.local
- The
workspacePath property in config may not be populated with the actual path
Suggested Fix Options
Option 1: Store Path During Setup
// In setupWorkspace()
const path = dirHandle.name; // Or construct full path
config.workspacePath = path;
await saveWorkspaceConfig(config);
Option 2: Use Native File Manager
Instead of showing path in alert, use the File System Access API to show the folder:
// This would require additional browser API permissions
window.showDirectoryPicker({ id: 'workspace', mode: 'read' });
Option 3: Derive Path from Handle
Get the directory name from the stored FileSystemDirectoryHandle and display that.
Description
When clicking the "Open Workspace" button in the Sync tab, an alert appears showing "Workspace location: undefined" instead of the actual workspace path.
Steps to Reproduce
Expected Behavior
The alert should display the full path to the configured workspace directory, such as:
Or ideally, open the workspace folder directly in the system file manager.
Actual Behavior
Alert shows: "Workspace location: undefined"
Technical Details
entrypoints/dashboard/main.ts(line 2034-2045,openWorkspaceFolder()function)config.workspacePathbut this value may not be properly setRoot Cause
When setting up the workspace:
workspacePathproperty in config may not be populated with the actual pathSuggested Fix Options
Option 1: Store Path During Setup
Option 2: Use Native File Manager
Instead of showing path in alert, use the File System Access API to show the folder:
Option 3: Derive Path from Handle
Get the directory name from the stored FileSystemDirectoryHandle and display that.