-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
better hledger-web first startup experience #855
Comments
@simonmichael I'm trying to dip my toes into this issue but I'm encountering some unexpected friction. I was about to refactor the So I opted to re-validate the I did a very quick try to change the When you wrote this issue, did you have any clear idea how you would want the code to look like? |
I did not! Thanks for looking at it. We should probably think about the desired user experience too. This issue primarily matters on Windows I guess. |
Ok, so a bit of tinkering, I reached a possible solution. There is a draft in #1753 with a couple of open questions. Let me know if this is a sensible approach; or I should reconsider. |
@jazcarate that's clever. What about just automatically creating an empty journal file in the default place when it's unspecified and nonexistent ? At least for hledger-web, possibly for hledger/hledger-ui as well ? Any significant downsides ? |
🤔 |
All tools should work fine with an empty journal, I'm just not sure if auto-creating the file will be problem free. Let's see. |
When a file is specified with -f but does not exist, we should not auto-create in that case. |
Reported on list today: hledger-web fails to start when no journal file exists yet. And if you have started it by clicking icons you won’t know why. We should provide a better startup experience.
The text was updated successfully, but these errors were encountered: