grisha2217
Active member
Hello, i would like suggest my mini idea about like function:
What does script when we are clicking on like button?
1. User clicks on like button
2 Script makes query to server
3. Script gets query from server
4. Script handles query from server and insert phrase 'not like' instead 'like'
User must wait server response, also user must wait 2-3 seconds if his internet connection is slow, so i suggest next idea:
1. User clicks on like button
2. Script increases likes count (+1) or inserts phrase 'not like'
2 Script makes query to server
3. Script gets query from server
4. Script handles query from server and display error if it needed (in rare cases)
Also i suggest this concept for replies in conversations (get content from redactor and insert it in #messagesList)
What does script when we are clicking on like button?
1. User clicks on like button
2 Script makes query to server
3. Script gets query from server
4. Script handles query from server and insert phrase 'not like' instead 'like'
User must wait server response, also user must wait 2-3 seconds if his internet connection is slow, so i suggest next idea:
1. User clicks on like button
2. Script increases likes count (+1) or inserts phrase 'not like'
2 Script makes query to server
3. Script gets query from server
4. Script handles query from server and display error if it needed (in rare cases)
Also i suggest this concept for replies in conversations (get content from redactor and insert it in #messagesList)
Upvote
0