hpi-swt2 / event-und-raumplanung

Ein Tool das die interne Planung von Events verbessern soll und dabei besonderen Fokus auf die Zuteilung von Räumen und Ausstattung legt.
GNU Affero General Public License v3.0
10 stars 5 forks source link

Automatically mark own event as favorite upon creation #354

Closed leoselig closed 9 years ago

leoselig commented 9 years ago

Read the title

mr-flannery commented 9 years ago

@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.

leoselig commented 9 years ago

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

FabianWiebe commented 9 years ago

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.

leoselig commented 9 years ago

Just reviewed, looks good, feel free to create PR