miruka
e7f769b344
HTextArea: consider preeditText for getWordAt()
...
`preeditText` is partial input from IME and touchscreen
autocompleting keyboards, consider it together with `text` for the
`getWordAt()` function.
This should allow user autocompletion to work properly in these
specific conditions.
2020-08-22 01:47:53 -04:00
miruka
eadc4bb317
Remove unused function inside UserAutoCompletion
2020-08-22 01:44:41 -04:00
miruka
bc3d6d902f
Fix @autocomplete closing after one character
...
Typing e.g. "@a" would work, but "@ab" would always instantly close
the autocompletion UI if the cursor was at the end of the text area.
2020-08-22 01:23:44 -04:00
miruka
12c47476fc
Add theme properties for autocompletion UI
2020-08-21 12:10:22 -04:00
miruka
044060d1c0
Color name when highlighting member delegates
2020-08-21 12:10:22 -04:00
miruka
010675001c
Add bottom margin to autocompletion UI
2020-08-21 12:10:22 -04:00
miruka
6f37ce3519
Fix completing in the middle of a name with spaces
2020-08-21 12:10:22 -04:00
miruka
bea1d60621
Fix autocompletion for users without display name
2020-08-21 12:10:22 -04:00
miruka
cd81c94ce8
Fix autocompletion for display names with spaces
2020-08-21 12:10:22 -04:00
miruka
9dc9a5e70f
Clip the autocompletion UI
2020-08-21 12:10:21 -04:00
miruka
9b3d01b9a8
ServerDelegate: add ping icon tooltips
2020-08-21 12:10:21 -04:00
miruka
93b73b86bb
Add a "table header" to server browser
2020-08-21 12:10:21 -04:00
miruka
6160deace5
Improve ServerBrowser text wording
2020-08-21 12:10:21 -04:00
miruka
85f4620b3b
Equalize "Homeserver address" label padding
2020-08-21 12:10:21 -04:00
miruka
339341da68
Disable new scrollbar auto-show behavior for now
...
There are still some usability issues to fix with it
2020-08-21 12:10:18 -04:00
miruka
b79b032184
Better delegate for completable users
2020-08-21 09:27:01 -04:00
miruka
6dcc244998
Move UserAutoCompletion outside of Composer
2020-08-21 05:50:37 -04:00
miruka
4ea3a7d52a
Remove HFlickable leftover debug print
2020-08-21 05:33:59 -04:00
miruka
bd01d9edd0
Fix segfault when leaving loading server list page
2020-08-21 05:18:08 -04:00
miruka
6ba6202771
Fix clicking on server in server browser
2020-08-21 05:10:32 -04:00
miruka
2ccb28fa49
Box/popups: ignore enter press on disabled buttons
2020-08-21 05:08:12 -04:00
miruka
8fbe59f6eb
Fix cursorShape over fields inside a HFlickable
...
Bug introduced in 6b907, made the cursor stay as a normal arrow when
hovering text fields/areas inside a HFlickable due to the
HKineticScrollingDisabler's width/height being incorrectly set.
2020-08-21 04:58:58 -04:00
miruka
43b14f3129
Make autocompletion work not just at end of line
2020-08-21 04:44:55 -04:00
miruka
1b919ec7be
Cursor moves before last word: close completion UI
2020-08-21 01:46:07 -04:00
miruka
063f9d2b1d
Only mention tab-completed usernames
2020-08-21 01:21:51 -04:00
miruka
5ba669444d
Add basic user autocompletion UI
2020-08-21 01:21:10 -04:00
miruka
ec17d54923
ServerDelegate: ignore compact mode
2020-08-21 01:19:18 -04:00
miruka
cc06645275
Add spinner when fetching homeservers list
2020-08-21 01:19:18 -04:00
miruka
4f1b007e6f
Add some top/bottom padding to account bar
2020-08-21 01:19:18 -04:00
miruka
ede99b310e
Fix login box tab shortcuts
2020-08-21 01:19:18 -04:00
miruka
3c79ffbf21
Don't show register/reset tabs on sso login box
2020-08-21 01:19:18 -04:00
miruka
e303ee1fc9
SignInSso: return to server list on Cancel click
2020-08-21 01:19:18 -04:00
miruka
5ac5dbd1d5
Add usual FlickShortcuts to server browser
2020-08-21 01:19:18 -04:00
miruka
21fbe7a96b
Show scrollbars for a few seconds at first
...
Lets the user know that there's content to scroll.
2020-08-21 01:19:18 -04:00
miruka
2f1889423b
Room & member filter fields: support (shift+)tab
2020-08-21 01:19:17 -04:00
miruka
007a11b4aa
Change "go to homeserver address" icon
2020-08-21 01:19:17 -04:00
miruka
d945bed0a3
Increase "Homeserver address" text bottom padding
2020-08-21 01:19:17 -04:00
miruka
d3092c4929
Clear server list highlight when field text edited
2020-08-21 01:19:17 -04:00
miruka
c51a771a65
Add colored border to HListView highlight delegate
2020-08-21 01:19:17 -04:00
miruka
ab390704eb
Use homeserver URL field also as a filter field
2020-08-19 04:39:50 -04:00
miruka
16970d5e56
Auto-detect homeserver scheme://
2020-08-19 02:14:46 -04:00
miruka
2fa8b2c5f9
Add a public server list to the initial login page
2020-08-19 01:13:34 -04:00
miruka
1a6273681d
Fix HMenuItemPopupSpawner
2020-08-19 00:16:42 -04:00
miruka
21fe4b7bd1
Add spacing between MemberDelegate name-last seen
2020-08-16 16:17:22 -04:00
miruka
cc7c0ad336
Add theme property to Utils
...
Gets set to the window.theme when a theme is loaded, done to avoid
having to refer to the window object from utils.
2020-08-03 01:29:37 -04:00
miruka
a389238024
Add window.makePopup(), utils.makePopup() wrapper
2020-08-03 01:26:35 -04:00
miruka
c813e92ac7
Move hideErrorTypes & showError() to PythonBridge
2020-08-03 01:19:08 -04:00
miruka
040e966d27
Remove utils.sendFile(), useless wrapper
2020-08-03 01:05:19 -04:00
miruka
865d6b8bc8
ServerBrowser: strip trailing slashes from URL
2020-07-27 16:40:04 -04:00
miruka
db5d9b57f8
RoomDelegate subtitle: lazy-fetch missing profiles
2020-07-27 04:32:00 -04:00