mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-14 21:23:29 +01:00
Support query params for all transaction fields on the standalone transaction page (/add/) #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sininen-blue on GitHub (Dec 3, 2025).
Would it be possible to add explicit separate pages for each transaction action like expense and income
This is mostly for phone shortcuts use. It would be nice to make a phone shortcut that directly goes to the "add expense" page
I did find the standalone add transaction page, but it's not shown anywhere on the UI
@eitchtee commented on GitHub (Dec 3, 2025):
Hey there.
The Standalone page is used for the PWA app, if you install it you should get a shortcut called "New transaction" that redirects you to it.
I'm guessing you want a standalone page where "Expense" or "Income" is prefilled, since the current page always starts with Income selected (there's no difference between the income and expense pages besides what's selected at the top)
Maybe we could add support for query params on this page so you could create as many shortcuts as you need, e.g. /?type=EX for expenses, /?type=EX&is_paid=1 for a paid expense and so on.
@sininen-blue commented on GitHub (Dec 4, 2025):
That would be great!, though I realized now that the reason I never found this out was because I don't run wygiwyh as https so I never had the option of getting the full PWA
@eitchtee commented on GitHub (Dec 4, 2025):
That's a good reason, but you can still use the page. If somebody stumbles on this issue in the future, the url is
<YOUR INSTANCE URL>/add/So, I did a quick check and it seems we already support the type query param (and only it for now). This means you can already add your shortcuts like this:
/add/or/add/?type=IN/add/?type=EXThis weekend I will take a look into supporting the remaining fields, shouldn't be too hard.
@eitchtee commented on GitHub (Dec 6, 2025):
This will be available in the next release.
Ex.:
/add/?type=EX&date=2025-12-06&account=Test%20Account&category=Groceries&description=Test&amount=50.00&is_paid=true&tags=Food,Essential