fava icon indicating copy to clipboard operation
fava copied to clipboard

Document journal entries should link to documents UI

Open jeffwheeler opened this issue 4 years ago • 0 comments

Currently, it is not possible to directly link to a document in the documents GUI.

I would like to change the link for document journal entries to display the document in the web UI, instead of downloading directly. To achieve this, I think links in the journal should change from:

/beancount/document/?filename=[filename] to /beancount/documents/[account]/?filename=[filename]

We could also add a download link in this UI, if downloading is still useful. (It's not obvious to me that it's useful, since these files are already present on the user's computer.)

It should also be possible to specify the [account] without [filename] (i.e. /beancount/documents/[account]/), which will be effectively the same as going to /beancounts/documents/ today and selecting an account.

jeffwheeler avatar May 18 '21 02:05 jeffwheeler