1. 06 Apr, 2016 1 commit
  2. 05 Apr, 2016 3 commits
    • JC Brand's avatar
      Scroll down when maximizing a chat · 6d766f68
      JC Brand authored
      Otherwise maximized chats are scrolled to the top, showing the oldest messages.
      
      Ideally we'd probably like to remember the scroll position, and show that, but
      this would require some significant refactoring.
      6d766f68
    • JC Brand's avatar
      Hide the minimized chats toggle immediately · 38322c77
      JC Brand authored
      Otherwise the hide event can prevent a consecutive show event.
      This bug becomes apparent when maximizing a minimized chat in a screen with not
      enough space.
      
      Another box will have to be minimized, which causes first a hide and then a
      show event on the minimized chats toggle.
      38322c77
    • JC Brand's avatar
      Some refactoring to fix issues with how/when chat rooms are shown · 94693f2d
      JC Brand authored
      - Don't call show in a room's initialize method (instead let the code be more
        similar to normal chats, in that it should listen to the "show" trigger).
      - Rename chatBoxShouldBeShown to chatBoxMayBeShown
      - Implement auto_join for rooms only once boxes have been fetched already.
      94693f2d
  3. 04 Apr, 2016 3 commits
  4. 02 Apr, 2016 3 commits
  5. 01 Apr, 2016 5 commits
  6. 31 Mar, 2016 11 commits
  7. 30 Mar, 2016 2 commits
    • JC Brand's avatar
      Correct docs on csi_waiting_time · 2341c091
      JC Brand authored
      2341c091
    • JC Brand's avatar
      Some fixes to minimization of chats. Updates #622 · 8e3c97ae
      JC Brand authored
      Don't call trimChats in onChatBoxAdded event. Reduntant because it will be
      called after maximization and after being shown.
      
      Add new method getShownChats and don't trim if only one or zero chats are being
      shown.
      
      Don't trim chats when in responsive mode.
      
      Don't call trimChats unnecessarily in the render method of the trimmed chats
      thingy.
      8e3c97ae
  8. 29 Mar, 2016 8 commits
  9. 28 Mar, 2016 4 commits
    • JC Brand's avatar
      Fixes to trimming of chats. · 2869485c
      JC Brand authored
      - Don't trim if not connected.
      - Move trimChats call to converse-minimized
      - Immediately hide view to avoid race conditions.
      2869485c
    • JC Brand's avatar
      8f601e8c
    • JC Brand's avatar
      Remove ChatBox views when they get closed. · ed4b9a85
      JC Brand authored
      Previously views were only hidden, but not removed. This was an unnecessary
      "optimization" which introduced unnecessary complexity.
      
      Problem solved was that closing minimized chats didn't dereference the model
      for hidden "normal" chat views, causing an exception to be raised when trying
      to log out.
      ed4b9a85
    • JC Brand's avatar
      Bugfix for headline messages. · f353fe86
      JC Brand authored
      Couldn't handle messages with no "from" attribute.
      Some refactoring to add code that checks if a messages is a headline to the
      utils module.
      Updated tests. Add sinon so that we can test returned value of spy.
      f353fe86