@Gorgonzola This doesn’t fix all the (focus rect sometimes not visible) problem with Keyboard navigation ON. But latest release does add quick navigation to Sidebar, Editor, Sidebar in the Go menu, with keyboard shortcuts.
The latest release adds API for window.subtitle. Here’s one way you could update the titlebar to show contained folder:
function parentFolderName(path: string | undefined): string | undefined {
if (!path) return undefined
const parts = path.split('/').filter((p) => p.length > 0)
if (parts.length < 2) return undefined
return parts[parts.length - 2]
}
// inside your bike.observeWindows callback:
window.observeCurrentOutlineEditor((editor) => {
if (!editor) {
window.subtitle = 'Unsaved'
return
}
const doc = bike.documents.find((d) => d.outline === editor.outline)
const folder = parentFolderName(doc?.fileURL?.path)
window.subtitle = folder ?? 'Unsaved'
})