Skip to content
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

feat: Members Query on Conversation List #1343

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

alexrisch
Copy link
Contributor

@alexrisch alexrisch commented Dec 11, 2024

Updates Group Members on conversation list to use Queries
Updates Group Avatar to remove old props
Updates Group members queries to use config pattern

Summary by CodeRabbit

  • New Features

    • Enhanced data-fetching mechanism for group members.
    • Introduced a new query for fetching conversation list members.
  • Bug Fixes

    • Improved clarity of subtitle rendering in group conversation titles.
  • Refactor

    • Simplified the GroupAvatar component by removing unnecessary complexity.
    • Streamlined state management in useGroupMembers and related hooks.
    • Consolidated query configuration logic for fetching group members.
  • Documentation

    • Updated import statements to reflect changes in component and hook usage.

Updates Group Members on conversation list to use Queries
Updates Group Avatar to remove old props
Updates Group members queries to use config pattern
@alexrisch alexrisch requested a review from a team as a code owner December 11, 2024 19:08
Copy link
Contributor

coderabbitai bot commented Dec 11, 2024

Walkthrough

The pull request introduces significant changes across multiple components and hooks related to group avatars and member management. Key modifications include the removal of the onConversationListScreen property from GroupAvatarProps, the transition from local state management to a query-based approach in useGroupConversationListAvatarInfo, and enhancements to the useGroupMembersQuery functionality. The rendering logic in GroupConversationTitle has been simplified, and the useGroupMembers function has been streamlined by removing unnecessary parameters. These changes collectively aim to simplify data handling and improve the clarity of component logic.

Changes

File Path Change Summary
components/GroupAvatar.tsx Removed onConversationListScreen from GroupAvatarProps; simplified useGroupMembers call in GroupAvatar.
features/conversation-list/useGroupConversationListAvatarInfo.ts Replaced local state management with useConversationListMembersQuery for fetching group members.
features/conversations/components/GroupConversationTitle.tsx Changed subtitle rendering from logical AND to ternary operator for clarity.
hooks/useGroupMembers.ts Removed queryOptions parameter from useGroupMembers function signature.
queries/useGroupMembersQuery.ts Introduced fetchGroupMembers function; refactored query functions to use groupMembersQueryConfig for better organization.

Possibly related PRs

Suggested labels

3.0.0

Suggested reviewers

  • lourou

🐰 In the meadow, changes bloom,
Group avatars shed their gloom.
With simpler hooks and clearer views,
Our members shine, no more to lose!
A hop, a skip, a joyful cheer,
For streamlined code, we hold so dear!
🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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.
    • Generate unit testing code for this file.
    • 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 generate unit testing code for this file.
    • @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 generate unit testing code.
    • @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.

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. (Experiment)
  • @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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Outside diff range and nitpick comments (4)
hooks/useGroupMembers.ts (1)

18-18: Consider adding error retry configuration

Since this is a critical group data fetch, consider adding retry configuration to handle temporary network issues.

-  } = useGroupMembersQuery(account, topic);
+  } = useGroupMembersQuery(account, topic, {
+    retry: 3,
+    retryDelay: (attemptIndex) => Math.min(1000 * 2 ** attemptIndex, 30000),
+  });
features/conversation-list/useGroupConversationListAvatarInfo.ts (1)

Line range hint 27-43: Consider extracting member data transformation

The complex member data transformation logic could be moved to a separate utility function for better maintainability and reusability.

+const transformMemberData = (
+  data: ReturnType<typeof useInboxProfileSocialsQueries>,
+  memberInboxIds: InboxId[]
+) => 
+  data
+    .map(
+      ({ data: socials }, index) =>
+        socials && {
+          inboxId: memberInboxIds[index],
+          address: getPreferredInboxAddress(socials) ?? "",
+          uri: getPreferredInboxAvatar(socials),
+          name: getPreferredInboxName(socials),
+        }
+    )
+    .filter(Boolean) as {
+    inboxId: InboxId;
+    address: string;
+    uri: string | undefined;
+    name: string;
+  }[];

 const memberData = useMemo(
-  () =>
-    data
-      .map(...)
-      .filter(Boolean) as {...}[],
+  () => transformMemberData(data, memberInboxIds),
   [data, memberInboxIds]
 );
