Skip to content

Hackathon Feedback

Roman Volosovskyi edited this page Jun 27, 2017 · 8 revisions

original doc https://gist.github.com/jeluard/8382f764f8d0003fe1b5d6e43dcf1af3

Bots

  • Access contact list of user you are friends with
  • Allow to add a contact
  • Allow whisper to automatically send messages on events
  • Add more RN bindings
  • Allow bots to send messages anytime
  • Add new APIs (XHR, promise)
  • Clarifiy status.command and status.response (and generally semantics)
  • Improve response format
  • Allow to generate QRcodes
  • Add custom components in sendMessage / more formatting
  • Add Token like button support
  • Allow to send and receive images
  • Add event loop support (e.g. react on chain callback)
  • Allow to remove global commands
  • Allow bots to participate in human-to-human/group chat
  • Support multiple clickable (actionable) inline pills in bot messages
  • Fix various bugs with global commands (incorrect formating receiver side, command name not displayed)
  • Allow to set bot status
  • Improve docs of available features
  • Improve APIs consistency

DApp

  • Allow to upload files

Both

  • Allow bots and DApps to communicate (share localStorage?)
  • Deeper DApp / bot interactions
  • Access device APIs (camera, GPS, ...)
  • Improve debugging story - reload, logs, Chrome Devtools (DApp, Bots). Allow webview debugging with release builds.

General

  • Clarify Discover usage
  • Allow to switch network (DApps / bots) from Status. Improve CLI
  • Improve devtools add/update/watch (better feedback, sometimes fail?)

Sources

Questions

  • Access contact list of user you are friends with

What information about users should be included?

  • Allow to add a contact

What exactly this means?

  • Add more RN bindings

Is this about markup?

  • Improve response format

What exactly does this mean?

  • Allow to generate QRcodes

Allow to generate QR's and show them in messages, or?

  • Add custom components in sendMessage / more formatting

Which ones exactly custom components?

  • Support multiple clickable (actionable) inline pills in bot messages

Are there any use cases?

  • Deeper DApp / bot interactions

^ are there use cases?

Event loop related tasks

  • Allow bots to send messages anytime
  • Add new APIs (XHR, promise)
  • Allow whisper to automatically send messages on events
  • Add event loop support (e.g. react on chain callback)

Ready for discussion/implementation

  • Access contact list of user you are friends with

Implementation options:

  1. Passing the whole list in context parameter can be enough (but not the best option)
  2. We could set that list using some method on status-go side, then define js function in otto vm which returns this list (better one)
  • Fix various bugs with global commands (incorrect formating receiver side, command name not displayed)
  • Allow to set bot status

^ that's easy to implement, we just need to add another method like https://github.com/status-im/status-go/blob/bug/whisper-on-geth1.6.1/geth/jail/handlers.go#L117 and handle signal

  • Allow bots and DApps to communicate (share localStorage?)

Sharing of localStorage is not crystal clear thing, we will need to allow access to bot's localStorage only when exactly dapp's url is opened in @browse command. Also it's not clear how this will work in group chats.

  • Improve debugging story - reload, logs, Chrome Devtools (DApp, Bots). Allow webview debugging with release builds.