Skip to content

refactor(html5/chat): Log high scroll activity - #23527

Merged
gustavotrott merged 7 commits into
bigbluebutton:v3.0.x-releasefrom
JoVictorNunes:chat-log-high-scroll-activity
Jul 11, 2025
Merged

gustavotrott merged 7 commits into
bigbluebutton:v3.0.x-releasefrom
JoVictorNunes:chat-log-high-scroll-activity

Conversation

@JoVictorNunes

@JoVictorNunes JoVictorNunes commented Jul 10, 2025 •

Copy link
Copy Markdown
Contributor

What does this PR do?

In order to detect and track down scroll bugs in the chat, this PR adds a mechanism for logging both browser and chat details every time the user's client performs high scroll activity on the chat. Every time the user starts scrolling the chat, it checks the scroll activity on the chat every second and log the details if needed. The calculation is done by considering the number of scroll events per second. A ratio greater than 100 means high scroll activity (based on manual tests).

This PR also implement two improvements related to the 'More messages below' button:

  1. Makes the button float over the message list instead of statically positioning it below the message list which makes the message list shrink when the button is displayed.
  2. Disables scrolling while animating the scroll after clicking the button.

Closes Issue(s)

n/a

Motivation

This will help us narrow down scroll bugs that are often seen in production by users.

How to test

Just go crazy on scrolling the chat, see the browser console to see if there is any log with logCode: high_scroll_activity_in_chat.

More

  • Added/updated documentation

@coderabbitai

coderabbitai Bot commented Jul 10, 2025 •

Copy link
Copy Markdown
Contributor

"""

Walkthrough

The changes introduce scroll activity monitoring and control in the chat message list component by adding state and refs to handle programmatic scroll disabling, scroll event counting, and scroll end detection via animation frame polling. A periodic timer calculates scroll event frequency, logging a warning if excessive scrolling is detected, including detailed chat, user, and device/browser info. The scroll and wheel event handlers are updated to respect the scrolling-disabled state and improve event target usage. The unread notification is moved inside the message list as a child element. Additionally, a data-message-type attribute is added to chat message elements. Browser and device info utilities are enhanced to export version information and improve property access. The unread button style is updated to be sticky at the bottom.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant ChatMessageList
    participant Logger
    participant DeviceInfo
    participant BrowserInfo

    User->>ChatMessageList: scroll event
    ChatMessageList->>ChatMessageList: update sentinel visibility
    ChatMessageList->>ChatMessageList: start scroll activity check (if not running)
    ChatMessageList->>ChatMessageList: initiate scroll end polling
    ChatMessageList->>ChatMessageList: increment scroll event count

    Note over ChatMessageList: Every 1 second (timer)
    ChatMessageList->>ChatMessageList: calculate scroll frequency
    alt frequency > 100/sec
        ChatMessageList->>DeviceInfo: get device info
        ChatMessageList->>BrowserInfo: get browser info
        ChatMessageList->>Logger: log warning with details
    end

    alt scroll end detected (via polling)
        ChatMessageList->>ChatMessageList: reset scroll tracking state
        ChatMessageList->>ChatMessageList: clear interval
    end
Loading

Suggested labels

priority: high

Suggested reviewers

  • gustavotrott
    """

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between baea67a and 8529ad9.

📒 Files selected for processing (1)
  • bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (6 hunks)
🧰 Additional context used
🧠 Learnings (1)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (1)
Learnt from: kepstin
PR: bigbluebutton/bigbluebutton#22200
File: docs/src/components/APITableComponent/index.tsx:79-80
Timestamp: 2025-02-05T20:23:17.109Z
Learning: In the BigBlueButton documentation site components, React key properties are not required for mapped elements as the pages are statically generated and don't require runtime reconciliation.
🧬 Code Graph Analysis (1)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (3)
bigbluebutton-html5/imports/utils/browserInfo.js (1)
  • browserInfo (45-56)
