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

36 lines
1.5 KiB
Markdown

Bugs:
- [x] 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
- [x] send message as user, now it will send it as a bot
- [x] alot of usernames 'unknown' should be a better way to uncover this
- [x] message creation in input.go and events.go should be made into function
CreateMessage
- [x] restarting the application will always add the latest sent message
through RTM in the selected channel
- [x] uncovering usernames takes too long, should find a better way
test without uncovering, if that is the problem
- [x] GetMessages for a channel can result in `json: cannot unmarshal number
into Go value of type string` https://github.com/nlopes/slack/issues/92
- [x] set channelname on start
- [x] 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:
- [x] channel name in chat pane
- [x] new message indicator
- [x] scrolling in chat pane
- [x] group channels, im channels
- [x] scrolling in channel pane
- [x] command mode center text
- [ ] remove unsubscribed or closed channels/groups/im
- [ ] remapping of keys