zhiminy/EvalEng huggingface dataset:
Repository: Cloud-CV/EvalAI
Issue: Sidebar menu is not working on New UI mobile version.
GitHub labels: bug

GSOC-2019

easy_to_fix

frontend


@aka-jain can you assign this to me?

Sure @Ram81 , go ahead.

@aka-jain any hints?

@Ram81 hints regarding what... have you understood the issue? Or you need help to solve it.

@aka-jain when I see the page in mobile I am unable to use any link! why is it so I don't get it? 

@Ram81  So for that there is a hamburger icon, clicking on which opens a sidebar like we do in mobile apps and that's an issue.

@aka-jain that's not what I was saying when I use it in mobile view I am unable to use any link other than the icon used to open sidebar & not even any link from footer is working!
That's why I am confused 

Hmmm... I think there is an overlay of a transparent image which stops clicking event on these links. So that is the issue... Find that overlay and customize it so that everything will work fine.

sure will do that

@Ram81 what about this one? I think this one is working now. Can you check once again please by updating your master? 
Also try to do one task at a time. Let's make issues free for other contributors too.

Fixed with #751. Closing this.
Repository: Cloud-CV/EvalAI
Issue: Integrate Team API with frontend
GitHub labels: enhancement

GSOC-2019

easy_to_fix

frontend

critical

API endpoint for `our-team` view is to be integrated

Thanks @yadavankit for re-opening it again. I closed the #677  issue accidently.   

@yadavankit are you working on this issue or is it open? 

@deshraj I don't have good experience with frontend, so I guess I won't be working on this issue, please assign this to team members well versed with frontend :) Meanwhile, will be working on the issue we talked about

@yadavankit: Sounds good. :) 

Assigning this to myself. 

Unassigning myself since i am occupied with some other work. Feel free to comment if you are interested in working on this task. 

@deshraj I think this is done, isn't it?

No, not yet. I was to work on this but didn't get time to complete it. 

But then on staging how lists are coming, it that hard coded?

Yeah, currently I have hard coded the details for the staging server just to check how it looks. 

Okay, cool.

@deshraj @aka-jain Can I work on this?

Yep Sure.
Repository: Cloud-CV/EvalAI
Issue: Optimization of Images.
GitHub labels: enhancement

GSOC-2019

easy_to_fix

frontend

Use this APP to optimize all the images https://compressor.io/

@aka-jain can I take this up ?

Sure @anweshknayak.

@aka-jain  can you please provide some details regarding this issue

@daas-ankur-shukla I think @anweshknayak is already working on it. 
@anweshknayak are you?

No not yet. @daas-ankur-shukla go ahead you can do this. Just go that site mentioned above and upload those images there and compress them and replace the original images with the compressed ones.

@anweshknayak ok i am on it. but one silly question. which images?

@daas-ankur-shukla https://github.com/Cloud-CV/EvalAI/tree/master/frontend/src/images 
find more if there

@daas-ankur-shukla you doin this ?

@anweshknayak yup

dint find any more than those at the link

put up a PR and ask the mentors to review.

which branch should i commit to? should i make my own branch?

Yeah from your fork create a branch and push to master in evalai.

it says i dont have permissions to push to master

http://stackoverflow.com/a/3476453/4037592 . Remove it and set your fork repo's link as origin.

created PR #727. I Hope I have done it correctly :P  

Yep. Fixed with #727
Repository: Cloud-CV/EvalAI
Issue: Setup ModelAdmin class for each model in Host app
GitHub labels: enhancement

GSOC-2019

easy_to_fix

This class should be derived from a TimeStampedAdmin of base app.

Notable attributes should be
* list_display
* search_fields
* list_filter

