Skip to content

fix(search): move Directories column to the end - #142

Merged
got3nks merged 1 commit into
amule-org:masterfrom
got3nks:fix/search-cols-directory-last
Jun 13, 2026
Merged

fix(search): move Directories column to the end#142
got3nks merged 1 commit into
amule-org:masterfrom
got3nks:fix/search-cols-directory-last

Conversation

@got3nks

@got3nks got3nks commented Jun 13, 2026

Copy link
Copy Markdown

Summary

Follow-up to #139 / #136. @danim7 noted that the Directories column is almost always empty (only populated when a result came from a "view shared files" request against another peer, which is rare on today's network). Sitting between Status and the also-usually-empty Length / Bitrate / Codec columns it adds a wide visual gap to the typical layout.

Fix

Move Directories to the very end of the column order so all the rarely-populated columns cluster on the right edge.

Column persistence is name-based — keys are N, Z, u, Y, I, S, L, B, C, D — so existing users' saved widths and visibility for Directories transfer cleanly to the new position. No migration shim needed.

Test plan

  • macOS arm64 build clean; column order in a live search is now Name / Size / Sources / Type / FileID / Status / Length / Bitrate / Codec / Directories.
  • CI build matrix.

danim7 in amule-project#136: the Directories column is almost always empty in
practice — it's only populated when a result came from a "view shared
files" request against another peer, which is rare on today's network.
Sitting between Status and the (often-empty) Length / Bitrate / Codec
columns it adds a wide visual gap to the typical layout.

Move it to the very end so all the rarely-populated columns cluster on
the right edge of the list. Column persistence keys are name-based
(N, Z, u, Y, I, S, L, B, C, D), so existing users' saved widths and
visibility for Directories transfer cleanly to the new position.
@got3nks
got3nks merged commit 4c11006 into amule-org:master Jun 13, 2026
10 checks passed
@got3nks
got3nks deleted the fix/search-cols-directory-last branch June 13, 2026 10:02
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.

1 participant