nafiesl / silsilah

A genealogy/family tree application, built with Laravel.
MIT License
600 stars 289 forks source link

how can I remove wife/husband? #81

Open MIS-Center opened 2 years ago

MIS-Center commented 2 years ago

how can I remove wife/husband relation?

nafiesl commented 2 years ago

Hi @MIS-Center. Currently, there is no option to remove the person's spouse. Actually, this is because I forgot to create the feature :man_facepalming: But for now, I have no bandwidth to work on this one, so I will tag this issue open for help if someone can make it.

Thanks for raising this issue, @MIS-Center.

MIS-Center commented 2 years ago

thanks a lot .. maybe I will work with you if I use your beautiful project -especially on API section- as I may develop a flutter app

ahmadrosid commented 2 years ago

I think i can help adding that feature @nafiesl

ahmadrosid commented 2 years ago

I think we have that feature already. https://youtu.be/Eq1CtIYMuY8

nafiesl commented 2 years ago

thanks a lot .. maybe I will work with you if I use your beautiful project -especially on API section- as I may develop a flutter app

Hi @MIS-Center, this project doesn't have API endpoints yet. And I am not sure if a mobile app is necessary for this kind of project. :thinking: May I know your thought on why you want to build a mobile app for this project?

I think i can help adding that feature @nafiesl

Thanks @ahmadrosid

I think we have that feature already. https://youtu.be/Eq1CtIYMuY8

I have seen your video, deleting a user is different from this feature request. This one is deleting marriage or deleting records on the couples table, to be exact.

I was thinking we can just add a delete button on the couple detail/edit page. Here are some ideas:

  1. Add delete button on the couple detail page
  2. If the user click it, pop a javascript confirm dialog to make sure they want to delete it (like the one we have on the delete user page).
  3. Once the user click the confirm/ok button, we delete the couple record, set parent_id to null on the users table related to the deleted couple.

Let me now what you thought, @ahmadrosid. Thanks bro.

utay-cugung commented 8 months ago

yups.. mohon sediakan tombol delet/edit di tabel suami/istri