Skip to content

Fix hidden model filtering and alphabetical ordering - #546

Open
utsinboots wants to merge 1 commit into
EAPD-DRB:mainfrom
utsinboots:fix/541-sort-model-list
Open

utsinboots wants to merge 1 commit into
EAPD-DRB:mainfrom
utsinboots:fix/541-sort-model-list

Conversation

@utsinboots

@utsinboots utsinboots commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • What changed: Added a helper to exclude hidden folders using the Windows Hidden attribute FILE_ATTRIBUTE_HIDDEN, the macOS hidden flag UF_HIDDEN and dot-prefixed names ., or dot-prefixed names on Linux. Model names are sorted alphabetically, ignoring capitalization, and the list refreshes after copying or uploading a model.
  • Why: Prevent hidden folders from appearing as models and make models easier to find.

Linked issue (if applicable)

Validation

  • Tests added/updated (or not applicable)
  • Manual verification steps documented, with evidence where relevant
    -Verified alphabetical ordering on Windows.
    -Marked a temporary model folder as Hidden and confirmed it disappeared after refreshing Home.
    -Removed the Hidden attribute and confirmed the model reappeared.

Checklist

  • Change is scoped — no unrelated refactors
  • Branched from main; PR targets EAPD-DRB/MUIOGO:main
  • Docs updated for any setup, workflow, or architecture change

@utsinboots
utsinboots requested a review from autibet September 10, 2026 18:57
@utsinboots utsinboots self-assigned this Sep 10, 2026
@utsinboots

utsinboots commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator Author

@autibet Review requested. This PR is built on the latest main commit a875cdc. gh pr checkout 546

@utsinboots utsinboots added the enhancement New feature or request label Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task] List models in alphabetical order

1 participant