-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move command-content to js files #779
Comments
I'd like to take a look at this. |
because commands can be defined by 3rd party dapps |
I spend quite a while by digging into the code base and my current understanding is as follows:
Issues (using the new approach):
@alwx Could you please check if I'm going in the right direction and correct me If I am wrong. |
There is a function called
command-content
, and the purpose of this function is to return a nice one-line preview for commands in chat list:Here you can see
Transaction: 0.51234 ETH
, and this text comes fromstatus.i18n
namespace with the help ofstatus-im.chats-list.views.inner-item/command-content
function. But this text should be placed in the same place where we store all information about commands — in JS files likecommands.js
andconsole.js
The text was updated successfully, but these errors were encountered: