Skip to content

feat: drive sorting integration(WPB-25179)#21707

Open
arjita-mitra wants to merge 5 commits into
devfrom
feat/drive-sorting-integration-WPB-25179
Open

feat: drive sorting integration(WPB-25179)#21707
arjita-mitra wants to merge 5 commits into
devfrom
feat/drive-sorting-integration-WPB-25179

Conversation

@arjita-mitra

@arjita-mitra arjita-mitra commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
TaskWPB-25179 [Web] Sorting of all columns

Sorting of all columns

Sort persistence —

Sort selected in browse view → carry into search view of same conversation? Vice versa?

Sort selected in Conversation A's browse → carry to Conversation B?

Sort selected in Shared Drive → carry to global Drive (and back)?

based on our last discussions with @olga Anna Skoczylas we reset in all 3

Rule of thumb: user-applied sort always wins. Default is mtime/desc whenever content is being actively searched/filtered. Default is BE natural (folders-first) when the view is in a passive/browse state (browse mode, or search open but nothing entered).

@arjita-mitra arjita-mitra changed the title Feat/drive sorting integration wpb 25179 feat: drive sorting integration(WPB-25179) Jul 1, 2026
Expose the stable setSort state setter from useCellsSorting and use it to reset
conversation sort on view, conversation, and hash changes.

This avoids recreating a reset callback on each render, which was causing the
reset effect to run after sorting and fire a second default request.
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@arjita-mitra arjita-mitra marked this pull request as ready for review July 3, 2026 12:53
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