You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Items will be fetched when the accordion is opened to avoid delay on this page.
Update existing "createNewUserFields" cloud function to add the new empty collection for a new user.
Afterwards, Create and do a custom run cloud function to update existing users with the favourite collection.
The text was updated successfully, but these errors were encountered:
In user's document create a new field with a favorites collection of "Food Reference to it's document".
In 'tab-foods-database.page.html' add a button to route you to a new page with you Favourite items.
This new page will allow searching items to add or delete to and from favourite list.
Use accordion in "add-entry-search-page.html" to display the favorite items.
<!-- Recent and Favourite --> <ion-accordion-group> <ion-accordion value="recentItems"> <ion-item slot="header"> <ion-label>🕑 Recent foods</ion-label> </ion-item> <ion-list slot="content"> <ion-item> <ion-label>Red</ion-label> </ion-item> <ion-item> <ion-label>Blue</ion-label> </ion-item> </ion-list> </ion-accordion> <ion-accordion value="favourite"> <ion-item slot="header"> <ion-label>⭐ Favourite</ion-label> </ion-item> <ion-list slot="content"> <ion-item> <ion-label>X</ion-label> </ion-item> <ion-item> <ion-label>Y</ion-label> </ion-item> </ion-list> </ion-accordion> </ion-accordion-group>
Items will be fetched when the accordion is opened to avoid delay on this page.
Update existing "createNewUserFields" cloud function to add the new empty collection for a new user.
Afterwards, Create and do a custom run cloud function to update existing users with the favourite collection.
The text was updated successfully, but these errors were encountered: