Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #13: Sort Items by Purchase Urgency #30

Merged
merged 8 commits into from
Sep 21, 2024
Merged

Commits on Sep 16, 2024

  1. feat(#13): implement sort list by purchase history

    export function comparePurchaseUrgency
    
    dates.js: update param name and logic to handle future and past dates
    
    List.jsx: import comparePurchaseUrgency
    dterceroparker committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    bdec39e View commit details
    Browse the repository at this point in the history
  2. fix: update comparePurchase urgency function to handle overdue dates

    filter shopping list to separate out past purchase dates and pending purchase dates into two lists
    
    append the lists to eachother so overdue dates come first
    NickRoccodev11 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    69d35e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. fix(#13): refactor comparePurchaseUrgency to categorize and sort shop…

    …ping list items based on urgency
    
    Categories are: inactive, overdue, and future.
    
    Overdue items appear first, followed by future dates, and finally inactive items.
    NickRoccodev11 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    86518ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1161bc4 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. fix: rename getDaysBetweenDates to calculateDaysDifferenceFromNow, re…

    …locate comparePurchaseUrgency to dates.jsx
    NickRoccodev11 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    e097d2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6307f89 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Configuration menu
    Copy the full SHA
    7835574 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8279ed4 View commit details
    Browse the repository at this point in the history