hpi-swt2/event-und-raumplanung

Automatically mark own event as favorite upon creation

Closed this issue · 4 comments

Read the title

@leoselig I have no time to finish this issue right now, sry.
I tried the following: in the events_controller there's a function called toggle_favorite (which is called by show_toggle_favorite, so the latter seems irrelevant to me). When I call this message while creating a new event, the only thing that happens is that instead of favoriting the event, the star/button that triggers favoriting from the ui just disappears. And I have no idea why. So maybe someone who's familiar with the code should look into it. Just my 2cts.

Re-assigned to @GitHub1992 due to timing issues in team Biber

Needs to be reviewed at http://fab-swt.herokuapp.com/ as I did not want to push to dev during the review of other teams.

Just reviewed, looks good, feel free to create PR