Improve display of Template and Workout names in Desktop and Mobile Views#1730
Improve display of Template and Workout names in Desktop and Mobile Views#1730
Conversation
WalkthroughModified the fitness entity list view to display full entity names instead of truncated versions using Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment Tip CodeRabbit can use your project's `biome` configuration to improve the quality of JS/TS/CSS/JSON code reviews.Add a configuration file to your project to customize how CodeRabbit runs |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/frontend/app/routes/_dashboard.fitness`.$entity.list.tsx:
- Around line 412-421: Remove the lineClamp={1} prop from the Anchor component
(the one with component={Link}, fz and to={$path(...)} and children
entityInformation.name) so the text can wrap normally; do not add extra styling
like whiteSpace or overflowWrap—simply delete the lineClamp prop and leave the
rest of the Anchor unchanged.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 9ef2058e-fd00-4554-ac80-87027e1acfc6
📒 Files selected for processing (1)
apps/frontend/app/routes/_dashboard.fitness.$entity.list.tsx
The changes enhance the visibility of Template and Workout names by removing truncation, allowing full names to be displayed in both Desktop and Mobile views. This addresses the issue of distinguishing between different Workouts and Templates, which was previously hindered by excessive truncation.
Fixes #1727
Summary by CodeRabbit