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)
Sat, Dec 14, 5:10 PM
Unknown Object (File)
Sat, Dec 14, 5:10 PM
Unknown Object (File)
Sat, Dec 14, 5:10 PM
Unknown Object (File)
Sat, Dec 14, 5:10 PM
Unknown Object (File)
Sat, Dec 14, 5:09 PM
Unknown Object (File)
Sat, Dec 14, 5:04 PM
Unknown Object (File)
Sat, Dec 14, 7:09 AM
Unknown Object (File)
Sat, Dec 14, 7:09 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.