Page MenuHomePhabricator

[web] Add message search modal
ClosedPublic

Authored by inka on Jun 16 2023, 6:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 4:41 AM
Unknown Object (File)
Sat, Nov 9, 4:19 AM
Unknown Object (File)
Fri, Nov 8, 6:38 AM
Unknown Object (File)
Thu, Nov 7, 11:49 PM
Unknown Object (File)
Thu, Nov 7, 2:52 PM
Unknown Object (File)
Fri, Nov 1, 5:34 AM
Unknown Object (File)
Oct 5 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 9:25 AM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-3462/add-modal-for-searching-messages
For now the server is called after every key press, this will be changed in the future. Some elements like the "search" button and the footers are not yet implemented. For now the query is not stored
anywhere

Test Plan

opened the modal and checked that it works - typed in query is sent to the server and the results show up. Checked that when the user scrolls to the bottom new messages are fetched.

I checked that all tooltip actions work

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka requested review of this revision.Jun 16 2023, 6:30 AM
web/modals/search/message-search-modal.css
3 ↗(On Diff #27837)

We can use a shorter version here.

web/modals/search/message-search-modal.react.js
148 ↗(On Diff #27837)

Probably you forgot to remove it.

web/modals/search/message-search-modal.react.js
109–117 ↗(On Diff #27837)

Shorthand

This revision is now accepted and ready to land.Jun 19 2023, 9:15 AM
This revision was automatically updated to reflect the committed changes.