Repository: Cloud-CV/EvalAI
Issue: Add the functionality to disable the Challenge
Root cause: Unimplemented Feature Gap

### Objective

A challenge host should be able to delete the challenge using the UI. At the backend, set the flag `is_disabled` whenever a challenge host submits a request to delete the challenge.

Can i contribute to this?

@rishabhja yes sure. Go ahead.

Can you assign the issue to me?

@deshraj: I would prefer that you call this issue as "Add functionality to disable a Challenge" since at the backend you are disabling the challenge. It does not make sense to introduce an inconsistency in actions at backend and frontend. 

Where is the disable button to be shown?

The disable button should be shown right below the challenge description in a card where if the challenge host clicks on that button then a dialog box opens that asks the challenge host to enter the challenge name and then press submit in that dialog box. Does that sound good @rishabhja ? 

Why do i need to ask for the challenge name if he is pressing the disable button on a specific challenge?

We are doing this to make sure that the challenge host is not pressing the button by mistake. 

A confirmation dialog maybe better

We have thought about both the approaches earlier and we wanted to go with this approach similar to what Github follows. :) 

okay, sure. I am assuming this disable button is not shown on the all challenges screen?

Cool. @rishabhja please let us know if you have other doubts about this. 

Disabling the challenge doesnt hide it. Is it expected?

Can you give me access to push?

@rishabhja yes, disabling a challenge must hide it from the list of all challenges.
Moreover, please create a pull request with the changes that you have done.

I am not able to push my branch. So, how will i create a PR?

For creating a PR, please fork the repository then you can push your local branch to your origin and then create a PR from there. Please ask if something is not clear. Please refer here for more details https://help.github.com/articles/creating-a-pull-request-from-a-fork/

@rishabhja Any update on this ?

@RishabhJain2018 If nobody is working on this, can I work on this?


Sure @anuj-rathore please go ahead. Assigning this to you.

@anuj-rathore Are you working on this?

I think @anuj-rathore is inactive. You can work on this @isht3

I am up for this...

On 08-Jan-2018 12:29 PM, "Akash Jain" <notifications@github.com> wrote:

> I think @anuj-rathore <https://github.com/anuj-rathore> is inactive. You
> can work on this @isht3 <https://github.com/isht3>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/Cloud-CV/EvalAI/issues/1080#issuecomment-355894409>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMIQ0M7rgh6cpUabER5IFD6YuP5C3CIBks5tIby5gaJpZM4OQ9KU>
> .
>


@isht3 you have started working on this?

@aka-jain Nope!

Wow, lot of comments. I think the final conclusion is that @anuj-rathore you can start working on this. :) Feel free to ask questions if you have any. 

I am really sorry, as I am quite busy these days! It would be really good if you could assign this to someone else @deshraj @aka-jain 

Can I claim this assignment?

Sure @codervivek. :)