Page MenuHomePhabricator

[web] Add message search modal
ClosedPublic

Authored by inka on Jun 16 2023, 6:12 AM.
Tags
None
Referenced Files
F1669490: D8240.id28152.diff
Sat, Apr 27, 10:32 AM
F1669487: D8240.id27879.diff
Sat, Apr 27, 10:32 AM
F1669486: D8240.id28001.diff
Sat, Apr 27, 10:32 AM
F1669484: D8240.id27837.diff
Sat, Apr 27, 10:32 AM
F1669473: D8240.id.diff
Sat, Apr 27, 10:31 AM
F1669460: D8240.diff
Sat, Apr 27, 10:18 AM
Unknown Object (File)
Mar 28 2024, 6:17 AM
Unknown Object (File)
Mar 28 2024, 6:17 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
Lint Not Applicable
Unit
Tests Not Applicable

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.