2016-10-02 16:08:59 +02:00

1.5 KiB

Bugs:

  • when switching channels sometimes messages are persisted in the new channel, the Buffer() in Chat will probably not go further than the latest message. Could be that items are added to List and not cleared when switching channels
  • send message as user, now it will send it as a bot
  • alot of usernames 'unknown' should be a better way to uncover this
  • message creation in input.go and events.go should be made into function CreateMessage
  • restarting the application will always add the latest sent message through RTM in the selected channel
  • uncovering usernames takes too long, should find a better way test without uncovering, if that is the problem
  • GetMessages for a channel can result in json: cannot unmarshal number into Go value of type string https://github.com/nlopes/slack/issues/92
  • set channelname on start
  • incoming message event.go probably need a type switch
  • GetMessages for a channel doesn't have to load messages based on height of chat pane (y). Because message will sometimes span more than one line and we're able to scroll. Only figure out how many messages you want to load.
  • implement the other keys
  • docs at exported functions

Features:

  • channel name in chat pane
  • new message indicator
  • scrolling in chat pane
  • group channels, im channels
  • scrolling in channel pane
  • command mode center text
  • remove unsubscribed or closed channels/groups/im
  • remapping of keys