Remove contrib status and show meaningful contrib only#63
Remove contrib status and show meaningful contrib only#63JanStevcik wants to merge 9 commits intowikimedia:masterfrom
Conversation
|
|
||
| COMMIT_STATUS = ['merged', 'open', 'abandoned', 'declined', 'resolved', 'stalled', 'invalid', | ||
| 'closed', 'pending', 'reviewed', 'p-open', 'g-open'] | ||
| # COMMIT_STATUS = ['merged', 'open', 'abandoned', 'declined', 'resolved', 'stalled', 'invalid', |
There was a problem hiding this comment.
There is no need to comment the present one out!! You can replace it.
|
@JanStevcik Thanks for the contribution. You can not solve #61 There is a tag named "Google Code-In" added to it. It means that only the people who are participating in code-In can solve the issues. At present they are reserved for them. To know more about Google CodeIn you can visit https://codein.withgoogle.com/ Coming to #60 It aims at removing only the status filters. But I guess you removed the entire code of the filters. This does not solve an issue but it further creates more issues. Let me know if you have any queries. |
|
Hi, I create new PR, hope now is filters removed fine. |
|
@rammanoj In last commit I've removed WMContraband. Hope now it's good. |
|
@JanStevcik Thanks for your interest :) I guess you made few minor mistakes. It appears like you have also added the semantic/ directory to the commit. semantic/ is just a dependency. You should not add it in the commits. Can you please resolve it ? |
|
Hi, I remove it. :) |
|
Cool @JanStevcik. I am sorry for the delay, this PR is few more steps away from getting merged :) These are the changes that need an update:
|
|
I'm sorry, I think UserUpdateTimeStamp is part of filters that should be removed. |
|
Thanks for your contribution @JanStevcik It looks good to me now. I will check it once in my localhost and get back.. |
|
Hi @rammanoj, I just remind this issue, is everything ok, or is there some problems? Thanks. |
|
@JanStevcik Thanks for your patience! I just tested your code locally. It seems like the filters are completely gone now. There used to be "View filters" button next to the edit button that is missing now: Ideally, the date and time range remains and filter section looks like this: |
|
I am sorry @JanStevcik for keeping you wait so long. Most of time was occupied with semester exams and final year project. Coming to the changes you made, I even tried it now on my localhost, these are not the exact intended ones, there need to be some more changes to be made... Three things need to be done:
the above code to prevent Status of commit from being displayed.
etc. There are few more deletions need to be done (similar to the above statements). Coming to the backend: You have correctly removed the class, but you also need to remove all the occurrences of the class. You can take a look here: https://github.com/wikimedia/WikiContrib/blob/master/backend/Contraband/query/views.py#L375 The class is being used over there. In the similar manner you need to find all the occurrences of the class and remove them :) |
|
Hi, i'm sorry for I didn't answer too long, but I had some work and study duties. I trying to fix problems that you describe, but I can not connect to server. I always get response code 500. I was generate new API_TOKEN but I have still the same problem. I was try run master branch from main project, but there is the same problem, response code 500. So I was try POST data via Postman and it does not work. I think, issue is on server side. So I can't check how is filters in frontend looks now. Thanx! |
|
Thanks for reporting this @JanStevcik . I updated the server recently. Updating the server takes a lot of effort. There might be some minor error while I was updating. I will check it out and report you by today.... |
|
@JanStevcik the exact reason along with the PR for the server breaking is specified at #81. Once again thanks for reporting the error. I haven't observed it :) |
c7172f1 to
50d7881
Compare
935d24d to
bfd80fe
Compare



Hi, I think I've solved issue #60 and #61.
Hope it's solved good.