WelcometoMyGarden / welcometomygarden

Web app of Welcome To My Garden, a not-for-profit network of citizens offering free camping spots in their gardens to slow travellers.
https://welcometomygarden.org
GNU Affero General Public License v3.0
107 stars 16 forks source link

Personal garden data is not streaming #299

Closed th0rgall closed 1 year ago

th0rgall commented 1 year ago

Similar to #271.

Reproduction:

  1. Create an account in window A
  2. Log in into that account in window B, too
  3. Create a garden in window A
  4. In window B, navigate to /account. The "Add Garden" button remains there, even though the user already has a garden.

This could lead to conflicts.

Solution The best solution is to stream the latest state of one's own garden into the clients (whether it is created, or edited).