mirror of
https://github.com/narrrl/narl-workspace.git
synced 2026-11-19 02:45:03 +01:00
fixes: what the audit turned up
- POST /api/diary/day finds a day's entry, or starts it at the root of the diary, by the server's clock. T, the calendar and a capture all use it, so they can no longer write two entries for one day: before, T counted days by the browser's midnight and wrote into whichever diary folder was last open. - A Ctrl-P result opens beside the results, as a / result does, so n and N go on from it rather than finding no search. - A card's description resolves its [[links]] the way a document does, and following one leaves the card for what it leads to. - gf on the board opens a card's notes. Enter was documented for that, but Enter turns the card over. - The pane header and the status line show where the open node is, rather than where the list is, so a node from another space shows its own path.
This commit is contained in:
1 parent
ac3ad166e5
commit
7f8a3816d3
22 files changed
+321
-114
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import Rail from './Rail.svelte'
|
||||
import { workspace } from './store.svelte'
|
||||
import { isTouchDevice } from './util'
|
||||
import { isTouchDevice, slugPath } from './util'
|
||||
|
||||
/** A key waiting for its second half, like vim's `showcmd`. */
|
||||
const { pending = '' }: { pending?: string } = $props()
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
// The path is the file name here: work/einarbeiten/01-was-ist-eebus.
|
||||
const file = $derived(
|
||||
workspace.open ? `${workspace.here}/${workspace.open.slug}` : `${workspace.here || '~'}/`,
|
||||
workspace.open ? slugPath(workspace.open.path) : `${workspace.here || '~'}/`,
|
||||
)
|
||||
|
||||
const lines = $derived(workspace.editing ? workspace.draft.body.split('\n').length : null)
|
||||
|
||||
Reference in new issue
Block a user