Skip to content

File sorting#1285

Closed
n1LS wants to merge 11 commits intoxiphonics:masterfrom
n1LS:file-sorting
Closed

File sorting#1285
n1LS wants to merge 11 commits intoxiphonics:masterfrom
n1LS:file-sorting

Conversation

@n1LS
Copy link
Copy Markdown
Contributor

@n1LS n1LS commented Feb 20, 2026

Based on #1283, this implements #1274

@maks maks added this to the 2.4 milestone Mar 12, 2026
@maks
Copy link
Copy Markdown
Collaborator

maks commented Mar 20, 2026

@n1LS this has bit rotted alot and needs alot of conflict resolution.
Because this is less controversial than #1283 it would be good if you just implement the file sorting first even if it requires using extra ram and then we look at optimising ram usage per #1283 afterwards

@n1LS
Copy link
Copy Markdown
Contributor Author

n1LS commented Mar 20, 2026

@maks Done.

Comment thread sources/Application/Views/BaseClasses/UIIntField.h Outdated
Comment thread sources/Adapters/picoTracker/filesystem/picoTrackerFileSystem.cpp Outdated
@maks maks self-requested a review April 9, 2026 02:40
Copy link
Copy Markdown
Collaborator

@maks maks left a comment

Choose a reason for hiding this comment

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

@n1LS Apart from specific code feedback the biggest problem with this PR is that it nor its preceeding PR #1274 had no matching issue where the required functionality and performance was discussed and agreed upon. Because of that I will be closing this PR and the prior draft, either can either be reopened or a new one done in the future only once a matching issue is ready for implementation.

const char *filter, bool subDirOnly,
bool includeHidden) {
const char *filter, ListFlags flags) {
bool subDirOnly = flags & LF_SUBDIRS_ONLY;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@n1LS no the point from my previous feedback was not to consolidate the bool params, my point is that we dont want to change the interface of list. If that requires adding a new listSorted() then please do that.

@maks maks closed this Apr 9, 2026
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