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

Mutation Translation / Alert Hook #1

Open
nothingismagick opened this issue Feb 26, 2018 · 1 comment
Open

Mutation Translation / Alert Hook #1

nothingismagick opened this issue Feb 26, 2018 · 1 comment

Comments

@nothingismagick
Copy link
Contributor

nothingismagick commented Feb 26, 2018

It seems that we don't have access to either the i18n scope or Quasar from within the mutations.js provider. Some kind of hook will be required to call the Mutator so that we can have feedback on the screen as a chromed alert, instead of just in console.log(). Although not "necessary", I prefer to translate everything from strings instead of hardwiring content into anything. This is why the API replies with a translation primitive instead of a "real response".

We have access to this stuff in common.js - so that's probably where to put it.

@nothingismagick
Copy link
Contributor Author

nothingismagick commented Feb 27, 2018

Of course, following the "single point of authority", the translation strings could also be served by the module registry... but this doesn't solve the problem at hand.

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

No branches or pull requests

1 participant