Skip to content

feat: improve ranking task UI with layout options#3781

Open
stargazerwh wants to merge 2 commits intoLAION-AI:mainfrom
stargazerwh:fix/ranking-task-ui-improvements
Open

feat: improve ranking task UI with layout options#3781
stargazerwh wants to merge 2 commits intoLAION-AI:mainfrom
stargazerwh:fix/ranking-task-ui-improvements

Conversation

@stargazerwh
Copy link

Summary

This PR implements UI improvements for the ranking task as requested in #3020.

Changes

  1. Layout Toggle: Added switch to toggle between vertical and horizontal message display
  2. Content Limit Toggle: Added checkbox to remove message content limit (show full text)
  3. Messages Per Row Slider: Added slider (1-n) to control messages per row in horizontal mode
  4. Local Storage: All preferences are stored in local storage for persistence

Related Issue

Fixes #3020

Implements LAION-AI#3287

- Add new HideAllChatsButton component with confirmation dialog
- Integrate button into ChatListBase component
- Add translation strings for hide all functionality
- Allow users to hide all visible chats at once
- Hidden chats can still be found in 'Visible & hidden' view
- Add toggle between vertical and horizontal message display
- Add option to remove message content limit
- Add slider to control messages per row in horizontal mode (1-n)
- Store user preferences in local storage
- Update translations for new UI controls

Fixes LAION-AI#3020
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

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.

Ranking task UI improment

1 participant