seitime-frappe/frappe/templates/discussions
Ankush Menat be8d2b9de0 perf: lazy websocket connection on website
Establishing 1 connection for every website visit is too much.

Only after calling frappe.realtime.on(...) for ANY event, we will
establish a websocket connection.

This is used for handful of things:
- Discussion component
- File upload

Socketio was initially added here: https://github.com/frappe/frappe/pull/6866 this use case no longer exists.

Rarely anywhere website uses realtime.
2023-07-01 12:43:53 +05:30
..
button.html feat: discussions redesign 2022-02-28 16:14:24 +05:30
comment_box.html fix: sidebar cards, dropdown width, button size 2022-03-31 09:46:19 +05:30
discussions.js perf: lazy websocket connection on website 2023-07-01 12:43:53 +05:30
discussions_section.html fix: sidebar cards, dropdown width, button size 2022-03-31 09:46:19 +05:30
reply_card.html refactor: Replace usage of deprecated attribute 2022-06-21 08:00:49 +05:30
reply_section.html fix: sidebar cards, dropdown width, button size 2022-03-31 09:46:19 +05:30
search.html feat: discussions redesign 2022-02-28 16:14:24 +05:30
sidebar.html fix: sidebar cards, dropdown width, button size 2022-03-31 09:46:19 +05:30
topic_modal.html fix: discussions template and time 2021-09-16 12:36:24 +05:30