PubNub Live Chat Beta Testing


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? PubNub Live Chat Beta Testing
# 15  
Old 04-28-2019
Current version:

UserCP Screeching Frog 0.7572
  • Adds some new "behind the scenes" functionality and fixed some minor bugs.

Please clear your cache to insure you are running v0.7572

Soon, will change the channel filters to be "live filters", because I don't like how the channel filters are working.

Thanks.
# 16  
Old 04-30-2019
UserCP Screeching Frog 0.7573
  • Reversed the order of the message list in the Live Chat UI. Now the newest message is at the bottom instead of the top.

There was or is a Safari bug (and may still be) where the scroll bar does not follow the updated messages exactly. When I test on Chome (and FF), it is fine, but on Safari, there is a small scroll bar error. That is the reason I reversed it before (and put the most recent messages on the bottom). I will add a switch so the user can choose the order of the list in the UI in a soon release.
# 17  
Old 04-30-2019
UserCP SF version: 0.7574,
  • Change channel filters to work on live data in real time.
# 18  
Old 04-30-2019
UserCP Screeching Frog 0.7575
  • Added checkbox to toggle the message list order in the UI, giving.
  • Used the same color above on the channel filter buttons.

Image
# 19  
Old 05-03-2019
UserCP Screeching Frog 0.7578
  • Changed live chat interval timers for updating user presence to two minutes to reduce network transactions.
  • Made all channel filters default "on" since they are working JS array live filters which do not require a page reload.

UserCP Screeching Frog 0.7579
  • Clear live chat interval timer for user presence when user leaves live chat (reduce network transactions).

UserCP Screeching Frog 0.7580
  • Get presence when message received.

UserCP Screeching Frog 0.7581
  • Get presence when message sent.

UserCP Screeching Frog 0.7582
  • Get presence when mounted before interval timer is set.

Please clear and reload your cache to version 0.7582 to help reduce network transactions (as save money). Thanks.
# 20  
Old 05-04-2019
UserCP Screeching Frog 0.7583
  • Removed setInterval() for user presence and moved user presence method to updated() Vue.js lifecycle hook.

Code:
methods: {
    getHereNow() {
      var that = this;
      pubnub.hereNow(
        {
          channels: ["livechat"],
          includeUUIDs: true,
          includeState: true
        },
        function(status, response) {
          that.psoccupancy = response.totalOccupancy;
          var allusers = "";
          var index = 0;

          response.channels.livechat.occupants.forEach(function(user) {
            if (response.channels.livechat.occupants) {
              that.userarray.push(user);
              if (index == 0) allusers = user.uuid;
              else allusers = allusers + ", " + user.uuid;
            }
            index++;
            that.userlist = allusers;
          });
        }
      );
}

UserCP Screeching Frog 0.7584
  • Added 1 sec debounce() in updated() lifecycle hook for getHerNow() method.


Code:
 updated() {
    debounce(this.getHereNow, 1000);
  },

UserCP Screeching Frog 0.7585
  • Trigger debounce() on leading edge of debounce interval.


Code:
 updated() {
    debounce(this.getHereNow, 1000, true);
  },

UserCP Screeching Frog 0.7586
  • Trigger debounce() on trailing edge of debounce interval.


Code:
 updated() {
    debounce(this.getHereNow, 1000, false);
  },

UserCP Screeching Frog 0.7587
  • Trigger debounce() on leading edge of debounce interval (revert changes).
  • Remove getHereNow() from mounted() lifecycle hook.


Code:
 updated() {
    debounce(this.getHereNow, 1000, true);
  },


UserCP Screeching Frog 0.7589
  • Still tweaking this.getHereNow() in lifecycle hooks.

If the debouncing is working "good enough" and the unnecessary PubNub transactions are reduced without setInterval(), then we are good to go to build out a beta PM replacement on this live chat foundation on a per member basis.

UserCP Screeching Frog 0.7590
  • Added up and down indicator icon to the right of "Toggle Message Order".
# 21  
Old 05-04-2019
UserCP Screeching Frog 0.7591
  • Minor internal changes to styles and CSS only.

This this SF release 0.7591, will not be updating Live Chat (LC) for a few days or longer, since the core features are basically done and there are other big fish to fry. Plus, I need to examine, over a week period, how many PubNub transactions in the current configuration, and if I need to recode to conserve unnecessary PubNub transactions (optimize).

Then, after that is done, need to determine how or if to use the same for user-to-user conversations in place of our aging PM system.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies

2. What is on Your Mind?

Live Chat (Alpha) in UserCP SF 0.7517

Interesting.... I am still working on the kinks for Live Chat here at unix.com using a publish-subscribe API from PubNub. Two days ago while working on it, a new user joined the live chat and asked about how to post a new thread in the forum. Then today, one of the members of the PubNub team... (23 Replies)
Discussion started by: Neo
23 Replies

3. What is on Your Mind?

A Quick Video Overview of PubNub Live Chat @UNIX.com (version 0.7614)

A number of people have asked me to make some videos, so I just got my first condenser microphone and so I can make some amateurish screen casts. I will try to do better in the future. A quick overview of PubNub Live Chat @unix.com The video is best is you set the Quality to HD 1080. The... (0 Replies)
Discussion started by: Neo
0 Replies

4. Solaris

Live Chat For Solaris?

Does anyone know of any online live chat discussion groups for Solaris? If so, please let me know... Thanks! Rob Sandifer (3 Replies)
Discussion started by: RobSand
3 Replies
Login or Register to Ask a Question