bigbluebutton-html5/imports/utils/deviceInfo.js (1)
  • deviceInfo (19-30)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/styles.ts (1)
  • Content (57-62)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (13)
  • GitHub Check: build-package (others)
  • GitHub Check: build-package (bbb-freeswitch)
  • GitHub Check: build-package (bbb-webrtc)
  • GitHub Check: build-package (bbb-apps-akka)
  • GitHub Check: build-package (bbb-html5)
  • GitHub Check: build-package (bbb-config)
  • GitHub Check: build-package (bbb-fsesl-akka)
  • GitHub Check: build-package (bbb-web)
  • GitHub Check: build-package (bbb-etherpad)
  • GitHub Check: build-package (bbb-playback-record)
  • GitHub Check: build-package (bbb-graphql-server)
  • GitHub Check: build-package (bbb-export-annotations)
  • GitHub Check: build-package (bbb-learning-dashboard)
🔇 Additional comments (10)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (10)

41-42: LGTM! Clean import additions.

The browserInfo and deviceInfo imports are correctly added and will be used for enhanced logging context.


211-211: LGTM! State management for scroll control.

The isScrollingDisabled state properly manages user scroll prevention during programmatic scrolling animations.


404-404: LGTM! Proper scroll animation control.

The scroll disabling mechanism correctly prevents user interaction during programmatic scrolling, improving UX during animations.

Also applies to: 413-413


527-530: LGTM! Well-structured refs for scroll monitoring.

The refs are appropriately typed and will effectively track scroll activity states and intervals.


532-555: LGTM! Efficient scroll end detection.

The recursive pollScrollEndEvent function using requestAnimationFrame is an efficient way to detect when scrolling has stabilized. The 20-frame stability threshold provides good balance between responsiveness and accuracy.


557-567: LGTM! Proper animation frame management.

The function correctly cancels existing animation frames before starting new ones, preventing potential memory leaks and ensuring clean state transitions.


569-608: LGTM! Comprehensive scroll activity monitoring.

The scroll activity monitoring implementation is well-designed with:

  • Proper timing calculations for scroll event frequency
  • Comprehensive logging including message types, user info, and device details
  • Correct threshold value of 100 events per second as per PR objectives
  • Detailed contextual information for debugging scroll-related issues

The logging frequency of every second during high activity aligns with the debugging objectives.


610-617: LGTM! Proper cleanup implementation.

The cleanup effect correctly clears both the interval and animation frame to prevent memory leaks when the component unmounts.


633-676: LGTM! Enhanced scroll and wheel event handling.

The updated event handlers properly:

  • Respect the scroll-disabled state during animations
  • Efficiently track scroll activity with conditional monitoring
  • Integrate scroll end detection with activity monitoring
  • Handle wheel events consistently with scroll events

The implementation maintains good performance by only starting monitoring when needed and properly cleaning up resources.


623-741: LGTM! Improved content structure.

The Content wrapper component provides better layout control for the floating unread notification behavior mentioned in the PR objectives. The key property is correctly added to prevent React reconciliation issues.

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (1)

563-601: Consider adding error handling for DOM queries

The scroll activity monitoring implementation is well-designed. However, consider wrapping the DOM query operation in a try-catch block to prevent potential errors from interrupting the scroll monitoring.

 const startScrollActivityCheck = useCallback(() => {
   userStartedScrollingAt.current = Date.now();

   scrollActivityCheckInterval.current = setInterval(() => {
     if (userStartedScrollingAt.current === null) return;
     const now = Date.now();
     const timeEllapsedInSeconds = (now - userStartedScrollingAt.current) / 1000;
     const scrollRatio = scrollEventCount.current / timeEllapsedInSeconds;
     if (scrollRatio > 50) {
+      try {
         const messageElements = Array.from(document.querySelectorAll('#chat-list [data-message-type]')) as HTMLElement[];
         const messageTypeCount = messageElements.reduce((acc, element) => {
           const { messageType } = element.dataset;
           if (messageType) {
             if (acc[messageType]) {
               acc[messageType] += 1;
             } else {
               acc[messageType] = 1;
             }
           }
           return acc;
         }, {} as Record<string, number | undefined>);

         logger.warn({
           logCode: 'high_scroll_activity_in_chat',
           extraInfo: {
             userLoadedMessagesByType: {
               totalMessages: messageElements.length,
               ...messageTypeCount,
             },
             userId: currentUser?.userId,
             browserName: browserInfo.browserName,
             browserVersion: browserInfo.browserVersion,
             deviceName: deviceInfo.osName,
             deviceVersion: deviceInfo.osVersion,
           },
         }, 'User performed high scroll activity in chat');
+      } catch (error) {
+        logger.error({
+          logCode: 'scroll_activity_check_error',
+          extraInfo: { error },
+        }, 'Error during scroll activity check');
+      }
     }
   }, 1000);
 }, [currentUser?.userId]);
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 06b532d and c720636.

