Skip to content
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

Issue #24 #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Issue #24 #30

wants to merge 3 commits into from

Conversation

forsd
Copy link

@forsd forsd commented Oct 14, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 56.29% when pulling 4774d5c on forsd:Issue_#24 into eaac03b on ankitjain28may:master.

@ankitjain28may
Copy link
Owner

@forsd Are you able to set up this project on your system ?

@forsd
Copy link
Author

forsd commented Oct 14, 2017

Sure.

@ankitjain28may
Copy link
Owner

Is it working perfectly on your system ?

@forsd
Copy link
Author

forsd commented Oct 14, 2017

Register, login, chat working. No errors occured.

@ankitjain28may
Copy link
Owner

Anything that isn't working, You can open issues here, I'll check out the PR tomorrow, Thanks :)

@forsd
Copy link
Author

forsd commented Oct 17, 2017

Will you merge?

@ankitjain28may
Copy link
Owner

ankitjain28may commented Oct 17, 2017

@forsd Yes, Actually I am unable to check it out, will surely check it asap.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 55.573% when pulling 91c8c83 on forsd:Issue_#24 into eaac03b on ankitjain28may:master.

@ankitjain28may
Copy link
Owner

@forsd Is this PR contains 'Show typing issue' ?

@forsd
Copy link
Author

forsd commented Oct 20, 2017

No. This contains only youtube video embedding. The second contains typing issue.

@ankitjain28may
Copy link
Owner

@forsd, This also contains the Typing commits check out the commits..

@ankitjain28may
Copy link
Owner

@forsd I have checked, Youtube embedding is working great but typing isnt working.. so either remove the lastest(typing) commit so i will merge so fixed typing as well

var messageText = $("<div></div>").addClass("message-text");

// Embed YouTube video if link presents in message.
var youtube_link = data[i].message.indexOf('https://www.youtube.com');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@forsd You need to check it for youtube short url like https://youtu.be/* and one more thing, pls put this link in <a> tag so user can opn this link directly in the new tab also

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK will do.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check it.

@forsd
Copy link
Author

forsd commented Oct 20, 2017

Typing removed from this PR.

@ankitjain28may
Copy link
Owner

@forsd I have requested for some changes.

@ankitjain28may
Copy link
Owner

@forsd Are you fixing this ?

@forsd
Copy link
Author

forsd commented Oct 24, 2017

Sure.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.5%) to 56.774% when pulling dad5312 on forsd:Issue_#24 into eaac03b on ankitjain28may:master.

@@ -203,13 +203,21 @@ function updateConversation(data) {
var messageText = $("<div></div>").addClass("message-text");

// Embed YouTube video if link presents in message.
var result = anchorme(data[i].message.replace(/<(?:.|\n)*?>/gm, ''), { attributes:[ { name:"target", value:"_blank" } ] });
var youtube_link = data[i].message.indexOf('https://www.youtube.com');
if(youtube_link !== -1) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather repeating the same code again and again, it would be better to make a new function and cal that function on getting link similar to http://youtube.com or http://youtu.be/ else will send message. What do you say ??

@ankitjain28may
Copy link
Owner

@forsd Are you going to fix this ?

@forsd
Copy link
Author

forsd commented Nov 2, 2017

@ankitjain28may Sure I will

@ankitjain28may
Copy link
Owner

@forsd Are you still working ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants