-
Notifications
You must be signed in to change notification settings - Fork 13
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
comments: record and prevent duplicates #169
Conversation
@openjck - I'm not sure what you mean by "in-source" comments? |
Did this work to add comments on your PR? I can't get it to post comments to my discord-test repo PR from my discord instance. I did check the database, and it's storing comments, but the line number is
|
I think Discord reports the wrong line number in very short stylesheets. I'll open a bug about that. In the meantime, do the correct numbers show up when using a bigger file like this one? |
Looks like it works with the bigger file. I filed #170 for the 1-line bug. I'm going to remove my comment test from this branch and merge it. Can follow up with the tests in a follow-up branch. |
eb0bbfe
to
078302a
Compare
Did we also want to move the |
If you wanted to remove the test, I can follow up with a commit that moves the |
The branch has now dropped the commit with the test. If you want to add a commit that moves the |
I find it very intriguing that the same code can both pass and fail at the same time. |
Updated the code to pass jshint. Yeah I'm not sure why the pr and push builds are different. We'll see how this goes ... |
eb0bbfe
to
74339b8
Compare
comments: record and prevent duplicates
Why was this merged and not #172? |
I thought this was just the rebased version that combined our commits together? Did I merge the wrong one? 😢 |
Yeah, #172 was the follow-up that removed the failing tests. I guess I forgot to close this one in the process. |
This reverts the merge of groovecoder#169, which was obsolete but accidentally left open. We should merge groovecoder#172 instead.
Combines #168 and https://github.com/mdn/discord/compare/master...record-comments-97?expand=1
Testing
The number of comments should not change between step 3 and step 4. No lines should be double-commented.
Todo