📒 Files selected for processing (4)
  • bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (3 hunks)
  • bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/component.tsx (1 hunks)
  • bigbluebutton-html5/imports/utils/browserInfo.js (4 hunks)
  • bigbluebutton-html5/imports/utils/deviceInfo.js (3 hunks)
🧰 Additional context used
🧠 Learnings (1)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/component.tsx (1)
Learnt from: kepstin
PR: bigbluebutton/bigbluebutton#21894
File: record-and-playback/video/playback/video/js/popcorn.chattimeline.js:72-76
Timestamp: 2024-12-12T20:20:58.714Z
Learning: In `popcorn.chattimeline.js`, the `options.message` field is provided by the recording system and is pre-sanitized, so assigning it directly to `innerHTML` is acceptable.
🧬 Code Graph Analysis (2)
bigbluebutton-html5/imports/utils/browserInfo.js (1)
bigbluebutton-html5/imports/utils/deviceInfo.js (4)
  • window (3-3)
  • window (3-3)
  • BOWSER_RESULTS (4-4)
  • BOWSER_RESULTS (4-4)
bigbluebutton-html5/imports/utils/deviceInfo.js (1)
bigbluebutton-html5/imports/utils/browserInfo.js (2)
  • window (4-4)
  • BOWSER_RESULTS (5-5)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: build-package (others)
  • GitHub Check: build-package (bbb-html5)
  • GitHub Check: build-package (bbb-playback-record)
  • GitHub Check: build-package (bbb-graphql-server)
🔇 Additional comments (11)
bigbluebutton-html5/imports/utils/deviceInfo.js (4)

3-3: LGTM! Consistent with browserInfo.js

The destructuring assignment aligns with the same pattern used in browserInfo.js.


12-12: LGTM! Useful for diagnostics

Adding OS version information enhances the diagnostic capabilities, especially for the scroll activity logging feature.


13-13: Good type safety improvement

Using strict equality is a better practice. Since osName is always a string from Bowser, this change is safe.


25-25: LGTM! Completes the osVersion export

Adding osVersion to the default export maintains consistency with the named export.

bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/component.tsx (1)

804-804: LGTM! Enables message type tracking

The data-message-type attribute enables the scroll monitoring feature to categorize messages by type when logging high scroll activity.

bigbluebutton-html5/imports/utils/browserInfo.js (2)

4-4: LGTM! Consistent destructuring pattern

The destructuring assignment maintains consistency with the updated deviceInfo.js.


14-14: LGTM! Browser version for enhanced diagnostics

Adding browserVersion to the exports provides valuable information for debugging scroll-related issues across different browser versions.

Also applies to: 52-52

bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (4)

40-41: LGTM! Required imports for logging device info

The imports are necessary for the enhanced logging functionality.


521-524: LGTM! Appropriate use of refs for scroll tracking

Using refs for scroll tracking state is the correct approach as these values don't need to trigger re-renders.


526-549: LGTM! Well-implemented scroll end detection

The polling mechanism correctly uses requestAnimationFrame and waits for stability before triggering the scroll end callback. The 20-frame threshold is reasonable.