Note that this issue depends on [Issue 68](https://github.com/Cloud-CV/EvalAI/issues/68) which involves the creation of `TimeStampedAdmin` class.

Fixed in #150
Repository: Cloud-CV/EvalAI
Issue: Change style/design of Notification system.

Do following changes:
1. Make top-right and bottom-right border-radius 0,
2. Position should be 20px from top and 0 from right,
3. Make opacity of div to 1 from .8

@aka-jain Can i work on this.

Sure @jainarunarunjain. Please see the updated description for this issue.

@jainarunarunjain: please add one more fix. The toast should go away after 4 seconds. Please add a timeout for the toasts.  

@deshraj Sure

Thanks @jainarunarunjain. Fixed with #712
Repository: Cloud-CV/EvalAI
Issue: Add details in challenge phase view
Root cause: Unimplemented Feature Gap

This issue involves solving following issues:

- [ ] Format start date and end date on challenge phase view. For reference, see this line https://github.com/Cloud-CV/EvalAI/blob/master/frontend/src/views/web/challenge/challenge-list.html#L17

- [ ] Show `Maximum number of submissions per day` and `Maximum number of total submissions` in the card

@deshraj Can you assign this to me.

Sure, assigning it to you. 

@deshraj Where do you want to show the submission count?

I think we should show it before the description of every phase. For reference, see this http://evalai.cloudcv.org/web/challenges/challenge-page/1/phases

Okay, do we also need to show a warning if user tries to exceed the submission count?

I think we can open a different issue for that. It would be a cool feature to have. We would need to write a new API endpoint for that. 

Agree. 
@jainarunarunjain You just need to add both field to phase details only. Let me know if you need more help.

@aka-jain @deshraj Sure, I will do this.

@deshraj @aka-jain From which API do i get max submission count.

Ammm, don't know. @deshraj Is that count not coming in phase API?

@deshraj I need some help, 
max submissions count is not coming in phase API.

@deshraj I think we have not included the `max_submissions_per_day` and `max_submissions` field in the 
`ChallengePhaseSerializer`. Please refer to this [link](https://github.com/Cloud-CV/EvalAI/blob/master/apps/challenges/serializers.py#L33). What are your views about it?

@RishabhJain2018 it would be great if you can add these fields in the API so that we can unblock @jainarunarunjain. I am occupied with some other work. 

@deshraj yeah sure. I think I should open a new issue for that?

Cool. Sounds good. And don't forget to reference to this issue. 

okay sure.

@jainarunarunjain The challenge Phase API is now updated. Now it is returning `max_submissions_per_day` and `max_submissions`.

Thnx @RishabhJain2018 @deshraj 

@deshraj we should close this, Fixed in #729 .

Closing it. Fixed with #729.
Repository: Cloud-CV/EvalAI
Issue: Add fixtures for initial data in models
Root cause: Unimplemented Feature Gap

As of now, there is no provision of initial dummy data for contributors to work with. 
Fixtures are to be added for pre-population of all `models`.

@yadavankit Thanks for opening this issue. This is going to be super useful for all the contributors. :) 
If you want to work on this issue, please do some research about the packages available out there and let me know whichever is reasonable and once we converge in choosing a package, you can start writing a code. 

Let me know if you have doubts. 

I remember that at some point @RishabhJain2018 was looking at some of the packages available for the same but then he got busy with some other issues. 

@RishabhJain2018 can you please share the list of packages that you filtered out? It will save a plenty amount of time. 

@deshraj I had researched about [these](https://goo.gl/bh8fo5) packages for adding the initial fake data.
Please review the document. What are your views about it ?
Moreover, Can I work on this?

@RishabhJain2018 I guess u already have #649 ? Moreover, am not occupied with any issue as of right now.

Thanks @RishabhJain2018 for sharing the doc. I will look at it soon. 

@yadavankit, don't worry, he is just pointing us to some of the links that he searched earlier. It makes sense to use this doc as reference since it will save a lot of time of ours. :) 

@RishabhJain2018 thanks for the doc 😄   @deshraj I have already gone through the shared doc  and doing my research on packages. Will update soon :)

@deshraj  @TroJan does the sum of durations of all challenge phases of a particular challenge equal to the duration of the Challenge?
Also, what about seeding of `Leaderboard` (having a `JSONField` `schema`) ?

> @deshraj @TroJan does the sum of durations of all challenge phases of a particular challenge equal to the duration of the Challenge?

Yeah, you should keep it that way though we have the flexibility of keeping to different duration.

> Also, what about seeding of Leaderboard (having a JSONField schema) ?

We can talk about it once you are done with the rest part and open a pull request. 

@yadavankit any progress with this? This is going to be super important really soon so please do it quickly. Let me know if you need some help with this. 

@deshraj Yeah, will be submitting the PR for review soon :)

@deshraj @TroJan  in `Submission` model, why are we using `submitted_at` when `Submission` model is itself `TimeStampedModel` ? (I am receiving `naive-datetime` warnings on seeding the `Submission` model for `submitted_at` field that has `auto_now_add` set to `True`)

@yadavankit We are using the `TimeStampedModel` to just keep track that when a particular entry was created or modified. We have explicitly added the `submitted_at` field to make sure all the variable names are consistent for the submissions and we should not confuse with `created_at` for this. Moreover, it's not bad to have extra fields since you might want to use it in the future. :) 

@deshraj got it, thanks :)

Fixed in #756
Repository: Cloud-CV/EvalAI
Issue: Setup ModelAdmin class for each model in Participant app
GitHub labels: enhancement

GSOC-2019

