I am building a news app and in the data base there are:
Sources (New York Times, BBC, etc.)
Articles (articles that are posted; each is assigned to a source)
A user can create a source of their own, and can delete their source if they want. I want a button that will delete a source AND all the articles assigned to it.
If anyone has any ideas on how to do this I’d be very appreciative!
On the component where you want to delete the source + article, do not perform any delete actions. Link to a new screen and label the screen “Delete Articles”. On the new screen place a countdown timer and set it to 3 seconds. While the countdown timer is selected, click “make a list” in the settings of the component.
Drag in another countdown timer and set it to sometimes visible if Current Source > Articles > Count is equal to 0. Set the timer to 2 seconds and the action to link back.