-
Notifications
You must be signed in to change notification settings - Fork 12
Ctrl enter #191
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
Ctrl enter #191
Conversation
Now we will only use $ everywhere other than main document.ready function
A jQuery plugin is used: https://github.com/jackmoore/autosize Fixes SupportFlow#159
|
This looks good, except for 097a0aa:
|
Yeah! I was lazy. I thought if I create a new PR it will cause merge conflict issue because of $-jquery conversion commit Sorry a typo. Does it need to changed or we can leave it as it is this time
I thought since it is actively developed from last three years with more than a dozen contributors, I though we can trust it.
You mean supportflow.min.js? I thought it is external resource with different version system, it will be good to keep it as a different file. Just my opinions..What do you think?
Okay. |
That's true, but mixing PRs can cause problems, too. For example, the ctrl-enter commits are fine, but the auto-resize commit has several issues, so the entire PR is delayed, which can lead to merge conflicts with other PRs. It also makes it harder to find the auto-resize commit in the future, since it's buried in an unrelated PR. I think you should revert the auto-resize commit and make it a new PR, so that we can go ahead and merge the rest of the PR. When you do, add a note to the new one to reference the discussion on this PR, since it will be relevant to the new one.
Not necessarily; the trust is based more on the experience level of the developer(s) and quality of the code, rather than the popularity. Popularity can help a project be more secure because it means more people are inspecting the code, but it's very common for popular projects to have security vulnerabilities, even very severe and relatively obvious ones. It's a pretty small script, though, so read through it to see if you notice any problems. If not, we can go ahead and use it.
It's correct to use |
This feature is now transferred to its own new branch This reverts commit 097a0aa.
Using 1.18.9 as version in dev while 0.3 in production is not possible because of how SupportFlow works. So, I think we should keep it 0.3 in both case. |
It seems okay to me. But I have not developed any jquery plugin so I might miss something. https://github.com/jackmoore/autosize/blob/master/jquery.autosize.js Also I have created a branch for reply-textarea locally so this can be merged now if there are no other issues |
That's fine.
I read through it too and didn't notice any problems, so let's go ahead with it. |
Enable ctrl-enter submission on Unix-based operating systems.
Fixes #188