GithubHelp home page GithubHelp logo

Spell check as you type about yakyak HOT 68 OPEN

yakyak avatar yakyak commented on June 19, 2024 7
Spell check as you type

from yakyak.

Comments (68)

royts avatar royts commented on June 19, 2024 4

+1

from yakyak.

davibe avatar davibe commented on June 19, 2024 4

reopened cuz the first solution we attempted did not work properly across different operating systems

from yakyak.

ruzz311 avatar ruzz311 commented on June 19, 2024 4

bump

from yakyak.

Sonny-Crockett avatar Sonny-Crockett commented on June 19, 2024 3

Any word on this getting added? Great app too. Love it, this is the only issue for me at this time.

+1

from yakyak.

rjcrouch avatar rjcrouch commented on June 19, 2024 1

I'm more of a designer than a developer but would it be possible to leverage this open source js spell checker?

http://www.javascriptspellcheck.com/Software_License_for_JavaScript_SpellCheck

from yakyak.

aersoares81 avatar aersoares81 commented on June 19, 2024

I don't know why it doesn't let OS X handle spell check like it does elsewhere.

from yakyak.

algesten avatar algesten commented on June 19, 2024

electron/electron#942

from yakyak.

cakebot avatar cakebot commented on June 19, 2024

+1

from yakyak.

TwisterMc avatar TwisterMc commented on June 19, 2024

+1

from yakyak.

tryton-vanmeer avatar tryton-vanmeer commented on June 19, 2024

+1

from yakyak.

zaphod777 avatar zaphod777 commented on June 19, 2024

+1 I love this app but the lack of spell checking is a real pain.

from yakyak.

lihaven avatar lihaven commented on June 19, 2024

+1

from yakyak.

andreykats avatar andreykats commented on June 19, 2024

+1

from yakyak.

georgemastro avatar georgemastro commented on June 19, 2024

+1

from yakyak.

jkuss avatar jkuss commented on June 19, 2024

If this issue will be the duplicate of my request #237 , let me say that I would like OS X autocorrect enabled as well as spell check highlighting.

from yakyak.

pdm-pcb avatar pdm-pcb commented on June 19, 2024

+1

from yakyak.

bmneely avatar bmneely commented on June 19, 2024

+1 to this. Please please please do this.

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

This could be done via using webframe.setSpellProvider

https://github.com/electron/electron/blob/master/docs/api/web-frame.md#webframesetspellcheckproviderlanguage-autocorrectword-provider

tested it with a toy example, which basically showed every word as misspelled.

const {webFrame} = require('electron')
webFrame.setSpellCheckProvider('en-US', true, {
  spellCheck (text) {
    return false;
  }
})

Also tried using node-spellchecker but I was getting errors when loading the module.

Uncaught Error: Module version mismatch. Expected 50, got 48.

Tried rebuilding npm with right --abi=50 but still failed

If someone wants to pick this up it's really easy if they get pass this.

