-
Notifications
You must be signed in to change notification settings - Fork 472
Conversation
The code looks good. However I just realized we don't do any policy check inside of the Repositories controller. I'll create an issue for that. |
I created issue #231 |
Waiting for feedback from @mssola before merging this code |
Awesome work! The only thing that I don't like though is that the starring is done with a redirect, which is something I'm not used to. It would be cool if you could make it work remotely (e.g. with an |
Agreed, once that's is fixed we can merge the code into master. |
@lsamayoa also make sure to update the changelog to cover this new feature |
475a55f
to
5aacd3e
Compare
When I hover over the star/unstar button I get a scary message (from the user point of view): "translation missing en.Unstar" or "translation missing en.Star". I think that happens because you wrote code like link.html("<%= escape_javascript(t('Unstar')) %>"); But we don't have any translation in place. I would just drop the Apart from that the feature works fine. The code looks good, but I'll leave @mssola the task to comment the js stuff. |
Also, from a UX point of view I would drop the star/unstar button and make the star icon clickable. That's what is done usually by the other websites. I didn't star the repository
I already starred the repository
|
…tar functionality
…ge ids acordingly when ajax is used
b6495d4
to
7f07199
Compare
I agree with @flavio . Could you please do that ? |
LGTM, thanks a lot |
Fixes #203