r002 / captains-log

Over the years, I've toiled away many nights & weekends on various pet projects; each always with its own repo, theme, and urls. Well, no more! Moving forward, all experimentations now live here! 😄
https://captains-log.web.app
0 stars 0 forks source link

#6: Start a new User Story. #6

Closed r002 closed 3 years ago

r002 commented 3 years ago

User Story: What happens when a user signs in/out?

There are several possible paths if this event happens:

The user is not signed in:

  1. The user hasn't logged any activities yet. In this case, just fetch the user's logs and render.
  2. The user has logged activities. In this case, add the user's newly added activities to the database. Then render.

The user is signed in:

  1. Fetch the user's logs and render.

Related:

github-actions[bot] commented 3 years ago

Visit the preview URL for this PR (updated for commit 2a51dec):

https://captains-log--pr6-us-6-ovwjogza.web.app

(expires Tue, 30 Mar 2021 03:52:14 GMT)

🔥 via Firebase Hosting GitHub Action 🌎