Skip to content

[FR-11-1] Add return and warranty fields with calculated deadline dis…#61

Merged
YousefEltobji merged 1 commit intodevelopmentfrom
Sprint-3/FR-11-1/YousefE
Apr 2, 2026
Merged

[FR-11-1] Add return and warranty fields with calculated deadline dis…#61
YousefEltobji merged 1 commit intodevelopmentfrom
Sprint-3/FR-11-1/YousefE

Conversation

@YousefEltobji
Copy link
Copy Markdown
Collaborator

…play

[FR-11-1] Add return and warranty fields with calculated deadline display

…play

[FR-11-1] Add return and warranty fields with calculated deadline display
@YousefEltobji YousefEltobji requested a review from Kotybamic April 2, 2026 01:53
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tracklet Ready Ready Preview, Comment Apr 2, 2026 1:53am

Comment thread tracklet-app/lib/items.ts
.select('id, name, store, purchase_date, category, price, created_at')
.select('id, name, store, purchase_date, category, price, receipt_url, return_policy_days, return_deadline, warranty_duration_months, warranty_expiration, created_at')
.order('created_at', { ascending: false });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Clean feature add, i like the auto-calculated deadlines from purchase date. One thing I noticed is the deadline calculation logic is the same between the create and update actions, so it might be worth putting them into a shared helper

@YousefEltobji YousefEltobji merged commit bb83807 into development Apr 2, 2026
2 of 3 checks passed
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