features/conversations/components/GroupConversationTitle.tsx (1)

Line range hint 101-113: LGTM! Consider extracting subtitle rendering logic

The change from && to ternary operator improves the null handling for the subtitle. However, the subtitle rendering logic could be extracted into a separate memoized component or function to improve readability and reusability.

Consider extracting the subtitle logic:

+ const SubtitleContent = memo(({ memberText, requestsCount }: { 
+   memberText: string, 
+   requestsCount: number 
+ }) => (
+   <Text preset="formLabel">
+     {memberText}
+     {requestsCount > 0 && (
+       <>
+         {" • "}
+         <Text preset="formLabel" color="action">
+           {translate("pending_count", { count: requestsCount })}
+         </Text>
+       </>
+     )}
+   </Text>
+ ));

  return (
    <ConversationTitleDumb
      title={groupName ?? undefined}
      onLongPress={onLongPress}
      onPress={onPress}
-     subtitle={
-       displayMemberText ? (
-         <Text preset="formLabel">
-           {memberText}
-           {requestsCount > 0 && (
-             <>
-               {" • "}
-               <Text preset="formLabel" color="action">
-                 {translate("pending_count", { count: requestsCount })}
-               </Text>
-             </>
-           )}
-         </Text>
-       ) : null
-     }
+     subtitle={displayMemberText ? 
+       <SubtitleContent 
+         memberText={memberText} 
+         requestsCount={requestsCount}
+       /> : null
+     }
      avatarComponent={avatarComponent}
    />
  );
components/GroupAvatar.tsx (1)

Line range hint 201-223: Consider extracting member processing logic

The memoizedAndSortedGroupMembers logic handles multiple responsibilities (filtering, transformation, and sorting). Consider extracting this into a separate hook or utility function for better maintainability and testability.

