-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added status of comment #7375
added status of comment #7375
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7375 +/- ##
==========================================
- Coverage 81.86% 76.92% -4.95%
==========================================
Files 97 97
Lines 5602 5715 +113
==========================================
- Hits 4586 4396 -190
- Misses 1016 1319 +303
|
Looks good @keshavsethi 👍 I am just wondering if the numbers will be of help or rather @jywarren How do moderators know what each status means? Thanks |
<a class="btn btn-outline-secondary btn-sm" href="/admin/publish_comment/<%= comment.id %>"><%= translation('dashboard.moderate.approve') %></a> | ||
<a class="btn btn-outline-secondary btn-sm" href="/admin/mark_comment_spam/<%= comment.id %>"><%= translation('dashboard.moderate.spam') %></a> | ||
<% elsif current_user &. can_moderate? %> | ||
Status:<%= comment.status %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a space here between status: and the number.
Also for the same part that exists above. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Uzay-G Sure, i will add this
Thanks @SidharthBansal, I meant it might be helpful to have the status in works displayed on the ui...do all moderators know what these status mean? But I guess we can follow that up with another issue if needed? |
I think we should do in the same pr.
Imagine the situation of getting one pr deployed to production and Jeff
goes on vacation for Feb. Then we will be able to get the follow-up pr
deployed in month of March.
So, let's do it in the same pr.
Great catch Cess. :<3: ed it
…On Fri, Jan 31, 2020 at 6:48 PM Cess ***@***.***> wrote:
Thanks @SidharthBansal <https://github.com/SidharthBansal>, I meant it
might be helpful to have the status in works displayed on the ui...do all
moderators know what these status mean? But maybe we can follow that up
with another issue if needed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7375?email_source=notifications&email_token=AFAAEQ3X7IPZSHVINIFPV5TRAQQLNA5CNFSM4KMXEVT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKOTXKQ#issuecomment-580729770>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFAAEQ5PYHDQ724CEZRCYR3RAQQLNANCNFSM4KMXEVTQ>
.
|
Cool,
Then on the view call |
@cesswairimu Sure, I will do this |
|
app/models/comment.rb
Outdated
'Not Defined' | ||
end | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, could you please remove this line and remove the space after 'Not defined' so that codeclimate check can pass? We should be ready to merge after that. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cesswairimu @SidharthBansal Why some tests are not successful?
Do i need to change anything else?
Thanks
restarting travis |
<i class="fa fa-ban"></i> | ||
<i class="fa fa-ban"></i> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the indented space as before.Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sssash18 Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests failing doesn't seem relevant to your changes. I think you must close and reopen the PR to restart travis.
Please open up a new PR and close this one. |
Fixes #7362
![Screenshot from 2020-01-28 23-52-21](https://user-images.githubusercontent.com/36025262/73293522-0a794200-422a-11ea-91b1-fcf2cd313f46.png)
![Screenshot from 2020-01-28 23-52-26](https://user-images.githubusercontent.com/36025262/73293527-0cdb9c00-422a-11ea-890c-5df71e66d4d3.png)
here status is showing as 1 and 4 as shown
Thanks!