Skip to content

feat: add ability to configure automatic loading of new files over 10000#1349

Open
socalledtheraven wants to merge 5 commits intoTagStudioDev:mainfrom
socalledtheraven:main
Open

feat: add ability to configure automatic loading of new files over 10000#1349
socalledtheraven wants to merge 5 commits intoTagStudioDev:mainfrom
socalledtheraven:main

Conversation

@socalledtheraven
Copy link
Copy Markdown

Summary

Added an option to reenable the ability to automatically load new files added to the library when over 10,000 are already present.

resolves #1348

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added Type: Enhancement New feature or request Status: Review Needed A review of this is needed labels May 8, 2026
@CyanVoxel CyanVoxel moved this to 🏓 Ready for Review in TagStudio Development May 8, 2026
@CyanVoxel CyanVoxel added this to the Alpha v9.6.0 milestone May 8, 2026
@CyanVoxel CyanVoxel added the TagStudio: Library Relating to the TagStudio library system label May 8, 2026
Copy link
Copy Markdown
Member

@CyanVoxel CyanVoxel left a comment

Choose a reason for hiding this comment

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

Note: You can ignore the current MyPy error as that's an issue with an unrelated library that pushed a breaking change and has already been resolved on the main branch.

Thank you for your work on this pull request!

Overall things look good, I just have a few comments that largely revolve around the suggestion to use the terminology "scan_files_on_open" instead of "autoload_new_files"/"auto_load_new_files" as it's more descriptive and consistent with the existing terminology in the program.

Comment thread src/tagstudio/qt/mixed/settings_panel.py Outdated
Comment thread src/tagstudio/qt/mixed/settings_panel.py Outdated
Comment thread src/tagstudio/qt/mixed/settings_panel.py Outdated
Comment thread src/tagstudio/qt/global_settings.py Outdated
Comment thread src/tagstudio/qt/ts_qt.py Outdated
Comment thread src/tagstudio/resources/translations/en.json Outdated
socalledtheraven and others added 4 commits May 9, 2026 00:59
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
@socalledtheraven
Copy link
Copy Markdown
Author

Changes made!

Copy link
Copy Markdown
Member

@CyanVoxel CyanVoxel left a comment

Choose a reason for hiding this comment

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

Awesome!! Thank you so much for the quick changes!

Comment thread src/tagstudio/qt/ts_qt.py
# TODO - make this call optional
if self.lib.entries_count < 10000:
if self.settings.scan_files_on_open:
self.add_new_files_callback()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Accidentally duplicated line ;)

Suggested change
self.add_new_files_callback()

@CyanVoxel CyanVoxel removed the Status: Review Needed A review of this is needed label May 9, 2026
@CyanVoxel CyanVoxel moved this from 🏓 Ready for Review to 🍃 Pending Merge in TagStudio Development May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TagStudio: Library Relating to the TagStudio library system Type: Enhancement New feature or request

Projects

Status: 🍃 Pending Merge

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Allow automatically adding new files after the 10000th

2 participants