kdeconnect-kde/smsapp/qml
Simon Redman 5b213e6144 [SMS App] Improve filter
Summary:
- Allow filter box to handle keystrokes passed to the ListView
 - This is a little cheesy, but fixes T8341

- Pin filter box to always be visible

- Clear filter on Esc

Test Plan:
- Try typing a contact you would like to search for
 - Before: Every time you type a new letter, the filter box would lose focus and you would have to click it to give it focus again
 - Now: You can type smoothly

- Try scrolling the list
 - Before: The filter box disappeared off the top of the screen
 - Now: The filter box is always visible

- Try pressing escape
 - Before: Nothing
 - Now: Filter clears

- Bonus: When using the arrow keys to navigate, before the filter was manually handling those and the view would not loop. Now, the view loops if you try to select an item past the beginning or end (Easiest to see with highlighting from D17612)

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Maniphest Tasks: T8341

Differential Revision: https://phabricator.kde.org/D17614
2018-12-17 09:25:56 -07:00
..
ChatMessage.qml [SMS App] Don't set font size, which causes warnings to be printed 2018-11-10 09:44:45 -07:00
ConversationDisplay.qml Add contributors to smsapp QML files 2018-12-15 17:26:44 -07:00
ConversationList.qml [SMS App] Improve filter 2018-12-17 09:25:56 -07:00
main.qml Add contributors to smsapp QML files 2018-12-15 17:26:44 -07:00
RoundImage.qml Replaces tabs with spaces (properly) 2018-10-30 14:03:16 -06:00