window.prompt() doesn't work in Tauri WebView on macOS — silently returns null. Removed handleCreateNewVault + create_vault_dir Tauri command entirely. Open Local Folder is equivalent; Finder lets users create folders inline. Also removes tauriCall helper (was only used by handleCreateNewVault). 573 frontend tests pass.
21 lines
777 B
Plaintext
21 lines
777 B
Plaintext
{
|
|
"children": [
|
|
{
|
|
"name": "Vault Picker — Before (broken Create New Vault button)",
|
|
"type": "FRAME",
|
|
"width": 400,
|
|
"height": 300,
|
|
"background": "#ffffff",
|
|
"notes": "The old vault picker had a 'Create New Vault' button that used window.prompt() — broken in Tauri WebView (silently returns null). Clicking did nothing."
|
|
},
|
|
{
|
|
"name": "Vault Picker — After (unified with Open Local Folder)",
|
|
"type": "FRAME",
|
|
"width": 400,
|
|
"height": 300,
|
|
"background": "#ffffff",
|
|
"notes": "Removed the broken Create New Vault button. Open Local Folder is semantically equivalent — macOS Finder's folder picker lets users create new folders inline. One button, clear action, works correctly."
|
|
}
|
|
]
|
|
}
|