Skip to content

refactor: Remove trpc/react dependency from @calcom/atoms#12

Open
tomerqodo wants to merge 8 commits into
codex_full_base_refactor_remove_trpc_react_dependency_from_calcom_atoms_pr12from
codex_full_head_refactor_remove_trpc_react_dependency_from_calcom_atoms_pr12
Open

refactor: Remove trpc/react dependency from @calcom/atoms#12
tomerqodo wants to merge 8 commits into
codex_full_base_refactor_remove_trpc_react_dependency_from_calcom_atoms_pr12from
codex_full_head_refactor_remove_trpc_react_dependency_from_calcom_atoms_pr12

Conversation

@tomerqodo

Copy link
Copy Markdown

Benchmark PR from agentic-review-benchmarks#12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1926c8e066

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +304 to 308
{teamMembers.map((member) => (
<TeamMemberItem key={member.value} member={member} onWeightChange={handleWeightChange} />
))}
{filteredMembers.length === 0 && (
{teamMembers.length === 0 && (
<div className="text-subtle py-4 text-center text-sm">{t("no_members_found")}</div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Render filtered list so search/selection still works

The component still computes filteredMembers (including searchQuery and assignAllTeamMembers filtering), but the render now maps over teamMembers directly. This makes the search box and the "assign all team members" filtering ineffective, and the "no_members_found" empty state can never appear for a non-empty team. This is a regression in the edit-weights UI when users search or when only a subset should be shown.

Useful? React with 👍 / 👎.

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