mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-11 11:50:27 +01:00
Action buttons (+ menu) not working #56
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 @bedge27 on GitHub (Aug 27, 2025).
I've finally got WYGIWYH up and running after some very amateur errors, and was excited to start using it but now have an issue that I don't think is caused by my incompetence.
The 'date' and 'date reference' field is missing whenever I try adding a quick transaction.
I'm able to fill in other details and press 'add', however the transaction doesn't appear in any accounts/transaction overviews etc. This is a copy of the error from the logs:
I've tried various different images, I also removed the volume and recreated the database with the same result. On the off chance it would work, I even tried accessing it on different operating systems (Ubuntu 22.04 and Windows 11) and browsers (Firefox and Chromium) which made no difference.
The curious thing is that I logged into the demo instance to see what adding a quick transaction should look like, and I encountered the same error there (no date/date ref field), and I'm sure I tried it before without any issues.
@eitchtee commented on GitHub (Aug 27, 2025):
Hey, glad to hear you got it working. Anything you feel should be better documented?
A Quick Transaction is like a template for a transaction you have to add many times, so you don't have to type out the same information multiple time or duplicate a existing transaction.
For example, let's say you go twice a week to your favorite restaurant and order the same thing every time, instead of having to type out this information twice a week, you can add a template (a quick transaction) to quickly add this transaction every time you need it, as such, in order to be quick, the date and reference date are inferred from the current day. The page you access the form to add a quick transaction is just a management page for your existing templates, they won't get added to your transactions right away.
To actually add a new transaction or quick transaction click the yellow button on the bottom right of the page, it will display the options you have (this is available on most views, but not all of them):
Let me know if this solves your problem.
Also, thanks for pointing out the error you're getting, a brainfart on my part, I will add a fix, but it isn't impacting anything right now.
@bedge27 commented on GitHub (Aug 27, 2025):
Thanks for the quick response. Nothing wrong with the documentation, just me not paying proper attention to it!
That completely makes sense about quick transactions and seems really quite obvious now, and actually a pretty handy feature. Unfortunately that brings me onto another issue that I probably should have mentioned in the first post - whenever I click on any of the options that appear, nothing happens, other than the options disappearing. I think this added to my confusion around quick transactions as it was the only screen that I could actually get to. I can't see anything relevant in the logs.
@eitchtee commented on GitHub (Aug 27, 2025):
Well, that's certainly odd.
Can you check some things for me, please:
@bedge27 commented on GitHub (Aug 28, 2025):
I can create a transaction on my Android phone and then edit and save it successfully on Windows/Ubuntu if needed, so I can do this as a work around. I'm just happy I can start using WYGIWYH!
Let me know if there's anything else you want me to check/test.
@eitchtee commented on GitHub (Aug 28, 2025):
Well.., no idea what's going on.
If the demo site also has problems, we can discard it being an issue with your server/instance, and more about something with your browsers or computer.
You being able to edit a transaction but not adding one is extra baffling, because it uses the exact same behavior as adding a transaction, just a different url.
A few ideas, but I'm truly baffled right now:
Either way, hope you enjoy WYGIWYH, sorry for not being of much help, but I have no idea on what might be happening, hopefully we can get to the bottom of this.
@samuelthng commented on GitHub (Sep 2, 2025):
@bedge27 - Maybe to see if it's pangolin, try if you can replicate the error when hitting the application from your local IP.
Eg.:
If your server is
192.168.0.5and the application is running on:8080.Then navigate to
192.168.0.5:8080in your browser.If CORS error still show up, it might be a reverse proxy config issue - likely some assets are not being proxied properly.
Also, if your SSL certificate is being handled by Pangolin and you're using https externally, then https should be true on your Django env options:
https://github.com/eitchtee/WYGIWYH/blob/main/.env.example#L8
Maybe a screenshot of the request that failed due to CORS might provide some insights.