Add search sidebar functionality to search modal
I still need to style the sidebar items and the modal when it doesn't have content which I'll update in a following diff.
web:
native:
Differential D4061
[lib, web] [feat] [ENG-536] hook up sidebar data to search modal tomek on May 16 2022, 2:31 PM. Authored by Tags None Referenced Files
Details
Add search sidebar functionality to search modal I still need to style the sidebar items and the modal when it doesn't have content which I'll update in a following diff. web: native: Go to sidebar in web/ and native. Test functionality. Both should work as they did before. Web UI should be updated
Diff Detail
Event Timeline
Comment Actions After this diff, something is wrong with the design of the hook. We have two ways of updating the search text: by calling the hook with different text and by calling onChangeSearchText. Could you spend some time searching for a design which is easier to reason about? If there's none, please try to explain why do we need to have these complicated state transitions. Comment Actions The task from the title https://linear.app/comm/issue/ENG-536/sidebar-list-modal-re-style - is marked as done. If we decide to do something more about that issue, it would be probably easier to do it from scratch instead of figuring out how to make this stack solve the problem. |