comparison libervia/web/pages/_browser/jid_search.py @ 1549:e47c24204449

browser (calls): update call to handle search, control buttons, and better UI/UX: - adapt to backend changes - UI and WebRTC parts are not separated - users can now be searched - add mute/fullscreen buttons - ring - cancellable dialog when a call is received - status of the call - animations - various UI/UX improvments rel 423
author Goffi <goffi@goffi.org>
date Wed, 09 Aug 2023 00:22:18 +0200
parents 66aa6e140ebb
children 5c4703870088
comparison
equal deleted inserted replaced
1548:66aa6e140ebb 1549:e47c24204449
51 self.filter_cb = filter_cb 51 self.filter_cb = filter_cb
52 52
53 self.empty_cb = empty_cb or self.on_empty_search 53 self.empty_cb = empty_cb or self.on_empty_search
54 54
55 current_search = search_elt.value.strip() or None 55 current_search = search_elt.value.strip() or None
56 if current_search is not None: 56 if not current_search:
57 self.empty_cb()
58 else:
57 aio.run(self.perform_search(current_search)) 59 aio.run(self.perform_search(current_search))
58 60
59 def default_get_url(self, item): 61 def default_get_url(self, item):
60 """Default method to get the URL for a given entity 62 """Default method to get the URL for a given entity
61 63