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

feat: start storing date_created and date_modified #745

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

simjeehza
Copy link

@simjeehza simjeehza commented Jan 29, 2025

This PR adds population of date_created and date_modified for entries and updates date_modified on refresh_dir. Updating date_created was skipped since file replacement or recreation is rare and can be treated as modification.

Note: This does not include sorting, only attribute implementation.

@CyanVoxel CyanVoxel added Type: Enhancement New feature or request Type: QoL A quality of life (QoL) enhancement or suggestion Priority: High An important issue requiring attention TagStudio: Search The TagStudio search engine labels Jan 29, 2025
@CyanVoxel
Copy link
Member

Hey, is this still something you're interested in and able to work on? If not that's okay, it's just something that we'd like to get in the program soon and there are some others interested in working on this if you're unable to

@simjeehza
Copy link
Author

Hey Cyan, apologies for the delay I've had a lot of issues with git recently, this pull request doesn't even show up on my fork. Finally fixed it so i can commit and push the changes soon. Just an update on where I'm at, refresh_dir now populates the library with date_created and date_modified values, sort options for both are usable.

feat: implement sorting by creation and modification date
fix: resolve git merge conflicts and push issues
fix: correct typos in comments and code
@simjeehza
Copy link
Author

Partial solutions for issues #207 and #68.

@simjeehza simjeehza marked this pull request as ready for review March 21, 2025 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High An important issue requiring attention TagStudio: Search The TagStudio search engine Type: Enhancement New feature or request Type: QoL A quality of life (QoL) enhancement or suggestion
Projects
Status: 🚧 In progress
Development

Successfully merging this pull request may close these issues.

2 participants