Commit graph

35 commits

Author SHA1 Message Date
alistair3149 2257e64671
Attempt to fix the eslint error 2019-12-31 13:25:54 -05:00
alistair3149 540613bba1
Changed suggestion placeholder 2019-12-31 13:12:49 -05:00
Hannes dce4f9e328
Fix undef var 2019-12-31 12:44:24 +01:00
Hannes 3aa733f96d
Refactor typeahead
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages

Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149 40f5439b8d
Removed unused var 2019-12-30 23:31:39 -05:00
alistair3149 ffcc3ceab4
Decouple mw config from scripts 2019-12-30 23:29:10 -05:00
alistair3149 ec99af3143
Move getconfig out of api request 2019-12-30 19:45:24 -05:00
Hannes 5386e000b5
Fix eslint complaining about js files 2019-12-26 10:40:43 +01:00
alistair3149 72afb6928e
Attempt to supress some ESlint error #2 2019-12-26 03:29:18 -05:00
alistair3149 0d6959b50b
Attempt to supress some ESlint error 2019-12-26 03:25:56 -05:00
Hannes c1174c0ee5
Made code MW compliant 2019-12-26 00:24:31 +01:00
alistair3149 06d399ec3f Increased the number of search result from 6 to 10 2019-12-13 23:31:48 -05:00
alistair3149 462562c447 Add support for using description for search result 2019-12-13 01:21:16 -05:00
alistair3149 9d7d0ec5d0 Update to manifest 2 2019-12-12 21:25:37 -05:00
alistair3149 4956d6ab48 Add condition to check if there is no desc #2 2019-12-12 00:45:58 -05:00
alistair3149 61df983d18 Add condition to check if there is no desc 2019-12-12 00:35:37 -05:00
alistair3149 ea297d7967 Test global var 2019-12-11 23:01:14 -05:00
alistair3149 65a524d40c Use global var for search #2 2019-12-11 22:17:40 -05:00
alistair3149 adffa3620b Use global var for search 2019-12-11 22:12:12 -05:00
alistair3149 941614a0e1 Suggestions dark mode styles 2019-12-11 21:42:07 -05:00
alistair3149 3e7f7c9de3 Additional styles fix 2019-12-11 21:00:39 -05:00
alistair3149 676ff4e25c Enabled search description #2 2019-12-11 20:54:49 -05:00
alistair3149 0566166753 Enabled search descriptions 2019-12-11 20:48:43 -05:00
alistair3149 0c780cd470 Decouple skin settings from skin json to localsettings 2019-12-11 19:54:24 -05:00
alistair3149 00171d148e Added debug message #6 - IM CLOSE 2019-12-11 18:42:44 -05:00
alistair3149 2cab28f779 Added debug message #5 - even more needed sigh 2019-12-11 18:37:09 -05:00
alistair3149 c7ad600b8d Added debug message #4 2019-12-11 18:32:50 -05:00
alistair3149 7eef551c48 Added debug message #3 2019-12-11 18:28:26 -05:00
alistair3149 ab298decf0 Added debug message #2 2019-12-11 18:22:10 -05:00
alistair3149 144dbb685b Added debug message 2019-12-11 18:19:32 -05:00
alistair3149 743eab6d40 Remove description from API prop 2019-12-11 18:13:38 -05:00
alistair3149 540580f42a Updated script to use dev site as base 2019-12-11 17:51:13 -05:00
alistair3149 8a338df850 Added missing dependency 2019-12-11 17:41:41 -05:00
alistair3149 9443b22f35 Added missing dependency 2019-12-11 17:37:54 -05:00
alistair3149 34ff3660f3 Experimential search suggestions 2019-12-11 17:14:36 -05:00