Skip to content

feat(webserver): improve search page controls in default template - #215

Merged
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:feature/issues15
Jun 20, 2026
Merged

feat(webserver): improve search page controls in default template#215
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:feature/issues15

Conversation

@ngosang

@ngosang ngosang commented Jun 20, 2026

Copy link
Copy Markdown
Member

Rework the user-facing controls on the search page:

  • Move the Download button and target-category selector above the results table so they stay reachable with many results, and add a spacer row separating them from the table header.
  • Rename the download target-category 'all' label from 'All categories' to 'No category'.
  • Replace the 'Click here to update the search results' text link with an 'Update results' button matching the native style of the Download button.
  • Simplify sort handling to a single 'sort' query param: column headers use ?sort= and toggle direction, while 'Update results' just reloads the page and the current order is preserved via the session without flipping. Drops the redundant 'search_sort' param. The sort key stays whitelisted against the keys my_cmp() understands (fix(gui): let the socket layer through, and guard the views it drives #869).

Rework the user-facing controls on the search page:

- Move the Download button and target-category selector above the
  results table so they stay reachable with many results, and add a
  spacer row separating them from the table header.
- Rename the download target-category 'all' label from 'All categories'
  to 'No category'.
- Replace the 'Click here to update the search results' text link with
  an 'Update results' button matching the native style of the Download
  button.
- Simplify sort handling to a single 'sort' query param: column headers
  use ?sort=<key> and toggle direction, while 'Update results' just
  reloads the page and the current order is preserved via the session
  without flipping. Drops the redundant 'search_sort' param. The sort
  key stays whitelisted against the keys my_cmp() understands (amule-project#869).
@ngosang
ngosang merged commit 8933ee5 into amule-org:master Jun 20, 2026
1 check passed
@ngosang
ngosang deleted the feature/issues15 branch June 20, 2026 17:57
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