TiG

TiG

Guide to Threads

  
By:  TiG  •  Tech Meta  •  9 months ago  •  7 comments

Guide to Threads
Enhancements have been made to thread functionality for convenience and performance.

Thread Basics


NewsTalkers uses hierarchic comments to organize long discussions.   First level comments have integer identifies (1,2,… n).   Second level comments have two integers such as 3.4 or 12.7.   The third and final level of comments have three integers such as 3.3.1 or 12.7 5.

First and second level comments define threads.   A thread is defined as the first or second level comment and all of the replies that fall within it.   Thus the first level comment ‘3’ defines a thread that includes 3.1, 3.2, … 3.n comments.    The second level comment ‘3.3’ defines a thread that includes 3.3.1, 3.3.2, … 3.3.n comments.

Each thread can be closed.  Closing a thread hides its contents.   Closing thread 3.3 will cause all comments beginning with 3.3… to be hidden.   Not only does closing allow the user to dismiss comments that are no longer of interest, it helps substantially with performance.   A closed thread will not be downloaded from the server and prepared for presentation by your browser.   Less work for the browser translates into a faster load.

New Features


Enhancements have been made to thread functionality for convenience and performance.   Each feature is discussed below:

Thread Panel


In each article, you will now see a panel consisting of three buttons: 

512

These buttons condition all the comments in the article:

Collapse All Threads will cause the article to show only the first level comments (i.e. those numbered 1,2,3, … n).   This gives you the best load performance, but you will often see a delay if you need to open a thread to see its comments.

Expand All Threads is the other extreme.   This will open every thread in the article.   It can result in a very long load, but every comment will be loaded on your browser and available to you.   This is good if you need to browse (or search through) a bunch of comments.

Automate Threads is middle of the road.  Pressing this button will cause the system to automatically determine which threads to open and close based on timeliness of comments, tracker history, etc.  

It is expected that you will use Expand All Threads only on rare occasions.   Collapse All Threads will be used when an article gets big and you want to just collapse everything and manually open one or a few threads.   The Automate Threads option is the default; all new articles are in ‘Automate Threads’ mode.   You would use this option if you (for some reason) wish to return to the default after pressing Collapse All Threads or Expand All Threads .

Long Thread Suppression


At times, a second level thread can grow very long.   For example, a comment made at 2.1 might trigger a debate that could add hundreds of comments all starting with 2.1…  (e.g. 2.1.134).  In this case, having the ability to close threads does not help.   We need the ability to partially close a thread.

Now, when a thread grows too long, the older (stale) comments will be suppressed.   This means that they will not show on the browser.    Suppression is based on a variety of factors, but ultimately it will be used when a thread passes a size threshold.   Typically, a percentage of the comments will be suppressed.   At times comments will also be suppressed due to age.   For example, comments that are a week old in a thread are very likely to be suppressed.  

The following shows a tiny example of suppressing comments.   ( Here the threshold has been set very low for illustration purposes .)  There are 12 comments starting with 9.1… in this example.   The first 11 are suppressed due to age (they are months old).   The only comment showing is 9.1.12 because it is recent.

original

Suppressed comments can be disclosed by the user.   When suppression is in effect, you will see a button indicating the suppression state and a count of the comments subject to suppression.   In this example, where suppression is in effect, the button you see is the DISCLOSE button.  

128

If you were to click the DISCLOSE button, the 11 suppressed comments would be disclosed and available to you.    At that point the SUPPRESS button will now show.  

128

Clicking this button will suppress (hide) the 11 comments subject to suppression.

[ These buttons use icons ( ► and ▼) that are frequently used on websites to mean ‘content available to disclose’ (►) and ‘content is fully disclosed’ (▼).   ]

Navigating Comments


256

Given the new features, it is possible for comments you are currently tracking to be hidden within closed threads.   This means that as you use the Navigator (on the right) within an article, you could navigate to a hidden comment (one that is in a closed or suppressed thread).

The Navigator will now automatically reveal comments to you in real time as you navigate.   If you, for example, navigate to comment 3.3.2 in a closed thread (3.3), that thread will be revealed and the system will position you to the newly visible 3.3.2 comment.    The revealed thread is only temporarily revealed.   If you want it to show each time you open (or refresh) the article, you will need to open the thread yourself.   Manually opening a thread tells the system to keep the thread open until you change your mind (same is true with manually closing a thread).


Tags

jrBlog - asc
smarty_function_ntUser_is_admin: user_id parameter required
[]
 
TiG
1  author  TiG    9 months ago

Turns out, this is actually a major enhancement but most of the engineering work is not visible.   A lot of new constructs were introduced to improve performance.    But functionally, users now have the means to close and open threads across the entire article in one click and a substantially smarter mechanism for managing what comments are loaded on to one's browser.

 
 
 
ravenwing
2  ravenwing    9 months ago

These are all really good ideas, and the implement of them will be a big benefit for Members. 

I have one question.....

Expand All Threads is the other extreme.   This will open every thread in the article.   It can result in a very long load, but every comment will be loaded on your browser and available to you.   This is good if you need to read (or search through) a bunch of comments.

When this is implemented, will all of the Ignored comments remain Ignored as originally set, or will those comments become visible, as in unignored?

The Long Tread function is a really great idea. 

To be sure, Members will need some time to get up to speed with the new functions, so there may be some confusion at first. 

Is there a working article with these functions workable in them so we can test them out before it is released? That way some of us will be familiar with them before the Members get them?

I can well imagine the technical workmanship required for each of the new functions, and look forward to working with them.

Raven ~

 
 
 
TiG
2.1  author  TiG  replied to  ravenwing @2    9 months ago
When this is implemented, will all of the Ignored comments remain Ignored as originally set, or will those comments become visible, as in unignored?

The ignored comments will remain ignored. 

I s there a working article with these functions workable in them so we can test them out before it is released? 

All of this functionality currently IS implemented right here on Beta.   Every article on Beta has this functionality.   I did some initial testing on Beta using your article: " Spring Is Just Around The Corner ".

 
 
 
ravenwing
2.1.1  ravenwing  replied to  TiG @2.1    9 months ago

Great! Now to do some live testing >>>>>>>>>

 
 
 
TiG
2.1.2  author  TiG  replied to  TiG @2.1    6 months ago
When this is implemented, will all of the Ignored comments remain Ignored as originally set, or will those comments become visible, as in unignored?
The ignored comments will remain ignored. 
I s there a working article with these functions workable in them so we can test them out before it is released? 
All of this functionality currently IS implemented right here on Beta.   Every article on Beta has this functionality.   I did some initial testing on Beta using your article: " Spring Is Just Around The Corner ".

New content

 
 
 
ravenwing
3  ravenwing    9 months ago

OK...I understand the Collapse and Expand function, and they appear to work as described. I tried the Automate function and not sure if it is working as intended. While it shut down some comments it did leave several open.  So I guess it worked as intended.

I also didn't see the Long Thread Suppression function, but, I guess the thread is not long enough to bother with that function on that article. 

This will be a great asset to NT. I feel sure the Members will like these functions once they get the hang of them and see how they work.

Thank you for all your hard work, TiG. It is truly much appreciated. You are going to help NT become a site like no others. jrSmiley_126_smiley_image.png

 
 
 
TiG
3.1  author  TiG  replied to  ravenwing @3    9 months ago

Automate will do its own thing and the user will not really know what decisions it is making.   The net result, however, is to keep the most timely comments available and close down threads that have gone stale.

The long suppression can be found in your article on thread 9.1 .   I set the limit low so that it would go into effect.   Normally, the suppression will not kick in until we reach a lot of comments (e.g. 50).

Thanks Raven!