How to update a document by adding items to a list field ?

I created a Firebase collection with many fields, most of which are entered by the user on a given page (match configuration page). Those details are then displayed on the next page except for a list (of participants) where only the first element in that list was entered on the configuration page (it's the authenticated user)

Users should be able to click on buttons on the second page to add themselves to that list (of participants), next to the first participant who configured the match.

Also the the first participant who is the authenticated user during match configuration needs to have his name displayed on that second page next to the empty slots where other participants may click to join.

What data should I pass exactly ? and how ?

Unfortunately the tutorials on fluuerflow blog are outdated and keep speaking of 'source' and assume that i get a list of collections to chose from when i don't see them at all.

Can someone please explain in steps, what to pass and how to update ?

Thanks

4 replies