easy_to_fix

This class should be derived from a TimeStampedAdmin of base app.

Notable attributes should be
* list_display
* search_fields
* list_filter

Note that this issue depends on [Issue 68](https://github.com/Cloud-CV/EvalAI/issues/68) which involves the creation of `TimeStampedAdmin` class.

@TroJan @deshraj Can I work on this?

Fixed in #170
Repository: Cloud-CV/EvalAI
Issue: Footer in About Us page is not aligned 
GitHub labels: bug

GSOC-2019

easy_to_fix

frontend

![footer](https://cloud.githubusercontent.com/assets/16323427/23216486/214f297a-f93c-11e6-893f-4d5f5fd6ab03.png)


It must be fixed at bottom!

Thanks for opening this @Ram81 :) Feel free to fix this. 

Fixed in #715
Repository: Cloud-CV/EvalAI
Issue: Setup ModelAdmin class for each model in Challenge app
GitHub labels: enhancement

GSOC-2019

easy_to_fix

This class should be derived from a TimeStampedAdmin of base app.

Notable attributes should be
* list_display
* search_fields
* list_filter

Note that this issue depends on [Issue 68](https://github.com/Cloud-CV/EvalAI/issues/68) which involves the creation of `TimeStampedAdmin` class.

can i try this ?


@gauthamzz : yeah sure, but if you dont mind can you give #68 a try. This is because TimeStampedAdmin class does not exist as of now and we need it here.


Can you give me an idea how to solve #68 

@gauthamzz : as of now you can start by just writing a [modelAdmin](https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.ModelAdmin) class.  This class will register the model on django admin site. 

There are certain attributes for this class, which defines how can you search on this model, what filters will be available and so on. We are only concerned with three attributes 

* [list_display](https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display)
* [list_filter](https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter)
* [search_fields](https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields)


can i try this?

i am almost done with this , try other part

@gauthamzz Sure

Fixed in #149
Repository: Cloud-CV/EvalAI
Issue: Change Password not working properly
Root cause: Validation Gap

As of now, Change password view has following issues:
- Change Password actually doesn't change the password
- `undefined` shown after message that user gets to see on the interface

@deshraj can I work on this ?

Sure. Assigning it to you. :) 

@deshraj Changing password actually works. What more to be done about it ?
Repository: Cloud-CV/EvalAI
Issue: Frontend: Prevent 404 page on adding trailing slash('/') in the urls
GitHub labels: bug

easy_to_fix

frontend

critical

This code was deleted accidentally. 
[See the help](https://github.com/Cloud-CV/EvalAI/commit/998e2e7ffa9435f30dd448430b1387eba7ca50a7#commitcomment-21032649)

@spyshiv can you assign this to me?

Sure..Go ahead.

@Ram81 What is the status of this? Please fix that asap. You have to just copy and paste .

Sorry my bad. you already did.

@spyshiv  sorry for the delay

@Ram81 : It's fine. It wasn't much delay.
Closing this issue as it is fixed in PR #732.
Repository: Cloud-CV/EvalAI
Issue: Integrate Django REST Swagger for API docs
GitHub labels: enhancement

GSOC-2019

easy_to_fix

For reference, see this: https://django-rest-swagger.readthedocs.io/en/latest/

@deshraj Can I fix this??


Sure, go ahead. :-) 


@deshraj Which version are we going to use?


Since we are using django 1.10 so the latest version that is compatible with it will work. 


okk.
Repository: Cloud-CV/EvalAI
Issue: No response on file submission without selecting the Phase
Root cause: Validation Gap

In the challenge submission view, if I just upload a file without selecting the phase, then the loader doesn't go away and there is no error on the page. For reference, see the below screenshots. 
<img width="1440" alt="screen shot 2017-02-24 at 9 26 42 am" src="https://cloud.githubusercontent.com/assets/2945708/23306941/9c0c18a2-fa73-11e6-8815-40cfcd17be77.png">
<img width="1440" alt="screen shot 2017-02-24 at 9 26 55 am" src="https://cloud.githubusercontent.com/assets/2945708/23306940/9c02e804-fa73-11e6-8c72-27322acd2111.png">


@deshraj I would like to work on this ?

Sure

![screenshot from 2017-02-25 00 17 39](https://cloud.githubusercontent.com/assets/8139783/23316328/fc1df2b6-faef-11e6-9965-453984b45518.png)

@deshraj error in page is showing up. Can you elaborate more in the issue ?

![screenshot from 2017-02-25 16 49 16](https://cloud.githubusercontent.com/assets/8139783/23330700/951f7900-fb7a-11e6-8ee6-6f3d2f558dc3.png)

Working fine for Ongoing challenges

@anweshknayak I think the case of uploading file without selecting the phase is working properly. 
Please check the console response coming from the backend. It seems like there are some other unhandled cases that needs to be covered. 

![screenshot from 2017-02-25 16 59 50](https://cloud.githubusercontent.com/assets/8139783/23330738/f626fc72-fb7b-11e6-94fb-d8044dee32d4.png)


I see. @anweshknayak can you please add a check where if the phase is not selected, then there is no API call made to the backend. 

sure @deshraj . 

@aka-jain Im working on this one too. Need some help. How shall I make use of promises to cancel http request here ? found something here (http://odetocode.com/blogs/scott/archive/2014/04/24/canceling-http-requests-in-angularjs.aspx). I tried the same doing in controller. But it gave too many errors. 

There is no need to cancel http request @anweshknayak. Try to do as @deshraj mention above. You just need to check the value of phase with if else statements. It's easy, actually I have done this before but due to some reason some code has been changed. So try to do with if else statements. Thanks.

@anweshknayak status?

@aka-jain. Have exams going on. If anyone wants to do this go ahead please

@anweshknayak any updates on this? 

@deshraj I didn't get time to fix this yet. Meanwhile please make this feel for others to solve.

Thanks for informing Anwesh. :) 

@deshraj I'd like to get more experience with the frontend of EvalAI. Can you please assign this bug to me?

Already fixed. Closing it.
Repository: Cloud-CV/EvalAI
Issue: Reset password page doesn’t reset when moved from one view to another
GitHub labels: bug

GSOC-2019

medium-difficulty

frontend

critical

## How to replicate this issue?

1. Click on Forgot password
2. Submit email
3. Click `Back to Log In`
4. Click again on `Forgot Password`

@deshraj  can I take this up?

Yep, sure. 

@deshraj fixed in #735 you can close this

Closing this.
Repository: Cloud-CV/EvalAI
Issue: Frontend: Remove jslint errors, and clean the code
GitHub labels: enhancement

GSOC-2019

frontend

critical

Steps to follow
1. Fine the line `/* jshint shadow:true */` in the js files of directory `frontend/src/js/`
2. Remove the line `/* jshint shadow:true */` 
3. Run `gulp lint` and see the linting warnings and errors in the terminal
4. Fix the warnings and errors.
   - [ ] if there is variable duplication, please use your senses and rename them smartly.
   - [ ] Remove unnessary variables that are defined inside a block and never used
   - [ ] Remove `console.log();` [if there is nothing in the block except `console.log()` then don't remove it ] 
5. Test the view in your local and see that everything is fine.

5. Do not use `/* jshint shadow:true */` anywhere. If you can't fix the errors or stuck somewhere, report to @spyshiv or @aka-jain .



@spyshiv Can i work on this?

@jainarunarunjain sure go ahead.

@spyshiv @deshraj I think this is completed in #736 .So should we close this?

Closing it. Fixed with #736 .
Repository: Cloud-CV/EvalAI
Issue: Integrate API for getting the profile data in Client Side.
Root cause: Algorithmic Error

When the user is directed to `My profile` after updating the profile, then the updated changes are not visible. The changes are visible only when the user again refreshes the page.

@RishabhJain2018 FYI
endpoint: `auth/user/`
type: `GET`
required userkey also.

See the `frontend/src/js/directives/directives.js` line 69 for the reference.

@spyshiv The steps to regenerate it are:

1. Go to the update profile view once the PR #713 is merged.
2. Change the username or firstname or lastname.
3. Submit & then you will be redirected to `My Profile` view.

Now the data shown by the `My Profile` view is the old data. To get the new updated profile data , please refresh the `My Profile` view.

When user get the update profile view then initially it should show the existing `username`, `first_name`, `last_name`. Then user can change it 

@spyshiv Yeah, I will update that.
Moreover, I opened this issue because even after updating the profile, the user can't see the chnages until he refreshes the page.

@deshraj @spyshiv Can I work on this?

Sure, assigning this to you. :)
Repository: Cloud-CV/EvalAI
Issue: Improve Gulp Watch task to handle remove, delete, and errors in files.
GitHub labels: enhancement

GSOC-2019

medium-difficulty

Need to update watch task of gulp  so that it can easily get files update like delete and add.

update task like what ? can you give me a headstart.

If you add a new file or delete any existing file or if your JavaScript throws error then gulp watch task breaks. Need to fix it, there is a gulp dependency available which handle all JS errors, addition and deletion. You have to rewrite the gulp watch task so that it can easily handle all these changes. I hope you got my point.

https://www.npmjs.com/package/gulp-watch This should help I think ?

http://stackoverflow.com/a/34346524 this solves the issue I guess ?

@anweshknayak addition and deletion are working now. It was an older version problem. 
But watch task is not handling JS/SASSerrors. It breaks down when JS/SASS file throws error. Can you plesae verify and try to solve this only.
Take reference form this link and you can use Plumber plugin for this too. https://cameronspear.com/blog/how-to-handle-gulp-watch-errors-with-plumber/
Repository: Cloud-CV/EvalAI
Issue: Reuse the code of rocket container in views folder by making  a separate file of it.

@deshraj @aka-jain @spyshiv will it be possible. 
Thoughts?

@jainarunarunjain yup, we can do this. I'm assigning it to you. Let me know if you need any help.

@aka-jain Sure, will do this.

@deshraj @spyshiv @aka-jain we should close this. Fixed in #753 

cool. :+1: 
Closing this
Repository: Cloud-CV/EvalAI
Issue: Frontend: Changing route doesn't scroll to top in the new page
GitHub labels: GSOC-2019

frontend

Example:
1. Open home page and go to footer
2. In footer click on the `about us` link

You can see the page doesn't scroll to top. See the screenshot
![screenshot from 2017-03-02 02 04 20](https://cloud.githubusercontent.com/assets/7015220/23480065/94a3367c-feec-11e6-8a55-7129a7c69e3d.png)



@spyshiv I'm on it.

Task is open, I'm working on some other issue.

@aka-jain : Cool :+1:

@gauthamzz Sure. assigning to you

@gauthamzz are you still on it?

@aka-jain  i am , i have an exam tmmrw.then im free .Is that fine ?

Let's free this issue till then. Let me know whenever you get free. Will assign it to you again if no one shows interest in it.

@anweshknayak : can you fix this ?? Let me know if you are interested.

@spyshiv Sure. I am interested. 

@anweshknayak: Let see how quick you are.... Assigning this to you.
Repository: Cloud-CV/EvalAI
Issue: Add content to home page
GitHub labels: enhancement

GSOC-2019

medium-difficulty

frontend

Need to complete the Homepage:

Main content that will come:
1. Top 5 challenges
2. Intro to EvalAI
3. How it works

Intrested in this one @aka-jain, when done with design can you assign it to me?

I am also interested in this one @aka-jain , if the design is ready can you assign it to me to do it ?

@shivanXI : Sure, will do it.

@spyshiv : assigning this to you.

@aka-jain: As we will work on new ui so we will get back to this issue later.

Sounds good. Closing it for now.
Repository: Cloud-CV/EvalAI
Issue: Missing Error Catch In Team API

We should also catch error while returning the Team List([here](https://github.com/Cloud-CV/EvalAI/blob/master/apps/web/views.py#L65)) from the database.
@deshraj @TroJan What are your views about it ?

@RishabhJain2018 : Thanks for pointing this out. But it is actually not required.

Reason being that `all` does not throws an exception. It simply returns an empty list if no objects are found. However, `get` throws an exception, so when ever we are using `get` we need to catch it in a proper try-catch block.

@TroJan okay sure. Thanks for guiding.
Repository: Cloud-CV/EvalAI
Issue: Change Hamburger icon in mobile view from middle to left corner position.
GitHub labels: easy_to_fix

frontend

Currently the hamburger icon in mobile view in landing page is in middle position and it should be change to left corner position.
@spyshiv @aka-jain Can i work on this?

sure. :+1:  assigning this to you.

Fixed with #757
Repository: Cloud-CV/EvalAI
Issue: Notification should disappear after certain time interval.
GitHub labels: easy_to_fix

frontend

For Now, we have to wait for long and then it disappears. The time period for its disappearing must be small.
@deshraj @aka-jain @spyshiv Can I work on this?

sure. Assigning this to you. Let me know if any query.

@spyshiv @aka-jain @deshraj  The default timeout is 4 sec. What if we reduce it to 2 sec? What are your views about it?
Moreover it also don't have a close button. Should I add that also?

Ummm....I think we should make it to 3 seconds. 

@deshraj Okay sure.
Repository: Cloud-CV/EvalAI
Issue: Webhook Integration with slack Api 

Incoming/Outcoming  Webhooks are a simple way to post/get messages from external sources into Slack, or vice-versa.I think it may be helpful for registered teams to send and receive data from Slack to  our project or vice-versa using Webhooks. 
@deshraj @spyshiv @aka-jain @TroJan  Can you please allow me to work on it ?

@divyanshu1302 the time is so early for this feature. We will work on this feature in the near future but not now. :) 

Closing for now.