Is there a way to create new entry under account (for example mypreference which takes string) which user can enter and it is stored inside store via plugin framework?
I believe it’s possible. Feel free to play with the power of plugins and let us know when you hit into something that we can look into.
Docs here - https://docs.mattermost.com/administration/plugins.html
Can you please provide some pointers or code sample for the same?
We don’t have the same code sample but you may want to look at on how these plugin works - https://github.com/mattermost/mattermost-plugin-zoom / https://github.com/jwilander/hovercardexample. On how you can replace the UI, call an API , hook with redux store, etc.
Well, these examples doesn’t have custom account setting code hence I inquired about it. Your little help will help us making great plugin which could be reference for many others.
Sorry for that, but you may want to join our developer toolkit channel where others would definitely guide you on your particular use case.