stopstalk / stopstalk-deployment

Stop stalking and start StopStalking :wink:
https://www.stopstalk.com
MIT License
313 stars 96 forks source link

View my submissions on a problem page #106

Closed raj454raj closed 7 years ago

IamAdiSri commented 8 years ago

I would like to work on this issue, can you assign this to me?

raj454raj commented 8 years ago

Hey @IamAdiSri , feel free to send a PR :) Github does not allow non-org members to be the assignees :D

souravgl0 commented 8 years ago

I want to work on this. The database initially is unpopulated. there are no problems or submissions. Can you tell me how do I add some entries

raj454raj commented 8 years ago

@souravgl0 : https://github.com/stopstalk/stopstalk-deployment/issues/146#issuecomment-252791224 will guide you step by step :)

souravgl0 commented 8 years ago

How should I change the frontend part to give an option for viewing My Submissions?

raj454raj commented 8 years ago

@souravgl0 : There is no fixed answer for that, I am free for suggestions. What I was thinking is a button on top of Recent submissions on click of which the page should show user's submissions. Even better option is Materialized tabs - http://materializecss.com/tabs.html The three tabs being - Friends' submissions | Global submissions | My submissions

souravgl0 commented 8 years ago

I think tabs is a better option. I'll implement that. Is it okay if I write the code for the switch element in html file? It's hard to write python code for html elements as you have done in the problems.py controller.

raj454raj commented 8 years ago

Yeah not a problem :)