Hey @Victor
Thanks a lot for taking the time to reply with examples.
I tried adding the visibility logic to the button, but it doesnt seem to hide even though no journals have been created today. Deleting journals a few days back also doesnt make it invisible.
BUT the question is also if this will actually give me the result I’m trying to accomplish.
Let me draw out the use case:
Additional info:
A). The button the user taps today to start the journal is actually in the bottom navigation bar.
If that is problem I can move this to a button on the Home Screen. That would be okay.
B). The journal is created in the database and currently works - taking the user through the different steps updating the journal - in one flow. It is simply the part about dividing it into two steps, one in the morning and one in the evening and to a separate journey if he didn’t start the journal in the morning, that I havn’t solved.
So, The daily journal concept is the following:
-
Every day the user writes down answers on defined questions in a daily journal. When the user taps the “Journal” button on the homescreen in the morning, we give him 3 questions to answer.
-
When the user taps the same button (would be nice if the text change to eg. Finish Journal, but not crucial) again in the evening, we give him another 2 questions - updating the journal that he started that morning.
(In the last questions I’m fetching some information that the user defined in the morning, so I have to have access to the specific/current journal when the user comes back - both so that I can get that info but also just to update the current journal. How I access the Current Journal, when the user now comes back to the app, I dont know, as its not current anymore, but I would imagine there is just another way, like looking at the date or a state.)
- If the user should have forgotten to start the journal in the morning, and just comes in to do it in the evening, I will adjust the questions a bit and give him all in one proces (so just another path, with different screens).
SO, that was why I was thinking if it would help if there was a Finished (True/False) state on the journal, so we could maybe somehow make a logic like below and take the user to different views based on:
If user created journal Today is False > send him to the first questions.
If user created journal Today is True + Finished state is False, send him to the second questions to update current journal.
If user created journal Today is True + Finished state is True, send him to the view displaying the finished journal of today or hide the button.
If user created journal Today is False and Time is more than 4 pm > send him to flow with adjusted questions in one flow.
But how do we check if he created a journal today and how do we take the data from that current journal with us, when the user comes back to update it?
I hope I didn’t confuse with too much writing, just wanted to see if I can help 
Looking forward to your reply 