617-636: LGTM! Proper integration of scroll monitoring

The scroll handler correctly:

  • Uses currentTarget instead of target for consistent scroll position reading
  • Prevents multiple activity check intervals
  • Properly cleans up resources when scrolling ends
  • Maintains existing scroll functionality

@ramonlsouza ramonlsouza added this to the Release 3.0 milestone Jul 10, 2025
@ramonlsouza
ramonlsouza requested a review from gustavotrott July 11, 2025 12:18
@gustavotrott

Copy link
Copy Markdown
Contributor

I was expecting the button "More messages" would no longer impact in the size of the chat messages area.
If you see the video the scroll changes the position when I hide the button:

Screencast.from.2025-07-11.10-17-39.mp4

@gustavotrott

Copy link
Copy Markdown
Contributor

It feels like scrolling with a number greater than 50 is too easy.
Also, I couldn’t find the number of scroll actions in the logs, does count: 1 represent that?
I was expecting to see the number greater than 50 in the logs sent to the server.

Screencast.from.2025-07-11.10-24-23.mp4

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

I was expecting the button "More messages" would no longer impact in the size of the chat messages area. If you see the video the scroll changes the position when I hide the button:

Screencast.from.2025-07-11.10-17-39.mp4

Should be fixed by now:

Screencast.from.2025-07-11.11-20-43.webm

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

It feels like scrolling with a number greater than 50 is too easy. Also, I couldn’t find the number of scroll actions in the logs, does count: 1 represent that? I was expecting to see the number greater than 50 in the logs sent to the server.

Screencast.from.2025-07-11.10-24-23.mp4

I agree that 50 is too low and sensible. I also managed to reproduce it too easily. Just sent two commits including the scroll ration in the logs and increasing the minimum scroll ratio to 100.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (2)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (2)

578-589: Consider performance impact of DOM queries in interval.

The DOM query for message elements runs every second during scroll activity, which could impact performance with large message lists.

Consider memoizing the message type count or using a more efficient approach:

-        const messageElements = Array.from(document.querySelectorAll('#chat-list [data-message-type]')) as HTMLElement[];
+        const messageElements = Array.from(messageListRef.current?.querySelectorAll('[data-message-type]') || []) as HTMLElement[];

624-648: Consider breaking down complex scroll event handler.

The scroll event handler is quite complex, handling multiple concerns (scroll disabling, activity monitoring, sentinel visibility). Consider extracting some logic into separate functions for better maintainability.

Consider extracting the scroll activity monitoring logic:

const handleScrollActivity = useCallback(() => {
  if (scrollActivityCheckInterval.current == null) {
    startScrollActivityCheck();
  }
  startScrollEndEventPolling(() => {
    userStartedScrollingAt.current = null;
    scrollEventCount.current = 0;
    clearInterval(scrollActivityCheckInterval.current);
    scrollActivityCheckInterval.current = undefined;
  });
  scrollEventCount.current += 1;
}, [startScrollActivityCheck, startScrollEndEventPolling]);
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fce419a and baea67a.

📒 Files selected for processing (2)
  • bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (6 hunks)
  • bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/styles.ts (2 hunks)
🧰 Additional context used
🧠 Learnings (1)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (1)
Learnt from: kepstin
PR: bigbluebutton/bigbluebutton#22200
File: docs/src/components/APITableComponent/index.tsx:79-80
Timestamp: 2025-02-05T20:23:17.109Z
Learning: In the BigBlueButton documentation site components, React key properties are not required for mapped elements as the pages are statically generated and don't require runtime reconciliation.
🧬 Code Graph Analysis (2)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/styles.ts (1)
bigbluebutton-html5/imports/ui/stylesheets/styled-components/general.js (1)
  • smPaddingX (5-5)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (1)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/styles.ts (3)
  • Content (57-62)
  • MessageList (15-34)
  • PageWrapper (55-55)
🪛 Biome (1.9.4)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx

[error] 614-614: Missing key property for this element in iterable.

