Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to add URL to journal #1979

Open
PSLLSP opened this issue Jan 8, 2023 · 0 comments
Open

option to add URL to journal #1979

PSLLSP opened this issue Jan 8, 2023 · 0 comments
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. web The hledger-web tool.

Comments

@PSLLSP
Copy link

PSLLSP commented Jan 8, 2023

I would like to add URL to journal, URL that will be clickable when journal is served by hledger-web.

I can add URL to description or comment now but such external link has two issues:

  • it is not clickable when served by hledger-web
  • when the URL is longer then it is trimmed by hledger-web, so it is even cannot be select/copy/paste; full URL is visible in tooltip (yellow pop-up box) but text in the tooltip cannot be selected/copied...

Example journal with several URLs, just an idea why it can be useful):

2023-01-08 * (0xb78f2a194d74519b27fa0aa095317cd70b5aa59103aaf7184614d6aa20934125) TEST|Transfer - [https://bscscan.com/tx/0xb78f2a194d74519b27fa0aa095317cd70b5aa59103aaf7184614d6aa20934125]
  ; https://bscscan.com/tx/0xb78f2a194d74519b27fa0aa095317cd70b5aa59103aaf7184614d6aa20934125
  assets:acc1
  assets:fee1       0.02 BNB   ; https://bscscan.com/address/fee1
  assets:fee2       0.006 BNB  ; https://bscscan.com/address/fee2
  expenses:tx-fee    0.00100441 BNB

Start web server:

$ hledger-web -f test-url.journal
@PSLLSP PSLLSP added the A-WISH Some kind of improvement request, hare-brained proposal, or plea. label Jan 8, 2023
@simonmichael simonmichael added the web The hledger-web tool. label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. web The hledger-web tool.
Projects
None yet
Development

No branches or pull requests

2 participants