Commit graph

75 commits

Author SHA1 Message Date
github-actions 2f600d28d9 Github CI lint - eslint/stylelint 2020-01-07 03:13:10 +00:00
alistair3149 773395448d
Clean up syntax of noresultindicator 2020-01-06 22:12:31 -05:00
github-actions b0d1e0ec7e Github CI lint - eslint/stylelint 2020-01-06 19:32:03 +00:00
github-actions dc495d9851 Github CI lint 2020-01-06 19:28:08 +00:00
alistair3149 ead527c6ec
Fixed undefined var 2020-01-01 16:43:08 -05:00
alistair3149 658084bb0d
Add option to choose description source for search suggestion 2020-01-01 16:38:10 -05:00
Hannes f90b653385
Add search string to no result card 2020-01-01 02:27:48 +01:00
alistair3149 fdd8b16160
Disable OOUI loading 2019-12-31 13:55:01 -05:00
alistair3149 12f6a69d09
Added missing doc 2019-12-31 13:46:11 -05:00
alistair3149 6f3a161433
Skeleton placeholder for search suggestion 2019-12-31 13:43:38 -05:00
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 e1b0132cb8
Fix .active Element sometimes being null 2019-12-30 15:53:22 +01: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
Hannes 6b3b4980dd
Remove jQuery
Refactored header.js
- Removed global vars
- Removed jQuery

'Should' behave the same like the old version. Some testing needed.
2019-12-26 00:23:38 +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 5713e89482 Fixed a stupid oversight 2019-12-11 18:48:36 -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 74a843f969 Remove language from typeahead query 2019-12-11 18:09:05 -05:00
alistair3149 1119a5f2f9 More dependencies 2019-12-11 18:03:38 -05:00
alistair3149 9cc5e4c574 Oops forgot to add the event 2019-12-11 17:57:07 -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