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

No inline spellcheck on OS X client #225

Closed
4 tasks done
GElliott opened this issue Jul 27, 2016 · 20 comments
Closed
4 tasks done

No inline spellcheck on OS X client #225

GElliott opened this issue Jul 27, 2016 · 20 comments
Labels
Milestone

Comments

@GElliott
Copy link

I confirm (by marking "x" in the [ ] below):


Summary

There is no inline spellcheck in the OS X client.

Steps to reproduce

OS: 10.11.6
Desktop App Version: 1.3.0
Server Version: Unknown, but this is clearly a client issue.

Steps to reproduce:

  1. Enter a channel or direct message mode/window.
  2. Enter misspelled word in the input text box.

Expected behavior

There should be some visual indicator that a word is misspelled (typically with a squiggly red underline). The ability to correct spellings (via right-click) or auto-correct spellings should also be provided. Given that Mattermost is a text-based communication tool, it's bonkers that there are no spellcheck features.

Observed behavior

There is no visual indicator (or otherwise) to indicate that a word is misspelled.

Possible fixes

Leverage the services/APIs already offered by Mac OS X.

@jasonblais
Copy link
Contributor

Thanks @GElliott for the suggestion!

We have an existing Feature Idea suggestion in our forums, please feel free to upvote it and add your thoughts there as well?

@jasonblais
Copy link
Contributor

@razzeee @yuya-oc @timroes @jnugh

Any thoughts on the work needed to implement this feature? It would be a great improvement to user experience, and we have received requests on this feature from several sources.

@jasonblais jasonblais added this to the v1.4.0 milestone Aug 2, 2016
@razzeee
Copy link
Contributor

razzeee commented Aug 2, 2016

Well I can't get the spellchecker package to even compile :/
electron-userland/electron-spellchecker#8

@timroes
Copy link
Contributor

timroes commented Aug 2, 2016

Actually the spell checking is something Mac provides out of the box for native apps and also in browser.

This seems to be an open issue in electron at the moment, that packaged webapps don't do that. See also: electron/electron#3189 (the last comment holds two follow up tickets). So I guess either you need to implement own spell check, what could end up in a lot of work and trouble or wait for electron to fix the appropriate bugs and update then.

@yuya-oc
Copy link
Contributor

yuya-oc commented Aug 2, 2016

If using node-spellchecker, electron-spellcheker or others, we have to take care that they are native modules. Because Multiple CI environments to build the modules for each platforms, Windows, macOS and Linux are necessary.

@akashnimare
Copy link
Contributor

You could use simple-spellchecker. I am using it here in Zulip desktop app. I'll send a PR if it sounds good.

@jasonblais
Copy link
Contributor

That's awesome @akashnimare!

@yuya-oc Would the simple-spellchecker be a native module?

I can look into the integration a little further, but it would be excellent if it was something we could use.

I'm surprised I guess that electron wouldn't have added better support for system spell checking? It appears that the issues referenced above by @timroes haven't had a lot of activity for a while now.

@razzeee
Copy link
Contributor

razzeee commented Aug 3, 2016

Well it seems that electron/atom is using https://github.com/atom/node-spellchecker and therfore doesn't have a real use for it in core. And it's not that easy to implement a spellcheck for some platforms, as stated in the post @timroes links.

@akashnimare
Copy link
Contributor

@razzeee electron-spellchecker looks good but it's fucking hard to compile or even configure it. You need to install electron-builder first then compile it with this -

/node_modules/.bin/electron-rebuild

@yuya-oc
Copy link
Contributor

yuya-oc commented Aug 3, 2016

@jasonblais It seems not a native module. So it can be used in the current CI process.

@razzeee
Copy link
Contributor

razzeee commented Aug 3, 2016

@akashnimare
Would you send a pr please?

@akashnimare
Copy link
Contributor

akashnimare commented Aug 3, 2016

@razzeee I'll give it a try with simple-spellchecker.

@akashnimare
Copy link
Contributor

@razzeee do you guys have any demo instance of mattermost where I can test it out?

@razzeee
Copy link
Contributor

razzeee commented Aug 4, 2016

Not exactly a demo instance, but the official mattermost team server https://pre-release.mattermost.com

@akashnimare
Copy link
Contributor

@razzeee I did try spellchecking using simple-spellchecker. I don't know for some reason it's not working with mattermost.

@jnugh
Copy link
Contributor

jnugh commented Aug 9, 2016

Does simple-spellchecker work with webviews?

@akashnimare
Copy link
Contributor

@jnugh I am not sure but it should work.

@jasonblais
Copy link
Contributor

Thanks @akashnimare for your work here!

I'm really excited about the potential here, as an inline spell check could be a great improvement to user experience

@jasonblais
Copy link
Contributor

Hey @akashnimare, any updates here? Let us know if you have any questions, would love to help out if needed :)

@jasonblais
Copy link
Contributor

Would anyone like to work on this feature, perhaps using the simple-spellchecker mentioned above?

@jasonblais jasonblais removed this from the v1.4.0 milestone Sep 12, 2016
@jasonblais jasonblais added the Feature null label Sep 20, 2016
@jasonblais jasonblais added this to the v3.5.0 milestone Oct 8, 2016
@jasonblais jasonblais removed this from the v3.5.0 milestone Nov 28, 2016
@jasonblais jasonblais added this to the v3.7.0 milestone Feb 21, 2017
@jasonblais jasonblais mentioned this issue Mar 25, 2017
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants