Skip to content

List number of items rather than number of files.#262

Merged
gjwgit merged 3 commits intodevfrom
gjw/files_to_items_in_file_browser
Apr 2, 2026
Merged

List number of items rather than number of files.#262
gjwgit merged 3 commits intodevfrom
gjw/files_to_items_in_file_browser

Conversation

@gjwgit
Copy link
Copy Markdown
Contributor

@gjwgit gjwgit commented Mar 31, 2026

Currently the listing in FileBrowser() shows only the number of files in a folder. It does not count the number of folders as well. Instead list the total number of files/folders in a folder. This way I won't think the folder is empty if it just contains folders

@gjwgit gjwgit requested a review from tonypioneer March 31, 2026 04:15
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not directly related to this PR but utilised in working with Claude.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not directly related to this PR but utilised in working with Claude.

Copy link
Copy Markdown
Collaborator

@tonypioneer tonypioneer left a comment

Choose a reason for hiding this comment

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

Thanks @gjwgit. I reviewed the code and did a round of test. I think we can replace the number of files of the top right of the title bar with the number of items as well.

Image

@tonypioneer tonypioneer self-requested a review April 2, 2026 00:33
Copy link
Copy Markdown
Collaborator

@tonypioneer tonypioneer left a comment

Choose a reason for hiding this comment

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

All looks good to me. Thank you very much @gjwgit.

@tonypioneer
Copy link
Copy Markdown
Collaborator

image

@gjwgit gjwgit merged commit e039d94 into dev Apr 2, 2026
20 checks passed
@gjwgit gjwgit deleted the gjw/files_to_items_in_file_browser branch April 2, 2026 00:52
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