github sassanix/Warracker 0.9.9.0
0.9.9.0-beta

latest releases: 0.10.1.11, 0.10.1.10, 0.10.1.9...
5 months ago

Fixed

  • Tag Management: Resolved issues with adding and deleting tags.
    • Backend: Added the missing DELETE /api/tags/<tag_id> API endpoint (backend/app.py) to handle tag deletion requests, including removing associations from the warranty_tags table.
    • Frontend: Corrected the deleteTag function (frontend/script.js) to use the DELETE method and the correct API endpoint.
    • Frontend: Improved UI feedback for tag operations:
      • The tag list in the "Manage Tags" modal now updates immediately after adding or deleting a tag (renderExistingTags).
      • The tag input fields in the modal are cleared after successfully adding a tag.
      • The tag filter dropdown on the main page updates after adding or deleting tags (populateTagFilter).
      • Selected tags display in the add/edit warranty forms update correctly after a tag is deleted (renderSelectedTags, renderEditSelectedTags).
      • Added loading spinners and improved toast notifications/error messages for tag creation and deletion.

Added

  • Lifetime Warranty Support
    • Added lifetime warranty option for both new and existing warranties
    • Implemented database migration to add is_lifetime column to warranties table
    • Added lifetime warranty checkbox in add/edit warranty forms
    • Modified warranty display to show "Lifetime" instead of expiration date for lifetime warranties
    • Enhanced warranty status handling to properly manage lifetime warranties
    • Updated statistics and expiring notifications to exclude lifetime warranties
    • Added dynamic form behaviour to hide warranty years input when lifetime is selected

Changed

  • Backend API
    • Modified warranty-related endpoints to handle lifetime warranty flag
    • Updated warranty validation to make warranty years optional for lifetime warranties
    • Enhanced warranty processing to handle lifetime warranties differently in statistics
    • Modified expiring warranty notifications to exclude lifetime warranties
    • Updated warranty retrieval to properly sort and display lifetime warranties

UI/UX Improvements

  • Added visual indicators for lifetime warranty status in all view modes (grid, list, table)
  • Enhanced form validation to handle lifetime warranty scenarios
  • Updated warranty summary view to clearly display lifetime warranty status
  • Improved warranty filtering to properly handle lifetime warranties
  • Corrected an issue where elements in Dark Mode had sharp corners instead of rounded ones like in Light Mode. Added the missing --border-radius: 8px; CSS variable to the :root[data-theme="dark"] definition in frontend/style.css.

Screenshots

image

image

image

Don't miss a new Warracker release

NewReleases is sending notifications on new releases.