+ type ProcessedMember = {
+   address: string;
+   uri?: string;
+   name?: string;
+ };
+
+ const useProcessedGroupMembers = (
+   groupMembers: any,
+   profiles: any,
+   account: string | null,
+   excludeSelf: boolean
+ ): ProcessedMember[] => {
+   return useMemo(() => {
+     if (!groupMembers) return [];
+     const members = groupMembers.ids.reduce(
+       (acc: ProcessedMember[], id) => {
+         const member = groupMembers.byId[id];
+         const address = member.addresses[0].toLowerCase();
+         const senderSocials = getProfile(address, profiles)?.socials;
+         const shouldExclude =
+           excludeSelf && account && address === account.toLowerCase();
+         if (shouldExclude) return acc;
+         acc.push({
+           address,
+           uri: getPreferredAvatar(senderSocials),
+           name: getPreferredName(senderSocials, address),
+         });
+         return acc;
+       },
+       []
+     );
+     return members.sort((a, b) => (a.uri ? -1 : 1));
+   }, [groupMembers, profiles, account, excludeSelf]);
+ };

  const GroupAvatar: React.FC<GroupAvatarProps> = ({
    // ...props
  }) => {
-   const memoizedAndSortedGroupMembers = useMemo(() => {
-     // ... existing logic
-   }, [groupMembers, profiles, account, excludeSelf]);
+   const memoizedAndSortedGroupMembers = useProcessedGroupMembers(
+     groupMembers,
+     profiles,
+     account,
+     excludeSelf
+   );
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 7cda683 and f56b0a8.

📒 Files selected for processing (5)
  • components/GroupAvatar.tsx (1 hunks)
  • features/conversation-list/useGroupConversationListAvatarInfo.ts (1 hunks)
  • features/conversations/components/GroupConversationTitle.tsx (2 hunks)
  • hooks/useGroupMembers.ts (1 hunks)
  • queries/useGroupMembersQuery.ts (3 hunks)
🔇 Additional comments (5)
queries/useGroupMembersQuery.ts (2)

18-35: LGTM: Well-structured error handling

The fetchGroupMembers function properly handles the case when group is undefined/null by returning an empty data structure, preventing potential runtime errors.


73-73: Verify the inverse condition for image URL

The query is enabled only when imageUrlSquare is absent. Please verify if this is the intended behavior, as it might prevent fetching members for groups with avatars.

✅ Verification successful

Let me search for the implementation of this query to understand its purpose better.


Let me check how the group members are used in the UI components to understand if this condition is correct.


Based on the code analysis, I can now provide the final response:

The condition for fetching group members is correct

The query is intentionally enabled only when imageUrlSquare is absent because it's used as a fallback for group avatars. When a group has no custom image (imageUrlSquare is null), the UI components (GroupConversationTitle, V3GroupConversationListItem, PinnedV3GroupConversation) display a composite avatar made up of group members' avatars using the GroupAvatarDumb component. This is a common pattern where member avatars are only needed for creating a fallback group avatar display.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for other uses of imageUrlSquare to verify the condition
rg "imageUrlSquare" -A 3 -B 3

Length of output: 8394


Script:

#!/bin/bash
# Search for the implementation of groupMembersQueryConfig
ast-grep --pattern 'const groupMembersQueryConfig = $_'

Length of output: 659


Script:

#!/bin/bash
# Search for components using group members data
rg "GroupAvatarDumb" -A 5 -B 5

Length of output: 7637

hooks/useGroupMembers.ts (1)

Line range hint 11-45: LGTM: Clean hook implementation

The hook provides a clean interface for group member operations, properly combining query and mutation capabilities.

features/conversation-list/useGroupConversationListAvatarInfo.ts (1)

Line range hint 1-43: LGTM: Clean transition to query-based approach

The switch from local state to query-based approach is well implemented, with proper data transformation and memoization.

components/GroupAvatar.tsx (1)

197-197: LGTM! Verify query behavior across different screens

The simplification of the useGroupMembers hook call improves code clarity. However, since the onConversationListScreen prop was removed, we should verify that this doesn't affect the query behavior in different contexts.

Let's verify the usage of useGroupMembers across the codebase:

✅ Verification successful

Let me verify the hook implementation to ensure the removal of onConversationListScreen parameter is safe.


Let me try a different approach to find the hook implementation.


Let me check the underlying query implementation to complete the verification.


Removal of onConversationListScreen prop is safe

The code analysis reveals that while there are separate query hooks (useGroupMembersQuery, useGroupMembersConversationScreenQuery, useConversationListMembersQuery), the useGroupMembers hook internally uses only useGroupMembersQuery. The removal of the onConversationListScreen prop is safe because:

  1. The base useGroupMembers hook was already using the generic query implementation
  2. All current usages across the codebase use the same simple signature without screen-specific parameters
  3. Screen-specific optimizations are handled at the query level, not in the consumer hook
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any remaining usage of onConversationListScreen and useGroupMembers
# to ensure the removal doesn't break existing functionality

echo "Checking for any remaining onConversationListScreen usage..."
rg "onConversationListScreen"

echo "Checking useGroupMembers usage patterns..."
ast-grep --pattern 'useGroupMembers($$$)'

Length of output: 1193


Script:

#!/bin/bash
# Check the implementation of useGroupMembers hook
echo "Checking useGroupMembers hook implementation..."
rg -A 10 "export function useGroupMembers"

Length of output: 149


Script:

#!/bin/bash
# Find the file containing useGroupMembers hook definition
echo "Finding useGroupMembers hook file..."
fd "useGroupMembers" --type f

echo "Checking hook implementation..."
ast-grep --pattern 'const useGroupMembers = $$$'
ast-grep --pattern 'function useGroupMembers($$$)'

Length of output: 2520


Script:

#!/bin/bash
# Check the implementation of useGroupMembersQuery
echo "Checking query implementation..."
cat queries/useGroupMembersQuery.ts

Length of output: 3172

group: GroupWithCodecsType | undefined | null,
enabled: boolean
): UseQueryOptions<GroupMembersSelectData> => ({
queryKey: groupMembersQueryKey(account, group?.topic!),
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Remove non-null assertion operator

The non-null assertion on group?.topic! could lead to runtime errors if group is undefined. Consider using optional chaining or adding a type guard.

-  queryKey: groupMembersQueryKey(account, group?.topic!),
+  queryKey: groupMembersQueryKey(account, group?.topic ?? ''),
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
queryKey: groupMembersQueryKey(account, group?.topic!),
queryKey: groupMembersQueryKey(account, group?.topic ?? ''),

Comment on lines +16 to +19
const { data: membersData } = useConversationListMembersQuery(
currentAccount,
group
);
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Query enabled condition could prevent member data fetching

The verification reveals that useConversationListMembersQuery is indeed conditionally enabled based on !!group && !group.imageUrlSquare. This means the query will not fetch member data when:

  • group is null/undefined, or
  • group.imageUrlSquare exists

This could be problematic as member data might be needed regardless of whether a group has an image URL or not, especially since the hook useGroupConversationListAvatarInfo appears to use this data for avatar-related functionality.

  • queries/useGroupMembersQuery.ts: Consider removing the !group.imageUrlSquare condition from the enabled check unless there's a specific reason why member data is not needed when a group image exists.
🔗 Analysis chain

Verify query enabled condition

This query's enabled condition is tied to the absence of imageUrlSquare. Ensure this doesn't prevent necessary member data fetching.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check for potential race conditions or missing data scenarios
rg "imageUrlSquare.*members" -A 5 -B 5

Length of output: 40


Script:

#!/bin/bash
# Let's check the implementation of useConversationListMembersQuery
ast-grep --pattern 'export function useConversationListMembersQuery($_) {
  $$$
}'

# Also check the usage context of this hook
rg "useConversationListMembersQuery" -A 5 -B 5

Length of output: 2432

Copy link
Contributor

Performance Comparison Report

  • Current: 5a12a7b - 2024-12-11 19:13:44Z
  • Baseline: release/3.0.0 (7cda683) - 2024-12-11 19:12:23Z

Significant Changes To Duration

There are no entries

Meaningless Changes To Duration

Show entries
Name Type Duration Count
Avatar Image 10 runs render 1.3 ms → 1.4 ms (+0.1 ms, +7.7%) 1 → 1
Avatar Image 50 runs render 1.1 ms → 1.1 ms (-0.0 ms, -3.6%) 1 → 1
Empty Avatar 10 runs render 1.0 ms → 0.9 ms (-0.1 ms, -10.0%) 1 → 1
Empty Avatar 50 runs render 0.7 ms → 0.8 ms (+0.1 ms, +11.4%) 1 → 1
Text Component with color prop - 10 runs render 0.2 ms → 0.4 ms (+0.2 ms, +100.0%) 🔴 1 → 1
Text Component with default props - 10 runs render 0.2 ms → 0.2 ms 1 → 1
Text Component with translation key - 10 runs render 0.0 ms → 0.2 ms (+0.2 ms, +Infinity%) 🔴 1 → 1
Text Component with weight and size - 10 runs render 0.0 ms → 0.2 ms (+0.2 ms, +Infinity%) 🔴 1 → 1
Show details
Name Type Duration Count
Avatar Image 10 runs render Baseline
Mean: 1.3 ms
Stdev: 0.5 ms (37.2%)
Runs: 2 1 1 1 1 2 1 2 1 1
Warmup runs: 3

Current
Mean: 1.4 ms
Stdev: 0.5 ms (36.9%)
Runs: 2 1 1 2 2 1 1 2 1 1
Warmup runs: 2
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:
Avatar Image 50 runs render Baseline
Mean: 1.1 ms
Stdev: 0.3 ms (27.5%)
Runs: 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1
Warmup runs: 1

Current
Mean: 1.1 ms
Stdev: 0.4 ms (35.2%)
Runs: 1 1 1 1 2 2 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 2 1 2 1 1 1
Warmup runs: 2
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Render issues:
Empty Avatar 10 runs render Baseline
Mean: 1.0 ms
Stdev: 0.5 ms (47.1%)
Runs: 1 1 1 1 2 0 1 1 1 1
Warmup runs: 3

Current
Mean: 0.9 ms
Stdev: 0.3 ms (35.1%)
Runs: 1 1 1 1 1 1 1 1 0 1
Warmup runs: 3
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:
Empty Avatar 50 runs render Baseline
Mean: 0.7 ms
Stdev: 0.5 ms (66.1%)
Runs: 0 1 0 1 0 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 0 1 0 1 1 1 1 1 0 1 1 0 0 1 1 1 0 1 0 0 1 0 1
Warmup runs: 1

Current
Mean: 0.8 ms
Stdev: 0.4 ms (53.6%)
Runs: 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 0 1 0 0 1 1 1 1 0 1 0 1
Warmup runs: 0
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Render issues:
Text Component with color prop - 10 runs render Baseline
Mean: 0.2 ms
Stdev: 0.4 ms (210.8%)
Runs: 0 0 0 0 1 0 0 0 0 1
Warmup runs: 0

Current
Mean: 0.4 ms
Stdev: 0.5 ms (129.1%)
Runs: 0 0 0 1 1 0 0 0 1 1
Warmup runs: 0
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:
Text Component with default props - 10 runs render Baseline
Mean: 0.2 ms
Stdev: 0.4 ms (210.8%)
Runs: 0 0 0 0 0 0 0 1 1 0
Warmup runs: 1

Current
Mean: 0.2 ms
Stdev: 0.4 ms (210.8%)
Runs: 0 1 0 1 0 0 0 0 0 0
Warmup runs: 0
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:
Text Component with translation key - 10 runs render Baseline
Mean: 0.0 ms
Stdev: 0.0 ms (NaN%)
Runs: 0 0 0 0 0 0 0 0 0 0
Warmup runs: 1

Current
Mean: 0.2 ms
Stdev: 0.4 ms (210.8%)
Runs: 0 0 0 1 0 0 1 0 0 0
Warmup runs: 1
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:
Text Component with weight and size - 10 runs render Baseline
Mean: 0.0 ms
Stdev: 0.0 ms (NaN%)
Runs: 0 0 0 0 0 0 0 0 0 0
Warmup runs: 0

Current
Mean: 0.2 ms
Stdev: 0.4 ms (210.8%)
Runs: 0 0 0 0 0 0 0 1 1 0
Warmup runs: 0
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Render Count Changes

There are no entries

Render Issues

There are no entries

Added Scenarios

There are no entries

Removed Scenarios

There are no entries

Generated by 🚫 dangerJS against f56b0a8

Copy link
Collaborator

@technoplato technoplato left a comment

Choose a reason for hiding this comment

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

lgtm

@alexrisch alexrisch merged commit 7187f3f into release/3.0.0 Dec 12, 2024
6 checks passed
@alexrisch alexrisch deleted the ar/members-query branch December 12, 2024 03:06
technoplato pushed a commit that referenced this pull request Dec 17, 2024
* feat: Members Query on Conversation List

Updates Group Members on conversation list to use Queries
Updates Group Avatar to remove old props
Updates Group members queries to use config pattern

* Safety on Component
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.

2 participants