Skip to content

Conversation

@m10x
Copy link
Contributor

@m10x m10x commented Mar 20, 2025

Add Creation Date and Status columns to Cookies table

Changes

  • Added "Creation Date" column showing the cookie creation date in YYYY-MM-DD format
  • Added "Status" column showing whether a cookie is "Active" or "Expired"
  • Added status filter dropdown with options "All", "Active", and "Expired"

Technical Details

  • Frontend:

    • Added new columns to the cookies table
    • Implemented formatDate method to convert Unix timestamps to YYYY-MM-DD format
    • Added isCookieExpired method to determine cookie status
    • Added status filter dropdown with proper styling
  • Backend:

    • Updated get_cookies method to handle status filtering
    • Added date handling for creation dates

Notes

  • Cookies without an expiration date are considered active
  • Creation dates are displayed in YYYY-MM-DD format
  • Status filter allows easy filtering of active and expired cookies
  • Serverside creation date filtering is currently not possible, because it is stored as unix timestamp. However clientside filtering would be possible

Screenshot

image

@zblurx
Copy link
Collaborator

zblurx commented Mar 24, 2025

Thank you for your PRs, testing ASAP :)

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