The order of the items may change, and having a key can help React identify which item was moved.
Check the React documentation.

(lint/correctness/useJsxKeyInIterable)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: build-package (others)
  • GitHub Check: build-package (bbb-freeswitch)
  • GitHub Check: build-package (bbb-graphql-server)
  • GitHub Check: build-package (bbb-html5)
  • GitHub Check: build-package (bbb-playback-record)
🔇 Additional comments (11)
bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/styles.ts (4)

11-13: LGTM! Interface correctly supports RTL layout.

The new UnreadButtonProps interface properly supports right-to-left layouts for the unread button positioning.


20-23: LGTM! Positioning changes support floating button behavior.

The width: 100% and position: absolute changes align with the PR objective to make the message list take full available space while allowing the unread button to float over it.


36-53: LGTM! RTL-aware absolute positioning implemented correctly.

The UnreadButton styling correctly implements absolute positioning with RTL support. The conditional left/right positioning based on isRTL prop ensures proper button placement in both LTR and RTL layouts.


57-62: LGTM! Content wrapper provides proper layout structure.

The new Content styled component serves as a proper container wrapper with relative positioning and controlled overflow, supporting the new layout structure.

bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx (7)

41-42: LGTM! Correct imports for device and browser info.

The imports for browserInfo and deviceInfo utilities are properly added for the scroll activity logging feature.


211-211: LGTM! State for controlling scroll behavior.

The isScrollingDisabled state properly controls scroll behavior during programmatic animations.


404-404: LGTM! Scroll disabling during animation prevents conflicts.

The scroll disabling mechanism prevents user scroll events from interfering with programmatic scroll animations, improving the user experience.

Also applies to: 413-413


527-531: LGTM! Refs for scroll monitoring state management.

The refs are properly defined for tracking scroll activity state without causing unnecessary re-renders.


532-555: LGTM! Scroll end detection using animation frames.

The pollScrollEndEvent function uses requestAnimationFrame for efficient scroll end detection with a stability threshold. The recursive approach is appropriate for this use case.


557-567: LGTM! Proper animation frame management.

The startScrollEndEventPolling function correctly cancels previous frames before starting new polling, preventing memory leaks.


614-732: LGTM! Restructured layout with Content wrapper.

The JSX structure correctly implements the new layout with the Content wrapper, moving the unread notification inside the message list container as intended. The MessageList now includes proper event handlers for scroll monitoring.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Automated tests Summary

✅ All the CI tests have passed!

@gustavotrott gustavotrott left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@gustavotrott
gustavotrott merged commit bc07885 into bigbluebutton:v3.0.x-release Jul 11, 2025
@gustavotrott

Copy link
Copy Markdown
Contributor

Example of log I spot in the server:

45.167.104.97 [2025-07-11T17:32:48+00:00] [{"name":"clientLogger","level":40,"logCode":"high_scroll_activity_in_chat","extraInfo":{"userLoadedMessagesByType":{"totalMessages":179,"default":179},"userId":"w_c6zjd3wzxrvw","browserName":"Chrome","browserVersion":"138.0.0.0","deviceName":"Linux","scrollRatio":116.94747274529239},"levelName":"warn","msg":"User performed high scroll activity in chat","time":"2025-07-11T17:32:48.573Z","src":"e.value (https://ae42.live30.imdt.com.br/html5client/bundle.d7e80376eb6b04e1e786.js:2:158614)","v":1,"userInfo":{"meetingId":"id-1752252602916","requesterUserId":"w_c6zjd3wzxrvw","fullname":"Ram\xC3\xB3n Souza","confname":"Daily BBB","externUserID":"w_c6zjd3wzxrvw","logoutUrl":"https://my-server/rooms/4h9-3gs-e30-mam/join","sessionToken":"a84onu78amvvvil8","clientSessionUUID":"6fb40ed4-71eb-44ae-8a8d-5b0007371084"},"clientBuild":1368,"url":"https://my-server/html5client/?sessionToken=a84onu78amvvvil8","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36","count":1}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants