-
Notifications
You must be signed in to change notification settings - Fork 401
Prototype comments without websocket & with toggle on polling #1863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
0e2a807 to
5db2c44
Compare
| <Thread key={thread.id} thread={thread} className="thread" /> | ||
| ))} | ||
| <Composer className="composer" /> | ||
| <Composer className="composer" disabled={false}/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not work, explore why
| } | ||
|
|
||
|
|
||
| export function useIsVisible(ref: React.RefObject<Element>): boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not work yet
| <ComposerInsertMentionEditorAction | ||
| label={$.COMPOSER_INSERT_MENTION} | ||
| disabled={isDisabled} | ||
| disabled={false} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dirty enable logic, understand why composer doesn't allow focus
Description
This aims to setup a prototype for an application which renders a list of many rooms in a single page (up to 500). Only a few rooms are in view at a time (roughly 25).
Each room must have the comments functionality available. It is acceptable for comments to not be live and be polled at an interval.
To achieve that, two things must be done:
What's needed for
autoConnectto work well:What's needed for
hiddenEnablePolling:hiddenEnablePolling