I believe these are the steps required if someone wants to pick this up

  • have it working with node-spellchecker
  • add to context menu suggested words (this has to be done dynamically, see this issue
  • add an option to define the language to be used (until now all that's implemented are true/false configurable options)

edit: @monchote already tried the first option and there's already an example in his pull request ... didn't notice it :)

from yakyak.

monchote avatar monchote commented on June 19, 2024

@averissimo My branch worked just fine in macOS and Linux. I never managed to make it compile from Windows. The main downside of using node-spellchecker is that it requires compiling individually for each platform.

from yakyak.

AlaaAlShammaa avatar AlaaAlShammaa commented on June 19, 2024

+1 to this. Please please please do this.

from yakyak.

cdeneen avatar cdeneen commented on June 19, 2024

+1

from yakyak.

TwisterMc avatar TwisterMc commented on June 19, 2024

This was shared with me. Maybe it helps?

https://github.com/electron-userland/electron-spellchecker
electron-spellchecker is a library to help you implement spellchecking in your Electron applications, as well as handle default right-click Context Menus (since spell checking shows up in them). This library intends to solve the problem of spellchecking in a production-ready, international-friendly way.

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

Will this require to compile libraries under specific operating systems? I believe @monchote had a solution

The problem is that the dictionary libraries needed to be compiled separately in windows / linux / osx (@monchote, correct me if i'm mistaken)

from yakyak.

monchote avatar monchote commented on June 19, 2024

@averissimo That was the main issue, indeed.

from yakyak.

ruzz311 avatar ruzz311 commented on June 19, 2024

I have only been using yakyak for a little bit on mac and I used to think I could live without some spell-checking (either via node or leveraging the system).

Wouldn't support for some be better than none? If it's a problem for some systems they deserve more planning rather than weigh down obtainable solutions. Are there docker containers we could make that we could leverage for builds so native compiling would be less of a problem for the project?

That being said, I've not looked at the code yet but I do really love a lot about this app. I'll try to back read what's already been attempted by @monchote and @averissimo above but I haven't spent a lot of time with the electron api so any suggestions about stumbling blocks for this issue would be appreciated πŸ‘

from yakyak.

tiagonunocosta avatar tiagonunocosta commented on June 19, 2024

+1
If it is necessary I am willing to pay for a version with automatic correction

from yakyak.

bmneely avatar bmneely commented on June 19, 2024

This would also be a feature I'd be very happy to pay for.

from yakyak.

TwisterMc avatar TwisterMc commented on June 19, 2024

There is another thread on spelling that offers up a solution to devs: #683

from yakyak.

stale avatar stale commented on June 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from yakyak.

zaphod777 avatar zaphod777 commented on June 19, 2024

Still hoping to have spellcheck on Mac before the new Allo web client comes out :-/

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

Unfortunately it seems like the person that suggested was wrong (his words)

Last I visited this issue it still required Yakyak to be compiled in different environments, Linux, OSX and Windows. Has something changed related to this?

As we build using Travis-CI.org we would be able to do it in Linux and OSX (if the experiment I'm doing today works)

Question for anyone that knows (hint hint @monchote ) can we compile the necessary libraries for windows using wine?

from yakyak.

tiagonunocosta avatar tiagonunocosta commented on June 19, 2024

Thank you AndrΓ©

I already use yakyak for a few months, but what I need most is not to allow automatic correction of spelling mistakes.

I've been following the forum, but can not figure out how to enable this feature.

I'm using MAc

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

the feature has not been implemented yet, as it requires an infrastructure that supports all 3 main systems OSX, Windows and Linux.

Currently we are building only in Linux for all binaries. (just yesterday we successfully built on both linux and mac osx, thus my question on the comment before :)

That could allows us to actually use spellchecker, but it's still an if, as we would need someone to write/adapt @monchote code and send a pull request

from yakyak.

monchote avatar monchote commented on June 19, 2024

When I worked on this I managed to compile and make it work on both Mac and Linux. I set up a Windows 10 VM and spent many ours trying to build it there with no success.

I'm not sure what the current state is as I haven't looked into it for a while.

Maybe it's worth adding the code and having it work on Mac and Linux even if it doesn't do much on Windows until a solution is found?

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

What is the process to build the code with spell check support in the #271 pull request?

I.e. any external commands, or this is already done when building the spellchecker module?

from yakyak.

monchote avatar monchote commented on June 19, 2024

Nothing special as far as I remember.

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

ok, so what was failing in windows? compiling the code or installing the modules?

from yakyak.

monchote avatar monchote commented on June 19, 2024

Setting up the environment and building the project. It was a bit of a nightmare.

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

LoL you make it sound soooo awesome!! :p

We either need to do it via wine or using a windows CI (continuous integration) service

Otherwise it won't be an automated process which sucks

Thanks for the continuous feedback, I'm sure that sooner or later your code will be merged!!

from yakyak.

stale avatar stale commented on June 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from yakyak.

nickkeyzer avatar nickkeyzer commented on June 19, 2024

+1 - I use this app every day on Linux. Would love to have the spellcheck functionality.

from yakyak.

nokaoii avatar nokaoii commented on June 19, 2024

+1

from yakyak.

andreykats avatar andreykats commented on June 19, 2024

+1

from yakyak.

KevDoy avatar KevDoy commented on June 19, 2024

+1

from yakyak.

jonathanhagler avatar jonathanhagler commented on June 19, 2024

+1

from yakyak.

lmgutman avatar lmgutman commented on June 19, 2024

+1

from yakyak.

PrestonMonteWest avatar PrestonMonteWest commented on June 19, 2024

+1

from yakyak.

exoticDFT avatar exoticDFT commented on June 19, 2024

+1

from yakyak.

asenchristov avatar asenchristov commented on June 19, 2024

+1

from yakyak.

plinkowski avatar plinkowski commented on June 19, 2024

Please add spell check for Mac OSX

from yakyak.

zaphod777 avatar zaphod777 commented on June 19, 2024

Please add spell check for Mac OSX

I'm just going to go out on a limb and say it isn't going to happen.

from yakyak.

adampatterson avatar adampatterson commented on June 19, 2024

Please Please Please πŸ˜€

from yakyak.

craigthings avatar craigthings commented on June 19, 2024

I'll throw on another vote. Switched to Firefox and I need a dedicated desktop app. This works fantastically but I need me some spellcheck!

Why not just throw in something like electron-spellchecker ?

+1!

from yakyak.

Jeager2 avatar Jeager2 commented on June 19, 2024

Spellcheck and auto-correct has been requested since 2015? Really?
+1 !
+1000 !

from yakyak.

jessejoe avatar jessejoe commented on June 19, 2024

Looks like with the upgrade to Electron v9 in YakYak 1.5.8, spellcheck is enabled now! At least I'm seeing it on macOS:

image

from yakyak.

zaphod777 avatar zaphod777 commented on June 19, 2024

from yakyak.

adampatterson avatar adampatterson commented on June 19, 2024

Amazing!

from yakyak.

adampatterson avatar adampatterson commented on June 19, 2024

I may have jumped to conclusions, I can see typos, but there isn't a suggested spelling available.

But at least I can see a mistake quicker.

image

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

Good news for this issue as I just merged an implementation of spell check that electron has (what @jessejoe and @adampatterson mentioned) #1201

This is now "implemented" on v1.5.10-beta-rolling

I've tested on Ubuntu (linux) all the bullet points below, but I'd like to ask users to test if it works as expected in Windows, MacOSX and Linux

Checklist on what should work:

  • It's off by default... red underline no longer appears
  • Context menu has options to turn it on
  • It actually corrects misspellings
  • Turns on and off
  • Language switching works

ps. I couldn't find a way to map locale to language string (pt-PT -> Portuguese) so unless someone creates a pull request, that's how it's staying.

image

image

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

I'd really appreciate if someone could check if this works in platforms other than Linux :)

from yakyak.

asenchristov avatar asenchristov commented on June 19, 2024

Hi,
on Kubuntu 20.04 LTS, v1.5.10: works, mostly:
if you go to the menu, then help --> about and then return to conversation, then right clicking will not work properly, it will attempt do display menu for spellchecking but fails and displays only "Copy".

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

Wow @asenchristov !! thanks for discovering that.

Corrected and already available in v1.5.10-beta-rolling

from yakyak.

jessejoe avatar jessejoe commented on June 19, 2024

@averissimo v1.5.10-beta-rolling is stuck at "Connecting" on macOS, so I'm unable to test. 1.5.9 connects fine, I wonder if it's missing one of the fixes.

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

I inadvertently made a beta build that was buggy as hell and reverted in a few minutes.

I've just tested with the deb and linux tar file and they both work.

@jessejoe Can you check now?

from yakyak.

jessejoe avatar jessejoe commented on June 19, 2024

@averissimo seems to work! Although I'm not sure the context menu is the best place to put the toggle for on/off, I never would've looked there for it.

from yakyak.

averissimo avatar averissimo commented on June 19, 2024

Do you have any suggestions?

I placed it there as it's likely to be accidentally discovered

from yakyak.

jessejoe avatar jessejoe commented on June 19, 2024

I think if it was enabled by default, it's an OK place. Otherwise an option in one of the app menus.

from yakyak.

serk12 avatar serk12 commented on June 19, 2024

Hi,
on Kubuntu 20.04 LTS, v1.5.10: works, mostly:
if you go to the menu, then help --> about and then return to conversation, then right clicking will not work properly, it will attempt do display menu for spellchecking but fails and displays only "Copy".

I have the same problem in ubuntu 20.04 and also I can't find the spell checker option.

from yakyak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.