refactor: update order list item UI with icon-based review and age indicator#137
Conversation
WalkthroughThe code modifies the visual presentation of reviews and days in the order list item widget. It replaces the textual summary with a row of icons (person and calendar) and their respective values, and updates the empty star color to fully opaque amber for consistency. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant OrderListItemWidget
User->>OrderListItemWidget: Display order item
OrderListItemWidget->>OrderListItemWidget: Render star rating with opaque amber for empty stars
OrderListItemWidget->>OrderListItemWidget: Render Row with person icon + reviews, calendar icon + days old
OrderListItemWidget-->>User: Show updated visual layout
Assessment against linked issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ 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). (1)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed 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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
lib/features/home/widgets/order_list_item.dart(2 hunks)
⏰ 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). (1)
- GitHub Check: build
🔇 Additional comments (2)
lib/features/home/widgets/order_list_item.dart (2)
104-106: LGTM: Improved code readability.The multiline formatting of the
timeAgoWithLocalecall improves readability without changing functionality.
315-315: Verify visual impact of fully opaque empty stars.The change from semi-transparent (
starColor.withValues(alpha: 0.3)) to fully opaque (starColor) empty stars may reduce visual distinction between filled and empty stars, potentially affecting user experience.Please verify that the visual hierarchy remains clear and users can easily distinguish between filled and empty stars in the rating display.
Catrya
left a comment
There was a problem hiding this comment.
Hola @chebizarro pudieras poner los números de las calificaciones y el tiempo de uso del mismo tamaño y color que el número de estrellas?
Y separar un poquito más los iconos para que se identifiquen mejor
|
@Catrya qué te parece? |
Me gusta más en negrita, ¿pudieras probar poniendo los iconos de persona y almanaque en el color dorado como las estrellas sin rellenar? Crees que se vería mejor así? Tal vez se vea más integrado a la otra parte de la reputación, a las estrellas. |
@chebizarro Bueno creo que se ve mejor en el gris, no en amarillo. Gracias Chris, cuando puedas sí subelo con los cambios de texto en negrita |




Closes #136
Summary by CodeRabbit