Repository navigation
Conversation
… item RSVP Questions and Edit both used the Pencil icon in the event actions dropdown, making them visually indistinguishable. Replace the RSVP Questions item with ClipboardList for clear semantic differentiation. Co-Authored-By: AgenticDiego <noreply@carvallo.io>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…atter Co-Authored-By: AgenticDiego <noreply@carvallo.io>
Contributor
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 TLDR
Replace the duplicate
Pencilicon on the "RSVP Questions" item in the event card actions dropdown with a semantically correctClipboardListicon.📝 Description
In the event card dropdown menu, both "RSVP Questions" and "Edit" used the identical
Pencilicon — making them visually indistinguishable at a glance. Users relying on icons to scan menus (a common pattern) had no way to tell the two actions apart without reading the labels.This Change
ClipboardListfromlucide-reactalongside the existing importsPencilicon on the "RSVP Questions" dropdown item withClipboardListPencil(correct semantic — editing event details)Trash2(correct semantic)ClipboardListclearly communicates "a form / list of questions" which matches the RSVP Questions dialog it opensDaily Product Improvement
Summary
Replaced duplicate
Pencilicon on the "RSVP Questions" dropdown item inEventCardwithClipboardListso the two actions — "RSVP Questions" and "Edit" — are visually distinct.Recommendations Reviewed
Area:
src/app/(authenicated)/events/_components/event-card.tsxIssue: "RSVP Questions" and "Edit" both use the
Pencilicon in the actions dropdown, making them visually indistinguishableRecommendation: Replace "RSVP Questions" icon with
ClipboardListType: UX/UI
Priority: Medium
Effort: Small
Area:
src/app/(authenicated)/events/_components/events-page-client.tsxIssue:
sortedEventsis computed inline in the render body withoutuseMemoRecommendation: Wrap with
useMemo([events])to avoid unnecessary re-sortsType: Frontend cleanup
Priority: Low
Effort: Small
Area:
src/app/(authenicated)/events/_components/events-page-client.tsxIssue: Client-side loading branch (
if (isLoading && initialEvents.length === 0)) is dead code —isLoadingis alwaysfalsewheninitialDatais provided in react-query v5Recommendation: Remove the unreachable branch
Type: Frontend cleanup
Priority: Low
Effort: Small
Area:
src/components/guest-list/guests-view.tsxIssue: 999-line component handles sorting, filtering, deletion, RSVP editing, household management, and multiple view modes — hard to maintain and test
Recommendation: Split into focused sub-components and custom hooks
Type: Frontend cleanup
Priority: Medium
Effort: Large
Area:
src/app/layout.tsxIssue: Two toast systems mounted simultaneously:
sonnerToaster and shadcn Radix Toaster, producing inconsistent notification stacksRecommendation: Standardise on
sonnerand remove the shadcn ToasterType: Frontend cleanup
Priority: Medium
Effort: Medium
Area:
src/server/domains/wedding/Issue: Data model hardcodes
brideFirstName/groomFirstName, excluding same-sex and non-binary couplesRecommendation: Migrate to neutral
partner1FirstName/partner2FirstNameand update Settings UI labelsType: Product flow
Priority: High
Effort: Large
Area:
src/app/old_dashboard/,src/components/old_dashboard/Issue: Legacy dashboard is still accessible at
/old_dashboard, uses the old@/import alias and AWS S3 storage — dead code that confuses contributorsRecommendation: Remove both directories after confirming no active references
Type: Frontend cleanup
Priority: Medium
Effort: Medium
Selected Improvement
Fix duplicate
Pencilicon in the EventCard actions dropdown — replace withClipboardListfor the "RSVP Questions" item.Why This Was Selected
Both actions in the dropdown used identical icons, making the menu impossible to scan without reading labels. This is a common UX affordance — icons should be meaningfully distinct. The fix is two lines, zero risk, and immediately improves clarity for every user of the Events page.
Changes Made
ClipboardListto thelucide-reactimport inevent-card.tsx<Pencil>with<ClipboardList>on the "RSVP Questions"DropdownMenuItemFiles Changed
src/app/(authenicated)/events/_components/event-card.tsxVerification
ClipboardListis a standard, stable lucide-react export used consistently elsewhere in the codebaseFuture Recommendations
Recommendation: Extract
sortedEventsintouseMemoinevents-page-client.tsxPriority: Low | Effort: Small | Reason not included: Minimal practical impact with a typical number of events; separate, unrelated change | Should become GitHub issue: No
Recommendation: Remove dead client-side loading branch in
events-page-client.tsxPriority: Low | Effort: Small | Reason not included: Dead code cleanup is safe but out of scope for a UX-focused daily run | Should become GitHub issue: No
Recommendation: Split
guests-view.tsx(999 lines) into focused sub-components and hooksPriority: Medium | Effort: Large | Reason not included: Large refactor requiring thorough testing of all guest list interactions | Should become GitHub issue: Yes
Recommendation: Consolidate to a single toast system (
sonneronly, remove shadcn Toaster)Priority: Medium | Effort: Medium | Reason not included: Requires auditing all
useToastcall sites; cross-cutting change | Should become GitHub issue: NoRecommendation: Migrate wedding partner data model from gendered fields to neutral names
Priority: High | Effort: Large | Reason not included: Requires a Prisma schema migration, data backfill, and Settings UI update; needs product input | Should become GitHub issue: Yes
Recommendation: Remove
src/app/old_dashboard/andsrc/components/old_dashboard/dead codePriority: Medium | Effort: Medium | Reason not included: Needs confirmation of zero references before deletion | Should become GitHub issue: No
GitHub Issues Created or Proposed
Two issues are warranted for follow-up:
Generated by Claude Code